Current section

Files

Jump to
flickrex lib flickr getMethodInfo flickr.photos.geo.batchCorrectLocation.json
Raw

lib/flickr/getMethodInfo/flickr.photos.geo.batchCorrectLocation.json

{
"stat": "ok",
"method": {
"requiredperms": "2",
"needssigning": 1,
"needslogin": 1,
"name": "flickr.photos.geo.batchCorrectLocation",
"description": {
"_content": "Correct the places hierarchy for all the photos for a user at a given latitude, longitude and accuracy.<br /><br />\n\nBatch corrections are processed in a delayed queue so it may take a few minutes before the changes are reflected in a user's photos."
}
},
"errors": {
"error": [
{
"message": "Required arguments missing",
"code": "1",
"_content": "Some or all of the required arguments were not supplied."
},
{
"message": "Not a valid latitude",
"code": "2",
"_content": "The latitude argument failed validation."
},
{
"message": "Not a valid longitude",
"code": "3",
"_content": "The longitude argument failed validation."
},
{
"message": "Not a valid accuracy",
"code": "4",
"_content": "The accuracy argument failed validation."
},
{
"message": "Not a valid Places ID",
"code": "5",
"_content": "An invalid Places (or WOE) ID was passed with the API call."
},
{
"message": "No photos geotagged at that location",
"code": "6",
"_content": "There were no geotagged photos found for the authed user at the supplied latitude, longitude and accuracy."
},
{
"message": "SSL is required",
"code": 95,
"_content": "SSL is required to access the Flickr API."
},
{
"message": "Invalid signature",
"code": 96,
"_content": "The passed signature was invalid."
},
{
"message": "Missing signature",
"code": 97,
"_content": "The call required signing but no signature was sent."
},
{
"message": "Login failed / Invalid auth token",
"code": 98,
"_content": "The login details or auth token passed were invalid."
},
{
"message": "User not logged in / Insufficient permissions",
"code": 99,
"_content": "The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions."
},
{
"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": "lat",
"_content": "The latitude of the photos to be update whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated."
},
{
"optional": "0",
"name": "lon",
"_content": "The longitude of the photos to be updated whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated."
},
{
"optional": "0",
"name": "accuracy",
"_content": "Recorded accuracy level of the photos to be updated. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified."
},
{
"optional": "1",
"name": "place_id",
"_content": "A Flickr Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.)"
},
{
"optional": "1",
"name": "woe_id",
"_content": "A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.)"
}
]
}
}