Versions Compared

Key

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

...

Note

The following terms explain the meaning of the parameters passed with the following REST URIs

ParameterExplanation
Resource pathPath of the resource
OAuth access tokenAuthorized access token per user for an hour by default
MIME media typeMIME type of resource to be added. E.g., application/wsdl+xml media type for WSDL files.
userusername of the user

Get the Content of a Resource

AttributesValues
HTTP MethodGET
Request URI/artifact/{ resource path }?user={ user name }
HTTP Request HeaderAuthorization: Bearer { OAuth access token }
Description                       Content of the requested resource
Response Typeapplication/octet-stream

...

Attributesvalues
HTTP MethodPUT
Request URI/artifact/{ complete path of the resource to be added }?user={ user name }
HTTP Request Header Authorization: Bearer { OAuth access token }
Request Content Type{ MIME media type }
PayloadContent of the resource
DescriptionAdd the content of the resource sent via payload to the requested path at the URI.

...

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

...