Add an existing video to the playlist, or move a video it already
holds. A video is never listed twice.
Without before_video_id, a new video is added at the top of the
playlist, and a video already in it stays where it is.
With before_video_id, the video moves to the index of that video and
the videos in between shift by one. Moved up, it ends just above
before_video_id; moved down, it ends just below it. A new video is
added at the top first, so it ends just below before_video_id.
When the order of the playlist is set by a rule, before_video_id is
ignored and the request changes nothing: it returns 201 without
adding or moving the video, even when before_video_id is not in the
playlist.
Returns 201 with an empty body. Answers 422 INVALID_FIELD
when before_video_id is not in the playlist, when the video cannot be
added to a playlist, when the playlist is full, or when its videos are
selected automatically. Requires playlist.manage
scope.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
You are reading API v2 documentationStill using the Legacy API? Access the Legacy API documentation.
