Jump to: navigation, search

Difference between revisions of "Zaqar/specs/api/v1/responsecodes"

(Create Queue)
Line 19: Line 19:
 
| Request body has malformed JSON ||   
 
| Request body has malformed JSON ||   
 
|-
 
|-
| Queue has really looong name ||   
+
| Queue has a long name (>512 bytes)||   
  
 
|}
 
|}

Revision as of 16:13, 21 March 2013

Create Queue

Error Scenario HTTP Response Code
Request Body is Empty
Request Body has toplevel field starting with underscore
Request header has missing fields
Request header has invalid auth token
Request header has Accept != "application/json"
Request body is >4KB
Request body has malformed JSON
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