Jump to: navigation, search

Zaqar/specs/api/v1/responsecodes

< Zaqar‎ | specs/api/v1
Revision as of 15:13, 25 March 2013 by Malini (talk | contribs) (Create Queue)

Create Queue

Error Scenario HTTP Response Code
Request Body is Empty 400
Request Body has toplevel field starting with underscore
Request header has missing fields 400
Request header has invalid auth token 401
Request header has Accept != "application/json"
Request body is >4KB
Request body has malformed JSON 400
Queue has a long name (>512 bytes)

List Queues

Error Scenario HTTP Response Code
Request a non existing queue
URL has invalid param (something other than limit,marker,metadata)
Request with negative value for limit
Request with non existing value of marker
Request with non boolean value for metadata

Set Queue Metadata

same as create queue ?

Get Queue Metadata

Error Scenario HTTP Response Code
Request metadata for a non existing queue

Get Queue Stats

Error Scenario HTTP Response Code
Request stats for a non existing queue

Delete Queue

Error Scenario HTTP Response Code
Delete a non existing queue