AboutContactLogin

Index

CreatePhotoSet

The CreatePhotoSet method creates a new photoset (gallery or collection)

PhotoSet CreatePhotoSet(
    long groupId,
    PhotoSetType type,
    PhotoSetUpdater updater
    )

Parameters

groupId
64-bit identifier of the photoset group in which to create the photoset. To create a photoset at the top level, specify the ID of the user's root photoset group.
type
Photoset type, either Gallery or Collection
updater
Photoset updater applied immediately after the photoset is created

Returns

Snapshot of the created photoset

Remarks

The photoset group identified by the groupId parameter must be owned by the currently authenticated user.

The returned snapshot has all the fields loaded.

See Also