Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Get Media Item by ID

Retrieves a media item (image, video, or file) by its ID

GET/api/v1/{app_id}/folders/{folder_id}/media/{media_id}
Authorization
AuthorizationAPI key · headerrequired

Bearer token (format: "Bearer {token}")

Path parameters
app_idstringrequired

App ID

folder_idstringrequired

Folder ID

media_idstringrequired

Media ID

Responses
200

Media item retrieved successfully

datainternal_pkg_webserver_public-webserver_v1.MediaItemResponse
Show properties
alt_textstring | null
attributesAttributeResponse[] | null
Show properties
Array of AttributeResponse
descriptionstring
idstring
keystring
namestring
valuesobject | null
blurhashstring | null
copyrightstring | null
created_atstring
custominteger[] | null
descriptionstring | null
file_typestring | null
folderFolderRef | null
Show properties
Any of:
FolderRef
idstring
namestring
publicboolean
slugstring
null
null
idstring
statusstring | null
titlestring | null
translationsMediaItemTranslations
Show properties
altTranslation[] | null
Show properties
Array of Translation
idstring
localestring
valuestring
descriptionTranslation[] | null
titleTranslation[] | null
typeTranslation[] | null
typestring
updated_atstring | null
urlstring
variantsVideoVariantResponse[] | null
Show properties
Array of VideoVariantResponse
created_atstring
formatstring
heightinteger
idstring
updated_atstring
urlstring
widthinteger
successboolean
400

Invalid request

detailsstring[] | null
errorstring
401

Unauthorized access

detailsstring[] | null
errorstring
403

Forbidden: Folder is not public

detailsstring[] | null
errorstring
404

Media item not found

detailsstring[] | null
errorstring
500

Internal server error

detailsstring[] | null
errorstring
Try it
Server
Authorization
Parameters
Request
curl -X GET '//dam.enad.io/api/v1/string/folders/string/media/string' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Accept: application/json'
Response
{
  "data": {
    "alt_text": "string",
    "attributes": [
      {
        "description": "string",
        "id": "string",
        "key": "string",
        "name": "string",
        "values": {
          "property1": [
            {
              "type": "string",
              "value": "string"
            }
          ],
          "property2": [
            {
              "type": "string",
              "value": "string"
            }
          ]
        }
      }
    ],
    "blurhash": "string",
    "copyright": "string",
    "created_at": "string",
    "custom": [
      0
    ],
    "description": "string",
    "file_type": "string",
    "folder": {
      "id": "string",
      "name": "string",
      "public": true,
      "slug": "string"
    },
    "id": "string",
    "status": "string",
    "title": "string",
    "translations": {
      "alt": [
        {
          "id": "string",
          "locale": "string",
          "value": "string"
        }
      ],
      "description": [
        {
          "id": "string",
          "locale": "string",
          "value": "string"
        }
      ],
      "title": [
        {
          "id": "string",
          "locale": "string",
          "value": "string"
        }
      ],
      "type": [
        {
          "id": "string",
          "locale": "string",
          "value": "string"
        }
      ]
    },
    "type": "string",
    "updated_at": "string",
    "url": "string",
    "variants": [
      {
        "created_at": "string",
        "format": "string",
        "height": 0,
        "id": "string",
        "updated_at": "string",
        "url": "string",
        "width": 0
      }
    ]
  },
  "success": true
}