Skip to content

Authority REST API - Association Controller

The association/to/<type>/<code> URL manages Associations from the To side of the relationship.

GET /association/to/<type>/<code>

Retrieves the requested Asset, along with any direct Associations To that Asset.

ParameterDescription
typeA single URL-encoded Asset Type code.
codeA single URL-encoded Asset code.
ParameterExpectedDescription
fromtypeOptionalAn Asset Type code. Will only return Associations from 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 AssociationsToAsset object.
404FailureThe Asset does not exist.
422FailureInvalid data was provided.
Content is a JSON array of one or more error codes describing the problem.