Current section

Files

Jump to
flickrex lib flickr getMethodInfo flickr.collections.getTree.json
Raw

lib/flickr/getMethodInfo/flickr.collections.getTree.json

{
"stat": "ok",
"method": {
"response": {
"_content": "<collections>\n<collection id=\"12-72157594586579649\" title=\"All My Photos\" description=\"a collection\" iconlarge=\"http://farm1.static.flickr.com/187/cols/37_43fac2cf79_l.jpg\" \niconsmall=\"http://farm1.static.flickr.com/187/cols/56_43fac2cf79_s.jpg\">\n<set id=\"92157594171298291\" title=\"kitesurfing\" description=\"a set\"/>\n<set id=\"72157594247596158\" title=\"faves\" description=\"some favorites.\"/>\n</collection>\n</collections>"
},
"requiredperms": 0,
"needssigning": 0,
"needslogin": 0,
"name": "flickr.collections.getTree",
"explanation": {
"_content": "A nested tree of collections, and the collections and sets they contain."
},
"description": {
"_content": "Returns a tree (or sub tree) of collections belonging to a given user."
}
},
"errors": {
"error": [
{
"message": "User not found",
"code": "1",
"_content": "The specified user could not be found."
},
{
"message": "Collection not found",
"code": "2",
"_content": "The specified collection does not exist."
},
{
"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": "1",
"name": "collection_id",
"_content": "The ID of the collection to fetch a tree for, or zero to fetch the root collection. Defaults to zero."
},
{
"optional": "1",
"name": "user_id",
"_content": "The ID of the account to fetch the collection tree for. Deafults to the calling user."
}
]
}
}