This API operation gets the albums of the user specified in the UserID parameter. When the authenticated user is subscribed to the private gallery of the owner of the album the API will return the ThumbUrl of the album.
GET
/v1/Pictures/GetAlbums
GET
/v1/Groups/Pictures/GetAlbums
(See Group manager)
Property | Type | Description |
---|---|---|
UserID |
integer | Required. The ID of the owner of the album. |
ReturnPictureIDs |
boolean | To let the API return the ID's of the pictures set this to true . |
If the authenticated user is the manager of a group, the user can impersonate another member of the group. This allows the manager to perform tasks of other group members without having to authenticate as them.
The request can be build in the same way as the regular request, but targeted towards the Group manager endpoint. It re-uses the existing UserID
property to set the ID of the group member. This means you can only use the Group manager version of this endpoint to get data from your group members.
Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
This endpoint has the following optional headers:
Headers | Value | |
---|---|---|
X-MaskImages |
1 |
What's this? |
An Authorization header is required with every request and must contain the access_token of the user. More information can be found in the Access tokens page.
This endpoint does not require any additional scopes.
Property | Type | Description |
---|---|---|
array of aws:Albums | The albums of the user. |
The following example shows a sample returned by the API.