Current section

Files

Jump to
flickrex lib flickr getMethodInfo flickr.stats.getPhotoDomains.json
Raw

lib/flickr/getMethodInfo/flickr.stats.getPhotoDomains.json

{
"stat": "ok",
"method": {
"response": {
"_content": "<domains page=\"1\" perpage=\"25\" pages=\"1\" total=\"3\">\n\t<domain name=\"images.search.yahoo.com\" views=\"127\" />\n\t<domain name=\"flickr.com\" views=\"122\" />\n\t<domain name=\"images.google.com\" views=\"70\" />\n</domains>\n"
},
"requiredperms": "1",
"needssigning": 1,
"needslogin": 1,
"name": "flickr.stats.getPhotoDomains",
"explanation": {
"_content": "<p>There is one <code>&lt;domain&gt;</code> element for each referring domain, with attributes for the domain name and the number of views.</p>\n\n<p>For details on the referrers coming from each domain listed you can call <a href=\"/services/api/flickr.stats.getPhotoReferrers.html\">flickr.stats.getPhotoReferrers</a></p>"
},
"description": {
"_content": "Get a list of referring domains for a photo"
}
},
"errors": {
"error": [
{
"message": "User does not have stats",
"code": "1",
"_content": "The user you have requested stats has not enabled stats on their account."
},
{
"message": "No stats for that date",
"code": "2",
"_content": "No stats are available for the date requested. Flickr only keeps stats data for the last 28 days."
},
{
"message": "Invalid date",
"code": "3",
"_content": "The date provided could not be parsed"
},
{
"message": "Photo not found",
"code": "4",
"_content": "The photo id was either invalid or was for a photo not owned by the calling user."
},
{
"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": "date",
"_content": "Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format.\n\nA day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day."
},
{
"optional": "1",
"name": "photo_id",
"_content": "The id of the photo to get stats for. If not provided, stats for all photos will be returned."
},
{
"optional": "1",
"name": "per_page",
"_content": "Number of domains to return per page. If this argument is omitted, it defaults to 25. The maximum allowed value is 100."
},
{
"optional": "1",
"name": "page",
"_content": "The page of results to return. If this argument is omitted, it defaults to 1."
}
]
}
}