Get

The

Media Element
endpoint returns detailed information about a specific media object uploaded using the Assets endpoints. To use this endpoint, you must provide the identifier for the media object you're interested in as well as the media type. The request should be sent as a
GET
request to the
/v1/api/assets/{MEDIA_TYPE}/ {MEDIA_IDENTIFIER}
endpoint, with the necessary authorization and content-type headers included.

If you're unsure about the available options for the

MEDIA_IDENTIFIER
, you can refer to the
Assets
section of the API documentation to retrieve information about existing media objects.

HTTP Request

GET https://api.oxolo.com/v1/api/assets/{MEDIA_TYPE}/{MEDIA_IDENTIFIER}

curl -X 'GET' 
'https://api.oxolo.com/v1/api/assets/IMAGE/{MEDIA_IDENTIFIER}' 
-H 'accept: application/json' 
-H 'authorization: YOUR_API_KEY'

{
  "results": {
    "path": "s3://...",
    "type": "IMAGE",
    "id": "bf4a8d8a-5379-4189-b1d0-24aec8e81e30",
    "created_at": "2023-03-08T09:13:20.401Z",
    "updated_at": "2023-03-08T09:13:20.401Z",
    "name": "81949956-ebc8-443e-afc6-b1ba41e9d699_image.png"
  }
}