Brief description:
Endpoint
Method:
Parameter:
| Parameter name | Required | Type | Explain |
|---|---|---|---|
| api_key_token | Yes | string | Your API key |
| guid | Yes | integer | UserID, for user you wanted to list albums |
| uguid | Yes | integer | UserID, for who is viewing the albums |
Example Response
{
"merchant": "Open Source Social Network",
"url": "http:\/\/www.mywebsite.com\/",
"time_token": 1569323007,
"payload": {
"albums": [
{
"image_url": "http:\/\/www.mywebsite.com\/components\/OssnPhotos\/images\/nophoto-album.png",
"album": {
"data": {},
"guid": "112",
"time_created": "1569237368",
"owner_guid": "1",
"description": "",
"title": "Test",
"type": "user",
"subtype": "ossn:album",
"access": "3"
}
}
],
"profile_photo": "http:\/\/www.mywebsite.com\/avatar\/administrator\/larger\/7c98c47e931c1395dceb50ea5d745957.jpeg",
"cover_photo": "http:\/\/www.mywebsite.com\/cover\/administrator\/9baa8bfb7c5c1b4d331fb8f030e61aa1.jpg",
"count": "1",
"offset": 1
},
"code": "100",
"message": "Request successfully executed"
}
Return payload parameter description
| Parameter name | Type | Explain |
|---|---|---|
| albums | array | For each album item, you will get album.image_url (latest image) and the album details. |
| profile_photo | string | User profile album latest photo URL |
| cover_photo | string | User cover album latest photo URL |
Remarks
arary as null|false
photos_list endpointphotos_list_profile_cover