Current section

Files

Jump to
flickrex lib flickr getMethodInfo flickr.galleries.getPhotos.json
Raw

lib/flickr/getMethodInfo/flickr.galleries.getPhotos.json

{
"stat": "ok",
"method": {
"response": {
"_content": "<photos page=\"1\" pages=\"1\" perpage=\"500\" total=\"2\">\n\t<photo id=\"2822546461\" owner=\"78398753@N00\" secret=\"2dbcdb589f\" server=\"1\" farm=\"1\" title=\"FOO\" \n ispublic=\"1\" isfriend=\"0\" isfamily=\"0\" is_primary=\"1\" has_comment=\"1\">\n\t\t<comment>best cat picture ever!</comment>\n\t</photo>\n\t<photo id=\"2822544806\" owner=\"78398753@N00\" secret=\"bd93cbe917\" server=\"1\" farm=\"1\" title=\"OOK\" \n ispublic=\"1\" isfriend=\"0\" isfamily=\"0\" is_primary=\"0\" has_comment=\"0\" />\n</photos>"
},
"requiredperms": 0,
"needssigning": 0,
"needslogin": 0,
"name": "flickr.galleries.getPhotos",
"explanation": {
"_content": "Returns a <a href=\"http://code.flickr.com/blog/2008/08/19/standard-photos-response-apis-for-civilized-age/\">standard photo response</a>. Additionally if the gallery creator has included a comment with the photo this will be then the photo element will have the attribute has_comment=\"1\" and the child element \"comment\" will be present."
},
"description": {
"_content": "Return the list of photos for a gallery"
}
},
"errors": {
"error": [
{
"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": "gallery_id",
"_content": "The ID of the gallery of photos to return"
},
{
"optional": "1",
"name": "continuation",
"_content": "Using this parameter indicates to the server that the client is using the new, continuation based pagination rather than the older page/per_page based pagination. \nThe first request must pass the \"continuation\" parameter with the value of \"0\". The server responds back with a response that includes the \"continuation\" field along with the \"per_page\" field in the response. For the subsequent requests, the client must relay the value of the \"continuation\" response field as the value of the \"continuation\" request parameter. On the last page of results, the server will respond with a continuation value of \"-1\"."
},
{
"optional": "1",
"name": "per_page",
"_content": "chunk size to fetch"
},
{
"optional": "1",
"name": "get_user_info",
"_content": "set to 1 if user details should be returned"
},
{
"optional": "1",
"name": "get_gallery_info",
"_content": "if set to 1, info about the gallery is also returned"
},
{
"optional": 1,
"name": "extras",
"_content": "A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>description</code>, <code>license</code>, <code>date_upload</code>, <code>date_taken</code>, <code>owner_name</code>, <code>icon_server</code>, <code>original_format</code>, <code>last_update</code>, <code>geo</code>, <code>tags</code>, <code>machine_tags</code>, <code>o_dims</code>, <code>views</code>, <code>media</code>, <code>path_alias</code>, <code>url_sq</code>, <code>url_t</code>, <code>url_s</code>, <code>url_q</code>, <code>url_m</code>, <code>url_n</code>, <code>url_z</code>, <code>url_c</code>, <code>url_l</code>, <code>url_o</code>"
},
{
"optional": 1,
"name": "per_page",
"_content": "Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500."
},
{
"optional": 1,
"name": "page",
"_content": "The page of results to return. If this argument is omitted, it defaults to 1."
}
]
}
}