Fetch metadata for specific asset.
Method and Endpoint
GET "/ecs/ecs/external/api/v1/asset/<asset_uuid OR 'random'>"
Request Body Parameters
| Name | Type | Description |
|---|---|---|
| type | string | Only applicable when showing a random asset. Ensures the random asset is of the the specified asset class. |
Example Request
GET "/ecs/ecs/external/api/v1/asset/cf868607-9eec-4e2b-ae87-3d2ca7ed7911"
GET "/ecs/ecs/external/api/v1/asset/random"
Example Response
{
"key": "Einstein Content",
"uuid": "cf868607-9eec-4e2b-ae87-3d2ca7ed7911",
"type": "Other-Icons",
"url": "https://www.example.com/einstein-content",
"image_url": null,
"custom": {
"locale": "SE"
},
"created_at": "2021-08-02T22:20:52.861Z",
"updated_at": "2021-08-02T22:38:28.804Z",
"availability": "Y",
"fallback": "N",
"file_ext": "png",
"status": "ready",
"image_updated_at": "2021-08-02T22:38:28.755Z",
"image_processing_completed_at": "2021-08-02T22:38:28.802Z",
"image_checksum": "16afe520c3489cc77f668cb2dcfa571c-1",
"asset_class_id": "f0bc4b14-c19c-49a5-a72f-1736a2afa8f9",
"content_builder_id": null,
"archived": false,
"ect_tags": null,
"start_datetime": "2021-07-23T00:00:00.000Z",
"end_datetime": "2221-07-23T23:59:59.000Z",
"display_time_zone": "Helsinki",
"image_link": "https://ecs-asset-images-qa.s3.us-west-2.amazonaws.com/3612/21575198/f/cf868607-9eec-4e2b-ae87-3d2ca7ed7911.png?v=16afe520c3489cc77f668cb2dcfa571c-1",
"display_time_zone_name": "Europe/Helsinki",
"display_start_datetime": "2021-07-23T03:00:00+03:00",
"display_end_datetime": "2221-07-24T01:59:59+02:00"
}