/organizations/{organization_id}/sites/{site_id}/media_categories

Beta Notice: This is a pre-release beta endpoint. It is subject to change without notice and has no uptime guarantee.
Retrieves a paginated list of the media categories on a site. Supports an optional filter on media category name, which returns at most one media category per name given. pagination.count always reflects the filtered set.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the organization

string
required

ID of the site

Query Params
number

A page number within the paginated result set.

number

Number of results to return per page.

name__in
array of strings

Filter media categories to one or more names. Provide a comma-separated list, e.g. ?name__in=house,road. Each name is matched in full and case-insensitively, so house matches House but not big house. Media category names are unique per site ignoring case, so at most one media category is returned per name given. At most 100 names may be given, each of at most 1000 characters. Whitespace around a name is ignored, and an empty value is treated as no filter. A name containing a comma cannot be filtered on, as the comma separates the names.

name__in
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json