Files
nova/api-ref/source/limits.inc
T
ghanshyam d8f9d2328e Fix api ref for ips, limits, metdata and agent
This patch fix API ref for correct sample files and status code
for below APIs
- ips
- limits
- server metadata
- agents

Part of bp:api-ref-in-rst

Change-Id: I91b769eefde78381dc0feb6b5c8c6cf753203732
2016-04-19 19:32:48 +09:00

36 lines
712 B
ReStructuredText

.. -*- rst -*-
=================
Limits (limits)
=================
Shows rate and absolute limits for the tenant.
Show Rate And Absolute Limits
=============================
.. rest_method:: GET /v2.1/{tenant_id}/limits
Shows rate and absolute limits for the tenant.
Normal response codes: 200
Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400),
unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404)
Request
-------
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id
Response
--------
**Example Show Rate And Absolute Limits: JSON request**
.. literalinclude:: ../../doc/api_samples/limits/limit-get-resp.json
:language: javascript