GET /api/videos
Changed onList of videos
Query parameters
q - Free search query.
ordering - Order results by specified field. Prepend a minus for descending order. I.e. ?ordering=-id.
creator__email - the email of the video's creator
framerate - the framerate in hz * 1000
has_tono_records - if the tono flag is set (true/false)
is_filler - if this is a filler video (true/false)
name - the exact name/title of the video
name__icontains - substring is part of name/title of the video
organization - Frikanalen ID of organization behind video. Given alongside q, it also narrows the search to that organization's own videos: the organization's name stops counting as a match, since it would otherwise return the whole catalogue.
played_count_web - the number of times this video was played on the web
played_count_web__gt - greater than
played_count_web__gte - greater than or equal
played_count_web__lt - less than
played_count_web__lte - less than or equal
publish_on_web - if this video is published ont the web (true/false)
proper_import - whether ingest finished (true/false). Omitted, the list shows only finished videos, which is the public catalogue.
ref_url - the exact reference url
ref_url__startswith - the reference url start with this string
ref_url__icontains - the reference url contain this string
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or API key in cookie sessionid
Query parameters
Number of results to return per page.
The initial index from which to return the results.
Which field to use when ordering the results.
Whether ingest finished. Omitted means true.
Free-text search
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}Changes
- breaking
the response property
results/items/categoriesbecame optional for the status - info
added the required property
results/items/isBannedto the response with the status
- breaking
- info
the response property
results/items/organization/allOf[#/components/schemas/Organization]/orgnrbecame required for the status
- info