Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AttributesValues
HTTP MethodGET
Request URI/versionsrevisions?path={path of the resource}&start={ start page }&size={ number of records }
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
DescriptionGet revision paths of the resource
Response Typeapplication/json
ResponseHTTP 200 OK

...

AttributesValues
HTTP MethodGET
Request URI/versionrevision?path={path of the resource}&id={revision number}
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
idRevision id of the resource
DescriptionGet the resouece resource for a given revision
Response Typeapplication/octet-stream
ResponseHTTP 200 OK

Create Revision of a  Resource.

AttributesValues
HTTP MethodPOST
Request URI/revision?path={path of the resource}
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
Response Typeapplication/octet-stream
ResponseHTTP 204 No Content.

Delete Revision of a Resource.

AttributesValues
HTTP methodDELETE
Request URI/versionrevision?path={path of the resource}&id={revision number}
idRevision id of the resource
DescriptionDelete the given revision of the resource
Response Typeapplication/json
ResponseHTTP 204 No Content.

...