Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

AttributesValues
HTTP MethodGET
Request URI/artifact{ resource path }
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
Description                       Content of the requested resource
ResponseHTTP 200 OK
Response Typeapplication/octet-stream

Add a Resource

AttributesvaluesValues
HTTP MethodPUT
Request URI/artifact{ complete path of the resource to be added }
HTTP Request Header

Authorization: Bearer { OAuth access token }

Media-Type: {Media type of the resource}

Request Content Type{ Mime type of the resource }
PayloadContent of the resource
ResponseHTTP 204 No content.
DescriptionAdd the content of the resource sent via payload to the requested path at the URI.

Update a Resource

AttributesValues
HTTP MethodPUT
Request URI/artifact{ complete path of the resource to be added }
HTTP Request Header

Authorization: Bearer { OAuth access token }

Media-Type: {Media type of the resource}

PayloadContent of the resource which is going to be updated
DescriptionUpdate the resource
ResponseHTTP 204 No Content

 

Delete a Resource

AttributesvaluesValues
HTTP MethodDELETE
Request URI/artifact/{ resource path }?user={ user name }
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
ResponseHTTP 204 No Content
DescriptionIt deletes the requested resource if it exists.

...