{
  "arguments": {
    "argument": [
      {
        "_content": "Your API application key. <a href=\"/services/api/misc.api_keys.html\">See here</a> for more details.",
        "name": "api_key",
        "optional": 0
      },
      {
        "_content": "The id of the photo to fetch the context for.",
        "name": "photo_id",
        "optional": "0"
      },
      {
        "_content": "The nsid of the group who's pool to fetch the photo's context for.",
        "name": "group_id",
        "optional": "0"
      }
    ]
  },
  "errors": {
    "error": [
      {
        "_content": "The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view.",
        "code": "1",
        "message": "Photo not found"
      },
      {
        "_content": "The specified photo is not in the specified group's pool.",
        "code": "2",
        "message": "Photo not in pool"
      },
      {
        "_content": "The specified group nsid was not a valid group or the caller does not have permission to view the group's pool.",
        "code": "3",
        "message": "Group not found"
      },
      {
        "_content": "The API key passed was not valid or has expired.",
        "code": 100,
        "message": "Invalid API Key"
      },
      {
        "_content": "The requested service is temporarily unavailable.",
        "code": 105,
        "message": "Service currently unavailable"
      },
      {
        "_content": "The requested operation failed due to a temporary issue.",
        "code": 106,
        "message": "Write operation failed"
      },
      {
        "_content": "The requested response format was not found.",
        "code": 111,
        "message": "Format \"xxx\" not found"
      },
      {
        "_content": "The requested method was not found.",
        "code": 112,
        "message": "Method \"xxx\" not found"
      },
      {
        "_content": "The SOAP envelope send in the request could not be parsed.",
        "code": 114,
        "message": "Invalid SOAP envelope"
      },
      {
        "_content": "The XML-RPC request document could not be parsed.",
        "code": 115,
        "message": "Invalid XML-RPC Method Call"
      },
      {
        "_content": "One or more arguments contained a URL that has been used for abuse on Flickr.",
        "code": 116,
        "message": "Bad URL found"
      }
    ]
  },
  "method": {
    "description": {
      "_content": "Returns next and previous photos for a photo in a group pool."
    },
    "explanation": {
      "_content": "<p>See <a href=\"/services/api/flickr.photos.getContext.html\">flickr.photos.getContext</a></p>"
    },
    "name": "flickr.groups.pools.getContext",
    "needslogin": 0,
    "needssigning": 0,
    "requiredperms": 0,
    "response": {
      "_content": "<prevphoto id=\"2980\" secret=\"973da1e709\"\n\ttitle=\"boo!\" url=\"/photos/bees/2980/\" /> \n<nextphoto id=\"2985\" secret=\"059b664012\"\n\ttitle=\"Amsterdam Amstel\" url=\"/photos/bees/2985/\" /> "
    }
  },
  "stat": "ok"
}