...
Get all the associations on a resource
...
Attributes | Values |
---|---|
HTTP Method |
...
GET | |
Request |
...
URI | http://<ip address>:<port>/restapi/associations?path=<resource path>&pagestart=0&pageend=0 |
HTTP Request Header |
...
Authorization: Bearer <OAuth access token> |
...
Response | it retrieves all the associations posted on the specific resource. |
Response |
...
Type | JSON |
Get associations of specific type on a given resource
...
Attributes | Values |
---|---|
HTTP |
...
Method | GET |
Request |
...
URI | http://<ip address>:<port>/restapi/associations?path=<resource path>&type=<association type> |
HTTP Request Header |
...
Authorization: Bearer <OAuth access token> |
...
Response | it retrieves all the associations for the specific type on the given resource |
Response |
...
Type | JSON |
Add associations to a resource
...
Attributes | Values |
---|---|
HTTP |
...
Method | GET |
Request |
...
URI | http://<ip address>:<port>/restapi/ |
...
associations?path=<resource path>&type=<association type> |
HTTP Request |
...
Header | Authorization: Bearer <OAuth access token> |
...
Content-Type: application/json |
...
Payload | [ {"target":"<target path>","type":"<association type>" }] |
...
Response | it retrieves all the associations |
...
for the specific type on the given resource |
...
Response |
...
Type | JSON |
Delete an association on a given resource
...