Current section
Files
Jump to
Current section
Files
lib/flickr/getMethodInfo/flickr.photos.getSizes.json
{
"stat": "ok",
"method": {
"response": {
"_content": "<sizes canblog=\"1\" canprint=\"1\" candownload=\"1\">\n <size label=\"Square\" width=\"75\" height=\"75\" source=\"http://farm2.staticflickr.com/1103/567229075_2cf8456f01_s.jpg\" url=\"http://www.flickr.com/photos/stewart/567229075/sizes/sq/\" media=\"photo\" />\n <size label=\"Large Square\" width=\"150\" height=\"150\" source=\"http://farm2.staticflickr.com/1103/567229075_2cf8456f01_q.jpg\" url=\"http://www.flickr.com/photos/stewart/567229075/sizes/q/\" media=\"photo\" />\n <size label=\"Thumbnail\" width=\"100\" height=\"75\" source=\"http://farm2.staticflickr.com/1103/567229075_2cf8456f01_t.jpg\" url=\"http://www.flickr.com/photos/stewart/567229075/sizes/t/\" media=\"photo\" />\n <size label=\"Small\" width=\"240\" height=\"180\" source=\"http://farm2.staticflickr.com/1103/567229075_2cf8456f01_m.jpg\" url=\"http://www.flickr.com/photos/stewart/567229075/sizes/s/\" media=\"photo\" />\n <size label=\"Small 320\" width=\"320\" height=\"240\" source=\"http://farm2.staticflickr.com/1103/567229075_2cf8456f01_n.jpg\" url=\"http://www.flickr.com/photos/stewart/567229075/sizes/n/\" media=\"photo\" />\n <size label=\"Medium\" width=\"500\" height=\"375\" source=\"http://farm2.staticflickr.com/1103/567229075_2cf8456f01.jpg\" url=\"http://www.flickr.com/photos/stewart/567229075/sizes/m/\" media=\"photo\" />\n <size label=\"Medium 640\" width=\"640\" height=\"480\" source=\"http://farm2.staticflickr.com/1103/567229075_2cf8456f01_z.jpg?zz=1\" url=\"http://www.flickr.com/photos/stewart/567229075/sizes/z/\" media=\"photo\" />\n <size label=\"Medium 800\" width=\"800\" height=\"600\" source=\"http://farm2.staticflickr.com/1103/567229075_2cf8456f01_c.jpg\" url=\"http://www.flickr.com/photos/stewart/567229075/sizes/c/\" media=\"photo\" />\n <size label=\"Large\" width=\"1024\" height=\"768\" source=\"http://farm2.staticflickr.com/1103/567229075_2cf8456f01_b.jpg\" url=\"http://www.flickr.com/photos/stewart/567229075/sizes/l/\" media=\"photo\" />\n <size label=\"Original\" width=\"2400\" height=\"1800\" source=\"http://farm2.staticflickr.com/1103/567229075_6dc09dc6da_o.jpg\" url=\"http://www.flickr.com/photos/stewart/567229075/sizes/o/\" media=\"photo\" />\n</sizes>\n"
},
"requiredperms": 0,
"needssigning": 0,
"needslogin": 0,
"name": "flickr.photos.getSizes",
"description": {
"_content": "Returns the available sizes for a photo. The calling user must have permission to view the photo."
}
},
"errors": {
"error": [
{
"message": "Photo not found",
"code": "1",
"_content": "The photo id passed was not a valid photo id."
},
{
"message": "Permission denied",
"code": "2",
"_content": "The calling user does not have permission to view the photo."
},
{
"message": "Invalid API Key",
"code": 100,
"_content": "The API key passed was not valid or has expired."
},
{
"message": "Service currently unavailable",
"code": 105,
"_content": "The requested service is temporarily unavailable."
},
{
"message": "Write operation failed",
"code": 106,
"_content": "The requested operation failed due to a temporary issue."
},
{
"message": "Format \"xxx\" not found",
"code": 111,
"_content": "The requested response format was not found."
},
{
"message": "Method \"xxx\" not found",
"code": 112,
"_content": "The requested method was not found."
},
{
"message": "Invalid SOAP envelope",
"code": 114,
"_content": "The SOAP envelope send in the request could not be parsed."
},
{
"message": "Invalid XML-RPC Method Call",
"code": 115,
"_content": "The XML-RPC request document could not be parsed."
},
{
"message": "Bad URL found",
"code": 116,
"_content": "One or more arguments contained a URL that has been used for abuse on Flickr."
}
]
},
"arguments": {
"argument": [
{
"optional": 0,
"name": "api_key",
"_content": "Your API application key. <a href=\"/services/api/misc.api_keys.html\">See here</a> for more details."
},
{
"optional": "0",
"name": "photo_id",
"_content": "The id of the photo to fetch size information for."
}
]
}
}