...
Attributes | Values |
---|---|
HTTP Method | POST |
Request URI | /associationassociations?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 |
...
Attributes | Values |
---|---|
HTTP Method | DELETE |
Request URI | /association?path={resource path} |
Payload | [{ "type":"<type of the association>","target":"<valid resource path>"}] |
HTTP Request Header | Authorization: Bearer {OAuth access token&targetPath={target path}&type={association type} |
Description | It deletes the association between the source and target resources for the given association type. |
Response | HTTP 204 No Content. |
Response Type | application/json |
...