rhok-melbourne/kingtides-api

View on GitHub
data/flickr/methods/flickr.auth.oauth.checkToken.json

Summary

Maintainability
Test Coverage
{
  "method": {
    "name": "flickr.auth.oauth.checkToken",
    "needslogin": 0,
    "needssigning": 1,
    "requiredperms": 0,
    "description": {
      "_content": "Returns the credentials attached to an OAuth authentication token."
    },
    "response": {
      "_content": "<oauth>\r\n    <token>72157627611980735-09e87c3024f733da</token>\r\n    <perms>write</perms>\r\n    <user nsid=\"1121451801@N07\" username=\"jamalf\" fullname=\"Jamal F\"/>\r\n</oauth>"
    }
  },
  "arguments": {
    "argument": [
      {
        "name": "api_key",
        "optional": 0,
        "_content": "Your API application key. <a href=\"/services/api/misc.api_keys.html\">See here</a> for more details."
      },
      {
        "name": "oauth_token",
        "optional": "0",
        "_content": "The OAuth authentication token to check."
      }
    ]
  },
  "errors": {
    "error": [
      {
        "code": 96,
        "message": "Invalid signature",
        "_content": "The passed signature was invalid."
      },
      {
        "code": 97,
        "message": "Missing signature",
        "_content": "The call required signing but no signature was sent."
      },
      {
        "code": 100,
        "message": "Invalid API Key",
        "_content": "The API key passed was not valid or has expired."
      },
      {
        "code": 105,
        "message": "Service currently unavailable",
        "_content": "The requested service is temporarily unavailable."
      },
      {
        "code": 106,
        "message": "Write operation failed",
        "_content": "The requested operation failed due to a temporary issue."
      },
      {
        "code": 111,
        "message": "Format \"xxx\" not found",
        "_content": "The requested response format was not found."
      },
      {
        "code": 112,
        "message": "Method \"xxx\" not found",
        "_content": "The requested method was not found."
      },
      {
        "code": 114,
        "message": "Invalid SOAP envelope",
        "_content": "The SOAP envelope send in the request could not be parsed."
      },
      {
        "code": 115,
        "message": "Invalid XML-RPC Method Call",
        "_content": "The XML-RPC request document could not be parsed."
      },
      {
        "code": 116,
        "message": "Bad URL found",
        "_content": "One or more arguments contained a URL that has been used for abuse on Flickr."
      }
    ]
  },
  "stat": "ok"
}