{
  "stat": "ok",
  "method": {
    "requiredperms": "2",
    "needssigning": 1,
    "needslogin": 1,
    "name": "flickr.groups.pools.add",
    "description": {
      "_content": "Add a photo to a group's pool."
    }
  },
  "errors": {
    "error": [
      {
        "message": "Photo not found",
        "code": "1",
        "_content": "The photo id passed was not the id of a photo owned by the caling user."
      },
      {
        "message": "Group not found",
        "code": "2",
        "_content": "The group id passed was not a valid id for a group the user is a member of."
      },
      {
        "message": "Photo already in pool",
        "code": "3",
        "_content": "The specified photo is already in the pool for the specified group."
      },
      {
        "message": "Photo in maximum number of pools",
        "code": "4",
        "_content": "The photo has already been added to the maximum allowed number of pools."
      },
      {
        "message": "Photo limit reached",
        "code": "5",
        "_content": "The user has already added the maximum amount of allowed photos to the pool."
      },
      {
        "message": "Your Photo has been added to the Pending Queue for this Pool",
        "code": "6",
        "_content": "The pool is moderated, and the photo has been added to the Pending Queue. If it is approved by a group administrator, it will be added to the pool."
      },
      {
        "message": "Your Photo has already been added to the Pending Queue for this Pool",
        "code": "7",
        "_content": "The pool is moderated, and the photo has already been added to the Pending Queue."
      },
      {
        "message": "Content not allowed",
        "code": "8",
        "_content": "The content has been disallowed from the pool by the group admin(s)."
      },
      {
        "message": "Maximum number of photos in Group Pool",
        "code": "10",
        "_content": "A group pool has reached the upper limit for the number of photos allowed."
      },
      {
        "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": "photo_id",
        "_content": "The id of the photo to add to the group pool. The photo must belong to the calling user."
      },
      {
        "optional": "0",
        "name": "group_id",
        "_content": "The NSID of the group who's pool the photo is to be added to."
      }
    ]
  }
}