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...")
 
m (Malini moved page Marconi/devguide/createQueue to Zaqar/devguide/createQueue: Project Rename)
 
(One intermediate revision by one other user not shown)
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
 

Latest revision as of 18:42, 7 August 2014