...
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 |
Delete Associations on a Given Resource
...