918560396e
This complete the Method Verification of limits, as this is the only method supported. http://paste.openstack.org/show/495202/ has the method call and return sample value. also, clean and correct some error return code. Part of bp:api-ref-in-rst Change-Id: Ic1dca126d1acef3eaa8a56ef764f3ddefcb28ba4
38 lines
701 B
ReStructuredText
38 lines
701 B
ReStructuredText
.. -*- rst -*-
|
|
.. needs:parameter_verification
|
|
.. needs:example_verification
|
|
.. needs:body_verification
|
|
|
|
=================
|
|
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: unauthorized(401), forbidden(403)
|
|
|
|
Request
|
|
-------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- tenant_id: tenant_id
|
|
|
|
Response
|
|
--------
|
|
|
|
**Example Show Rate And Absolute Limits: JSON response**
|
|
|
|
.. literalinclude:: ../../doc/api_samples/limits/limit-get-resp.json
|
|
:language: javascript
|
|
|