POST /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
Request body
Response
Changes
- breaking
the response property
categoriesbecame optional for the status - info
the request property
categoriesbecame optional - info
removed the
requiredenum value from theoneOf[#/components/schemas/VideosCreateValidationError]/errors/items/oneOf[#/components/schemas/VideosCreateCategoriesErrorComponent]/coderesponse property for the response status
1 more change in this revision
- breaking