Current section
Files
Jump to
Current section
Files
lib/flickr/getMethodInfo/flickr.galleries.getListForPhoto.json
{
"arguments": {
"argument": [
{
"_content": "Your API application key. <a href=\"/services/api/misc.api_keys.html\">See here</a> for more details.",
"name": "api_key",
"optional": 0
},
{
"_content": "The ID of the photo to fetch a list of galleries for.",
"name": "photo_id",
"optional": "0"
},
{
"_content": "Number of galleries to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.",
"name": "per_page",
"optional": "1"
},
{
"_content": "The page of results to return. If this argument is omitted, it defaults to 1.",
"name": "page",
"optional": "1"
}
]
},
"errors": {
"error": [
{
"_content": "The API key passed was not valid or has expired.",
"code": 100,
"message": "Invalid API Key"
},
{
"_content": "The requested service is temporarily unavailable.",
"code": 105,
"message": "Service currently unavailable"
},
{
"_content": "The requested operation failed due to a temporary issue.",
"code": 106,
"message": "Write operation failed"
},
{
"_content": "The requested response format was not found.",
"code": 111,
"message": "Format \"xxx\" not found"
},
{
"_content": "The requested method was not found.",
"code": 112,
"message": "Method \"xxx\" not found"
},
{
"_content": "The SOAP envelope send in the request could not be parsed.",
"code": 114,
"message": "Invalid SOAP envelope"
},
{
"_content": "The XML-RPC request document could not be parsed.",
"code": 115,
"message": "Invalid XML-RPC Method Call"
},
{
"_content": "One or more arguments contained a URL that has been used for abuse on Flickr.",
"code": 116,
"message": "Bad URL found"
}
]
},
"method": {
"description": {
"_content": "Return the list of galleries to which a photo has been added. Galleries are returned sorted by date which the photo was added to the gallery."
},
"name": "flickr.galleries.getListForPhoto",
"needslogin": 0,
"needssigning": 0,
"requiredperms": 0,
"response": {
"_content": "<galleries total=\"7\" page=\"1\" pages=\"1\" per_page=\"100\">\n <gallery id=\"9634-72157621980433950\" \n url=\"http://www.flickr.com/photos/revdancatt/galleries/72157621980433950\" \n owner=\"35468159852@N01\" date_create=\"1249748647\" date_update=\"1260486168\" \n\t primary_photo_id=\"2080242123\" primary_photo_server=\"2209\" \n\t primary_photo_farm=\"3\" primary_photo_secret=\"55c9\"\n count_photos=\"18\" count_videos=\"0\">\n <title>Vivitar Ultra Wide & Slim Selection</title>\n <description>The cheap and cheerful camera that isn't quite as cheap as it used to be.</description>\n </gallery>\n <gallery id=\"22342631-72157622254010831\" \n url=\"http://www.flickr.com/photos/22365685@N03/galleries/72157622254010831\" \n owner=\"22365685@N03\" date_create=\"1253035020\" date_update=\"1260431618\" \n primary_photo_id=\"3182914049\" primary_photo_server=\"3319\" \n primary_photo_farm=\"4\" primary_photo_secret=\"b94fb\"\n count_photos=\"13\" count_videos=\"0\">\n <title>Awesome Pics</title>\n <description />\n </gallery>\n</galleries>"
}
},
"stat": "ok"
}