Get a paginated list of all published media content
GET /media
List all media content with available filtering
Authorizations
Parameters
Query Parameters
The team id to use for the request
Example
1
Filter media for a specific token or tokens as a comma list
Example
fa9ef782-4e41-428f-8add-8440878790ec,956916a0-443d-474a-a421-5240fdc91fc5
Filter by folder id or comma list of ids
Example
2,4
Filter media for video only
Example
true
Filter media for audio only
Example
true
Filter media for livestreams only
Example
true
Filter media by words in the title as single word or comma list
Example
fund,asset range
Filter media by words in the description as single word or comma list
Example
zero target,allocation approach
Filter media by custom fields.
You can filter with filter[custom_fields]=hedge
to return any media which has a custom field containing the filter term.
Or you can filter on specific fields by adding an extra filter for that field, filter[custom_fields][drupal_uid]=11
Filtering on custom fields does support comma lists, but only on the custom_fields
filter. Such as filter[custom_fields]=11,303
hedge,fund
object
Example
funds,asset
Sort returned media by allowed fields.
- title
- created_at
- updated_at
By default sorting is ascending, for descending order prefix with a hyphen.
sort=title
A -> Zsort=-title
Z -> Asort=created_at
Oldest firstsort=-created_at
Newest first
Which page to return results for
Example
4
Internal use
Responses
200
OK
object
Shared schema for all media of any content type
object
Custom fields as key value pairs
object
object
object
object
object
object
object
object
400
Bad request
object
401
Missing or invalid Authorization Bearer token
object
404
Item is missing or not found