Jump to: navigation, search

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

(List Queues)
Line 40: Line 40:
=== '''Set Queue Metadata ''' ===
'''same as create queue ?'''

Revision as of 16:07, 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 really looong name

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 ?