Ordexs API v1 Get an API key

Products

Retrieve a media file

GEThttps://api.ordexs.com/v1/media/{media_id}

Path parameters

  • media_idstringRequired

    starts with med_

Returns

200 OK · The file. Media

  • idstring

    starts with med_

  • objectstring

    always "media"

  • typestring

    One of image, video, document

  • mime_typestring
  • urlstring
  • file_namestring
  • altstring or null
  • bytesinteger
  • widthinteger or null
  • heightinteger or null
  • sizesarray of integers

    The WebP widths stored for an image.

  • duration_secondsinteger or null
  • poster_urlstring or null
  • in_useboolean

    Shown somewhere on the store.

  • created_atstring

    ISO 8601 date-time, UTC

Errors

Every error has the same shape. This endpoint can answer with: