Authority REST API - Association Controller
The association/from/<type>/<code>
URL manages transitive Associations following the From
relationships.
Retrieve transitive Associations from an Asset
Section titled “Retrieve transitive Associations from an Asset”GET /association/from/<type>/<code>/transitive
Retrieves the requested Asset, along with any transitive Associations From
that Asset. This is a recursive process, retrieving all Associations from associated Assets.
URL Parameters
Section titled “URL Parameters”Parameter | Description |
---|---|
type | A single URL-encoded Asset Type code. |
code | A single URL-encoded Asset code. |
Query Parameters
Section titled “Query Parameters”Parameter | Expected | Description |
---|---|---|
totype | Optional | An Asset Type code. Will only return Associations to Assets of this type. Can be specified multiple times to include additional Asset Types. |
app | Optional | An Application identifier. Will only return Associations with context data for this Application. Can be specified multiple times to include additional Applications. |
Response
Section titled “Response”Code | Status | Description |
---|---|---|
200 | Success | The Asset was found. Content is a single TransitiveAssociations object. |
404 | Failure | The Asset does not exist. |
422 | Failure | Invalid data was provided. Content is a JSON array of one or more error codes describing the problem. |