...
Note | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The following terms explain the meaning of the query parameters passed with the following REST URIs.
|
Note |
---|
The { start page } and { number of records } parameters can take any value greater than or equal to 0. The { start page } and { number of records } begins with 1. If both of them are 0, then all the associations are retrieved. |
...
Attributes | Values |
---|---|
HTTP Method | POST |
Request URI | /associations?path={resource path} |
HTTP Request Header | Authorization: Bearer {OAuth access token} Content-Type: application/json |
Payload | [{ "type":"<type of the association>","target":"<valid resource path>"}] |
Description | It adds the array of associations passed as the payload for the source resource |
Response | HTTP 204 No Content. |
Response Type | application/json |
Add Association to a Resource
Attributes | Values |
---|---|
HTTP Method | POST |
Request URI | /associations?path={resource path}&targetPath={target resource}&type={assocation type} |
HTTP Request Header | Authorization: Bearer {OAuth access token} Content-Type: application/json |
Response | HTTP 204 No Content. |
Response Type | application/json |
...