...
Note | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The following terms explains the meaning of the parameters passed with the below REST URIs. resource path -
|
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 will be retrieved. |
...
Attributes | Values |
---|---|
HTTP Method | POST |
Request URI | /association?path={resource path}&type={association type} |
HTTP Request Header | Authorization: Bearer {OAuth access token} Content-Type: application/json |
Payload | [ {"target":"<target resource path>","type":"<association type>" } ] |
ResponseDescription | It retrieves all the associations including the added ones |
Response Type | JSON |
...
Attributes | Values |
---|---|
HTTP Method | DELETE |
Request URI | /association?path={resource path}&type={association type}&target={target resource path} |
HTTP Request Header | Authorization: Bearer {OAuth access token} |
ResponseDescription | It retrieves the rest of the associations for the given resource after deletion. |
Response Type | JSON |
...