video.getAlbums
The translation was generated automatically and may contain mistakes
Returns a list of albums of the user's or community's video recordings.
Parameters
integer
The ID of the album owner, user, or community. By default, the current user ID. To specify the community ID, put a sign in front of the ID -.
positive
The bias required to sample a specific subset of albums. By default: 0 .
positive
Number of albums that need to be returned. By default: no more 50 , maximum value: 100 .
checkbox
1 Return additional fields count , updated_time and array of objects image for each album. If the album is empty, then the array of objects image It will not be returned to him. By default: 0 .
Object Fields image :
- •
"height"(integerThe height of the image. - •
"url"(string) — a reference to the image. - •
"width"(integerThe width of the image. - •
"with_padding"(integer) — поле возвращается, если изображение с отбивкой, всегда содержит1.
checkbox
1 Return the system albums.
Result
After successful execution, it returns an object containing the number of results in the field count and an array of album objects in the field items . Each of the objects describing the album contains the following fields:
- •
idID of the album; - •
owner_idID of the owner of the album; - •
titleName of the album; - •
response_typeType of response:min- if the query has a parameterextended= 0, the answer contains only the fields listed above;full- ifextended= 1, the answer contains additional fields.
Error codes
Common errors may occur during execution
Linked versions
Go to API versions pageThe data format has been changed, describes the privacy .