Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Get all the associations on a resource

...

AttributesValues

HTTP Method                

...

GET
Request

...

URIhttp://<ip address>:<port>/restapi/associations?path=<resource path>&pagestart=0&pageend=0
HTTP Request Header

...

Authorization: Bearer <OAuth access token>

...

Responseit retrieves all the associations posted on the specific resource.
Response

...

TypeJSON

Get associations of specific type on a given resource

...

AttributesValues

HTTP

...

Method                 

GET
Request

...

URIhttp://<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

...

TypeJSON

Add  associations to a resource

...

AttributesValues

HTTP

...

Method                 

GET
Request

...

URIhttp://<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

...

TypeJSON

Delete an association on a given resource

...