Skip to content

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.

ParameterDescription
typeA single URL-encoded Asset Type code.
codeA single URL-encoded Asset code.
ParameterExpectedDescription
totypeOptionalAn Asset Type code. Will only return Associations to Assets of this type.
Can be specified multiple times to include additional Asset Types.
appOptionalAn Application identifier. Will only return Associations with context data for this Application.
Can be specified multiple times to include additional Applications.
CodeStatusDescription
200SuccessThe Asset was found.
Content is a single TransitiveAssociations object.
404FailureThe Asset does not exist.
422FailureInvalid data was provided.
Content is a JSON array of one or more error codes describing the problem.