Sidebar
Metadata
Stores flexible key-value metadata for digital customer platform assets and related records, supporting multiple value types and parent relationships.Attributes
These are all attributes that can be read and updated through the API
| Name | Description | Permissions |
|---|---|---|
| id | Unique identifier for the metadata record. | READ ONLY |
| name | Human-readable name of the metadata attribute. | READ AND UPDATE |
| val | Stored value of the metadata attribute. | READ AND UPDATE |
| type | Data type or category of the metadata attribute. | READ AND UPDATE |
| id_slug | URL-friendly slug derived from the identifier. | READ AND UPDATE |
Get Metadata by ID
GEThttps://digital.fmw.co.at/connect/v1/resources/metadata/[ID]Returns a specific Metadata by ID.
Relations
It is possible to get related objects from metadata.
GEThttps://digital.fmw.co.at/connect/v1/resources/metadata/[ID]/[RELATION]This table shows all available resources that can be queried
| Relation | Objecttype | Relationtype | |
|---|---|---|---|
| asset | Asset | many:many | Show details |
| gateway | Gateway | many:many | Show details |
| datastream | Datastream | many:many | Show details |
Update Metadata
POSThttps://digital.fmw.co.at/connect/v1/resources/metadata/[ID]Update fields of Metadata by ID. The fields must be sent as x-www-form-urlencoded parameter.
Create Metadata
PUThttps://digital.fmw.co.at/connect/v1/resources/metadataCreate a new Metadata.
Delete Metadata
DELETEhttps://digital.fmw.co.at/connect/v1/resources/metadata/[ID]Delete the resource Metadata by ID.
This action can not be reverted!
