Current section
Files
Jump to
Current section
Files
lib/flickr/getMethodInfo/flickr.photos.getSizes.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 size information for.",
"name": "photo_id",
"optional": "0"
}
]
},
"errors": {
"error": [
{
"_content": "The photo id passed was not a valid photo id.",
"code": "1",
"message": "Photo not found"
},
{
"_content": "The calling user does not have permission to view the photo.",
"code": "2",
"message": "Permission denied"
},
{
"_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": "Returns the available sizes for a photo. The calling user must have permission to view the photo."
},
"name": "flickr.photos.getSizes",
"needslogin": 0,
"needssigning": 0,
"requiredperms": 0,
"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"
}
},
"stat": "ok"
}