Difference between revisions of "Zaqar/specs/endpoint"
< Zaqar
(→ClaimController) |
(→QueueController) |
||
Line 21: | Line 21: | ||
* Update Queue | * Update Queue | ||
* Delete Queue | * Delete Queue | ||
− | * Get queue | + | * Get queue stats |
* Get Actions | * Get Actions | ||
Revision as of 23:42, 12 March 2013
Contents
Marconi Endpoints
Endpoints define the protocol between a given transport and the storage driver. In this way, multiple transports like HTTP and ZMQ can be supported; they are not exclusive and can be enabled directly from the config file.
Related endpoints are grouped into one of several controllers, who's interface is defined by an abstract base class. The storage driver provides a concrete implementation for each controller type.
For specific implementations read: HTTP, ZMQ
Common Endpoints, exposed by Storage Drivers
Storage drivers export 3 controllers which group endpoints by resource.
TODO(kgriffs): Define params and valid ranges for each.
QueueController
- List Queues
- Get queue
- Create Queue
- Update Queue
- Delete Queue
- Get queue stats
- Get Actions
MessageController
- Get Message(s)
- Post Message(s)
- Delete Message
ClaimController
- Claim messages
- Query claim
- Update claim
- Release Claim
- Claim Stats
Transport-Specific
The following endpoints only apply to specific transports.
WSGI
- Node health (test_reachable)
- Get home document