playground.call

Create an album.

This method requires a token with write permission.

Parameters

Log in to enter Playground
Name Type Description
oauth_token string (required) The access token for the acting user.
video_id int (required) The ID of the video.
description string The description for the album.
title string (required) The title of the album.
videos string A comma-separated list of video IDs to add to the album.

Error Codes

Code Message Explanation
99 Insufficient permissions The user does not have permission to do that.
1 Video not found The video id was either invalid or not provided.
1 Video not found The video id was either invalid or was for a video not viewable by the calling user.
2 Album limit reached Only Plus members can create more than 3 albums.
95 Not allowed The user is not allowed to perform that action.
1 Video not found The video id was either invalid or was for a video not viewable by the calling user.
3 Blank title You must provide a title.