Developer API

photos.getAlbums

Get a list of active albums.

Access level: 1 - General access

Description:

If a user has any albums beside «It's me» album, he or she can enable or disable them for show to other users. This method returns a list of active albums with links to them.

Parameters:
Name Required parameter Description
oid +
sid
Method response:
{
    "status": int,
    "message": "str",
    "data":   {
    "albums": [
    {
    "album_id": int, // album id
    "name" : "str", // album title
    "type": "str", // album type
    "url": "str" // link to album
    },
    {
    "album_id": int,
    "name" : "str",
    "type": "str",
    "url": "str"
    }
    ]
    }
    }