Album Photos List

Brief description:

  • List a photos in album (other than profile photos and cover photos)

Endpoint

Method:

  • POST / GET

Parameter:

Parameter name Required Type Explain
api_key_token Yes string Your API key
album_guid Yes integer Album guidfor which you wanted to list photos

Example Response

{
    "merchant": "Open Source Social Network",
    "url": "http:\/\/www.mywebsite.com\/",
    "time_token": 1569323838,
    "payload": {
        "album": {
            "data": {},
            "guid": "112",
            "time_created": "1569237368",
            "owner_guid": "1",
            "description": "",
            "title": "Test",
            "type": "user",
            "subtype": "ossn:album",
            "access": "3",
            "file:ossn:aphoto": "album\/photos\/8e00ae2e2f3c27a33693cf8d00bd0792.jpg"
        },
        "list": [
            {
                "guid": "700",
                "image_url": "http:\/\/www.mywebsite.com\/album\/getphoto\/112\/8e00ae2e2f3c27a33693cf8d00bd0792.jpg?size=album"
            }
        ]
    },
    "code": "100",
    "message": "Request successfully executed"
}

Return payload parameter description

Parameter name Explain
album Will contain album details
list Will contain photos in album

Remarks

  • If there are no photos you will be list as null|false
  • If album didn't exist you will get 103 error.

Services View All