Current section

Files

Jump to
flickrex lib flickr getMethodInfo flickr.groups.pools.getPhotos.json
Raw

lib/flickr/getMethodInfo/flickr.groups.pools.getPhotos.json

{
"stat": "ok",
"method": {
"response": {
"_content": "<photos page=\"1\" pages=\"1\" perpage=\"1\" total=\"1\">\n\t<photo id=\"2645\" owner=\"12037949754@N01\" title=\"36679_o\"\n\tsecret=\"a9f4a06091\" server=\"2\"\n\tispublic=\"1\" isfriend=\"0\" isfamily=\"0\"\n\townername=\"Bees / ?\" dateadded=\"1089918707\" /> \n</photos>"
},
"requiredperms": 0,
"needssigning": 0,
"needslogin": 0,
"name": "flickr.groups.pools.getPhotos",
"description": {
"_content": "Returns a list of pool photos for a given group, based on the permissions of the group and the user logged in (if any)."
}
},
"errors": {
"error": [
{
"message": "Group not found",
"code": "1",
"_content": "The group id passed was not a valid group id."
},
{
"message": "You don't have permission to view this pool",
"code": "2",
"_content": "The logged in user (if any) does not have permission to view the pool for this group."
},
{
"message": "Unknown user",
"code": "3",
"_content": "The user specified by user_id does not exist."
},
{
"message": "Group/pool is member only",
"code": "4",
"_content": ""
},
{
"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": "group_id",
"_content": "The id of the group who's pool you which to get the photo list for."
},
{
"optional": "1",
"name": "tags",
"_content": "A tag to filter the pool with. At the moment only one tag at a time is supported."
},
{
"optional": "1",
"name": "user_id",
"_content": "The nsid of a user. Specifiying this parameter will retrieve for you only those photos that the user has contributed to the group pool."
},
{
"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."
}
]
}
}