List media

List media

📘

Calls to this endpoint have a limit of 10,000 objects per request. If you need to retrieve more than 10,000 objects in a request, see List all media items in a large library.

Path Params
string
required
length between 8 and 8

Unique alphanumeric ID of the site

Query Params
integer
Defaults to 1

Sets the page number for pagination. First page is 1.

integer
Defaults to 10

Sets the page length (number of items you get in the response) for pagination

If page_length is not specified, the default value will be set.

Default: 10

string

Allows for querying results

Example: title:+a title

Media can be queried by the following attributes:

  • author
  • category
  • created
  • custom_params
  • description
  • drm
    • Options are true or false
    • Example title:+a title AND drm:true
  • duration
  • error_message
  • external_id
  • hosting_type
  • id
  • last_modified
  • media_type
  • permalink
  • protection_rule_key
  • publish_end_date
  • publish_start_date
  • source_format
  • source_url
  • status
  • tags
  • title
  • trim_in_point
  • trim_out_point

Querying for a specific custom_params requires a match using the AND logical operator:

custom_params: ( name: "abc" AND value: "123" )

string
Defaults to created:dsc

Allows for sorting results

Example: sort=created:dsc

Sort order can be one of asc, dsc

Media can be sorted by the following attributes:

  • created
  • duration
  • last_modified
  • publish_end_date
  • publish_start_date
  • status
  • title
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
© 2007- Longtail Ad Solutions, Inc.