Versions Compared

Key

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

...

Note

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

resource path -
ParameterExplanation
resource pathPath of the
source
resource
.
OAuth access token
-
Authorized access token per user for an hour by default
.
association type
-
Type of association. By Default, Governance Registry has three types of association. Those are usedBy, ownedBy, and other.
  • target resource path - The path of the target resource with which the association is established.
  • start page -

    array of values

    Array of values for the property eg: ["val1","val2","val3",......]
    arget resource pathstart page number
    number
    of 
    of records
    -
    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 retrieved.

    ...

    AttributesValues

    HTTP Method                 

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

    Authorization: Bearer {OAuth access token}

    Content-Type: application/json

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

    ResponseDescription

    It retrieves all the associations including the added ones
    Response TypeJSON

    ...

    AttributesValues

    HTTP Method                 

    DELETE
    Request URI/association?path={resource path}&type={association type}&target={target resource path}
    HTTP Request HeaderAuthorization: Bearer {OAuth access token}

    ResponseDescription

    It retrieves the rest of the associations for the given resource after deletion.
    Response TypeJSON

    ...