This section explains the following REST operations regarding the resource which have been secured with OAuth 2.0.
- Get the content of a resource.
- Add a resource
- Delete a given resource
Table of Contents |
---|
Note | ||||||||
---|---|---|---|---|---|---|---|---|
The following terms explains explain the meaning of the parameters passed with the below following REST URIs
|
Get the
...
Content of a
...
Resource
Attributes | Values |
---|---|
HTTP Method | GET |
Request URI | /artifact/{ resource path } |
HTTP Request Header | Authorization: Bearer { OAuth access token } |
Description | Content of the requested resource |
Response Type | application/octet-stream |
Add a
...
Resource
Attributes | values |
---|---|
HTTP Method | PUT |
Request URI | /artifact/{ complete path of the resource to be added } |
HTTP Request Header | Authorization: Bearer { OAuth access token } |
Request Content Type | { MIME media type } |
Payload | content Content of the resource |
Description | Add the content of the resource sent via payload to the requested path at the URI. |
Delete a
...
Resource
Attributes | values |
---|---|
HTTP Method | DELETE |
Request URI | /artifact/{ resource path } |
HTTP Request Header | Authorization: Bearer { OAuth access token } |
Description | it It deletes the requested resource if it exists. |