photos.createAlbum

Creates a photo album for the specified user

NameRequiredTypeDescription
uid false String

The ID of the user on whose behalf you want to create the album. Specify uid when calling this method without session key

gid false String

Identifier of the group where album will be created

title true String

Name of the photo album to be created

description false String

Description of the photo album to be created. Considered only if the gid parameter is not specified

type false PhotoAlbumAccessPolicy[]

Photo album visibility. Considered only if the gid parameter is not specified

photo_book_settings false PhotoBookSettingsBean

Photo book settings. Specify if you want the created album to be a photo book. Such an album visually looks like a photo album from life: a book with frames for photos. Only the design_id and is_photo_book fields need to be passed. You can get the available settings via method photoBook.getDesignSettings

Authorization

Session is optional (for External applications - required)

Required permissions

  • PHOTO_CONTENT
  • VALUABLE_ACCESS

Type

"String"

Application paramters

User session data

Method

List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig