Link relation datamodel:asset-model-by-type

New in MC | Cloud UX 2024.10

Overview

Get the data model for assets of the given type, including layout information.

The query parameter insist defines which part of the data model to return. If not given, the link rel returns no properties at all.

The returned information is the general information for all assets of the given type and doesn’t take permissions of individual assets into account. The link rels datamodel:asset-model or datamodel:asset-model-by-id do this and may return different information, especially regarding the "readonly" flag.

HTTP method

GET

URI template variables

type

The asset type.

Query parameters

lang

Request the labels and tooltips for a given culture. Example: lang=fr-CA

insist

Comma-separated list of optional, but requestable properties. Currently, the following values are supported:

  • insist=attributes: request getting information about the attributes of the asset that are visible to the caller.

  • insist=time-based: request getting information about the layers of time-based Metadata of the asset that are visible to the caller.

  • insist=layout: request getting layout information for attributes and time-based Meta data if combined with the other values for insist:

    • insist=attributes,layout: request information about attributes and the layout for attributes.

    • insist=time-based,layout: request information about time-based Meta data and the layout for time-based Meta data.

    • insist=attributes,time-based,layout: request information about attributes and time-based Meta data, and the layouts for attributes and time-based Meta data.

If insist is not given, the call returns no information at all.

Request body

-

HTTP response

200 OK

Response body

Available in