Response codes for Cloud Feeds publishers and subscribers

The Rackspace Cloud Fee API uses standard HTTP/1.1 response codes.

Response code for subscribers

Code categoryCodeCode descriptionExample requestExample response
Successful200OKGET request to collection URI200 + Atom feed document
Successful200OKGET request to Member URI200 + Member Representation
Client Error401NoneGET request with a missing, expired, or invalid tokenNone
Client Error404NoneGET request to non-existent pageNone
Client Error405NoneUsing any method other than GETNone
Server Error500Internal server errorNone

  Example: Error message example

HTTP/1.1 400 Bad Request
Content-Type: application/json

{
  "title": "Unsupported limit",
  "description": "The given limit cannot be negative, and cannot be greater than 50.",
  "code": 1092,
  "link": {
    "rel": "help",
    "href": "http://docs.example.com/messages#limit",
    "text": "API documentation for the limit parameter"
  }
}