Versions Compared

Key

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

...

  • Get all the associations on a resource.
  • Get an association of specific type on a given resource.
  • Add the associations to a resource.
  • Delete an association on a given resource
Note

The following terms explains explain the meaning of the parameters passed with the below following REST URIs.

ParameterExplanation
resource Resource pathPath of the resource.
OAuth access tokenAuthorized access token per user for an hour by default.
association Association typeType of association. By Defaultdefault, Governance Registry has three types of association. Those These are usedBy, ownedBy, and other.

array Array of values

Array of values for the property ege.g.: ["val1","val2","val3",......].
arget Target resource pathstart Start page number.
number Number of recordsnumber Number of associations to be fetched.
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 are retrieved.

Get all the associations on a resource

...

AttributesValues

HTTP Method                 

POST
Request URI/association?path={resource path}
HTTP Request Header

Authorization: Bearer {OAuth access token}

Content-Type: application/json

Payload[ {"target":"<target resource path>","type":"<association type>" } ]

Description

It add adds the array of associations passed as the payload for the source resource
Response TypeJSON

...