Difference between revisions of "Zaqar/specs/api/v1/responsecodes"
< Zaqar | specs/api/v1
(→Create Queue) |
(→List Queues) |
||
Line 24: | Line 24: | ||
=== '''List Queues ''' === | === '''List Queues ''' === | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! 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 || | ||
+ | |||
+ | |} |
Revision as of 16:04, 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 |