Ordexs API v1 Get an API key

Products

List the media library

GEThttps://api.ordexs.com/v1/media

The store's files (images, videos, documents), newest first.

Query parameters

  • limitinteger

    How many objects to return, 1–100. Default 25.

    1–100

  • cursorstring

    The next_cursor from the previous page. Repeat the same filters with it.

    up to 512 characters

  • typestring

    One of image, video, document

  • in_useboolean

    Only files shown somewhere on the store (true), or unused ones (false).

Returns

200 OK · A page of files. MediaList

  • objectstringRequired

    always "list"

  • has_morebooleanRequired
  • next_cursorstring or nullRequired

    Pass as cursor to get the next page. null on the last page.

  • dataarray of MediasRequired
    15 child fields
    • 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: