Skip to main content

List uploaded media

GET 

/media

Returns a list of stored media files.

Request

Query Parameters

    filter[content_type][] string

    Filters files by given content types

Responses

200: A response with a list of media resources

Schema

    data

    object[]

  • Array [

  • media_name string

    Uniquely identifies a media resource.

    expires_at string

    ISO 8601 formatted date of when the media resource will expire and be deleted.

    created_at string

    ISO 8601 formatted date of when the media resource was created

    updated_at string

    ISO 8601 formatted date of when the media resource was last updated

    content_type string

    Content type of the file

  • ]

  • meta

    object

    total_pages integer
    total_results integer
    page_number integer
    page_size integer

default: Unexpected error

Schema

    errors

    Error[]

  • Array [

  • code integerrequired
    title stringrequired
    detail string

    source

    object

    pointer json-pointer

    JSON pointer (RFC6901) to the offending entity.

    parameter string

    Indicates which query parameter caused the error.

    meta object
  • ]

Loading...