v1

latestOpenAPI 3.0.32026-07-1773120135.6 KB
video

Add a video to the db if it does not already exist.

post/video/

Request body

video_idstring required

Video ID from YouTube URL, matches ^[A-Za-z0-9-_]{11}$

Response

uidstring required

A unique identifier, build with a namespace and an external id.

namestring required

Video title

descriptionstring nullable required

Video description, from YouTube

publication_datestring date-time nullable required
viewsinteger nullable required
uploaderstring nullable required

Name of the channel on YouTube

languagestring nullable required
rating_n_ratingsinteger required
rating_n_contributorsinteger required
durationinteger nullable required
video_idstring required

Video ID from YouTube URL, matches ^[A-Za-z0-9-_]{11}$