Jump to: navigation, search

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

Line 44: Line 44:
  
 
'''same as create queue ?'''
 
'''same as create queue ?'''
 +
 +
=== '''Get Queue Metadata ''' ===
 +
{| class="wikitable"
 +
|-
 +
! Error Scenario!! HTTP Response Code
 +
|-
 +
| Request metadata for a non existing queue || 
 +
|-
 +
|}

Revision as of 16:12, 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 ?

Get Queue Metadata

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