List recommended videos
Return videos recommended next to a reference video (or general recommendations if no reference video is given).
PeerTube decides the recommendation algorithm: it currently lists videos sharing tags with the reference video
(excluding videos already watched by the authenticated user), then the latest videos.
All returned videos are restricted to the scope, which defaults to the recommendationScope of the reference video.
Parameters
Restrict recommended videos. Defaults to the recommendationScope of the reference video, or to 1 (all videos) if no reference video is given
videoIdid | UUIDv4 | shortUUIDqueryReference video. Required if scope is 3 or 4
countinteger[1, 30]10queryNumber of videos to return
Videos that must not be recommended (the reference video is always excluded)
x-peertube-video-passwordstringheaderRequired on password protected video
nsfwstringtruefalsequerywhether to include nsfw videos, if any
aiUsageOneOfVideoAIUsageSet | Array<VideoAIUsageSet>queryPeerTube >= 9.0 Only list videos with one of these AI usages, declared by video creators.
If not provided, the preference of the authenticated user (aiUsagesHidden) is used
Response
successful operation
invalid parameters or missing videoId
reference video requires authentication or a password
reference video is not visible by the user or the password is invalid
reference video not found