Current section

Files

Jump to
flickrex lib flickr getMethodInfo flickr.photos.upload.checkTickets.json
Raw

lib/flickr/getMethodInfo/flickr.photos.upload.checkTickets.json

{
"stat": "ok",
"method": {
"response": {
"_content": "<uploader>\n\t<ticket id=\"128\" complete=\"1\" photoid=\"2995\" />\n\t<ticket id=\"129\" complete=\"0\" />\n\t<ticket id=\"130\" complete=\"2\" />\n\t<ticket id=\"131\" invalid=\"1\" />\n</uploader>\n"
},
"requiredperms": 0,
"needssigning": 0,
"needslogin": 0,
"name": "flickr.photos.upload.checkTickets",
"explanation": {
"_content": "<p>There is one <code>&lt;ticket&gt;</code> element for each ticket id supplied. The <code>id</code> attribute contains the corresponding ticket id. If the ticket wasn't found, the <code>invalid</code> attribute is set. The status of the ticket is passed in the <code>status</code> attribute; 0 means not completed, 1 means completed and 2 means the ticket failed (indicating there was a problem converting the file). When the status is 1, the photo id is passed in the <code>photoid</code> attribute. The photo id can then be used as with the <a href=\"/services/api/upload.api.html\">synchronous upload API</a>."
},
"description": {
"_content": "Checks the status of one or more asynchronous photo upload tickets."
}
},
"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": "tickets",
"_content": "A comma-delimited list of ticket ids"
}
]
}
}