Skip to content

Authority REST API - Asset Controller

The asset URL provides bulk management of Assets.

GET /asset

Retrieves all registered Assets.

ParameterExpectedDescription
appOptionalAn Application identifier. Will only return Assets with context data for this Application.
Can be specified multiple times to include additional Applications.
CodeStatusDescription
200SuccessContent is an array of Asset objects.
422FailureInvalid data was provided.
Content is a JSON array of one or more error codes describing the problem.

POST /asset

Adds or updates multiple registered Assets simultaneously. The Context data will be merged with any existing registration.

An array of Asset objects to add or update.

CodeStatusDescription
204SuccessCompleted successfully.
422FailureInvalid data was provided.
Content is a JSON array of one or more error codes describing the problem.