videos

List 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

post/api/videos

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Authorization
    • API key in cookie sessionid

Request body

namestring required
headerstring nullable
descriptionstring nullable
organizationinteger
seriesIdinteger nullable
episodeNumberinteger nullable

Episode number within the series. Leave blank when the series is unordered.

durationstring
categoriesstring[] required
framerateinteger

Framerate of master video in thousands / second

properImportboolean

Has the video been properly imported?

hasTonoRecordsboolean
publishOnWebboolean
isFillerboolean

You still have the editorial responsibility. Only affect videos from members.

refUrlstring

URL for reference

uploadedTimestring date-time nullable

Time the original video for the program was uploaded

Response

idinteger required
namestring required
headerstring nullable
descriptionstring nullable
creatorstring email required
organizationinteger
episodeNumberinteger nullable

Episode number within the series. Leave blank when the series is unordered.

durationstring
durationSecnumber double nullable required
categoriesstring[] required
framerateinteger

Framerate of master video in thousands / second

properImportboolean

Has the video been properly imported?

hasTonoRecordsboolean
publishOnWebboolean
isFillerboolean

You still have the editorial responsibility. Only affect videos from members.

refUrlstring

URL for reference

createdTimestring date-time required

Time the program record was created

updatedTimestring date-time required

Time the program record has been updated

uploadedTimestring date-time nullable

Time the original video for the program was uploaded

ogvUrlstring nullable required
largeThumbnailUrlstring required

Changes

    • info

      added the optional property ///// to the response with the status

    • breaking

      the response property became optional for the status

    • breaking

      added to the ///// response property oneOf list for the response status

    • warning

      the request property's maxLength was set to 2048

    • warning

      added the new max_length enum value to the ////////// response property for the response status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added header framerate discriminator mapping keys to the ///// response property for the response status

    • info

      the response required property became not read-only for the status