rhok-melbourne/kingtides-api

View on GitHub
data/flickr/methods/flickr.auth.getFullToken.json

Summary

Maintainability
Test Coverage
{
  "method": {
    "name": "flickr.auth.getFullToken",
    "needslogin": 0,
    "needssigning": 0,
    "requiredperms": 0,
    "description": {
      "_content": "Get the full authentication token for a mini-token. <b>This method call must be signed</b>, and is <b><a href=\"/services/api/auth.oauth.html\">deprecated in favour of OAuth</a></b>."
    },
    "response": {
      "_content": "<auth>\r\n\t<token>976598454353455</token>\r\n\t<perms>write</perms>\r\n\t<user nsid=\"12037949754@N01\" username=\"Bees\" fullname=\"Cal H\" />\r\n</auth>"
    },
    "explanation": {
      "_content": "<p><code>perms</code> can have values of <code>none</code>, <code>read</code>, <code>write</code> or <code>delete</code>. For more information, see the <a href=\"/services/api/auth.spec.html\">Auth API spec</a>.</p>"
    }
  },
  "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": "mini_token",
        "optional": "0",
        "_content": "The mini-token typed in by a user. It should be 9 digits long. It may optionally contain dashes."
      }
    ]
  },
  "errors": {
    "error": [
      {
        "code": "1",
        "message": "Mini-token not found",
        "_content": "The passed mini-token was not valid."
      },
      {
        "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"
}