Jump to: navigation, search

Difference between revisions of "Zaqar/devguide/createQueue"

(Created page with "'''Create Queue''' Template: PUT /v1/queues/{queue_name} Normal response code(s): 201 Error response codes: badRequest (400), unauthorized (401), unauthorized (406) This o...")
 
(Blanked the page)
Line 1: Line 1:
'''Create Queue'''
 
  
Template: PUT /v1/queues/{queue_name}
 
 
Normal response code(s): 201
 
 
Error response codes: badRequest (400), unauthorized (401), unauthorized (406)
 
 
This operation creates a new queue. queue_name is the name given to the queue. The name MUST NOT exceed 64 bytes in length, and is limited to US-ASCII letters, digits, underscores, and hyphens. The body of the PUT is empty.
 
 
Request example:
 
 
PUT /v1/queues/fizbat HTTP/1.1
 
Host: marconi.example.com
 
 
Response example:
 
 
HTTP/1.1 201 Created
 
Location: /v1/queues/fizbit
 

Revision as of 19:29, 20 August 2013