nova/api-ref/source/limits.inc
jichenjc ebfe33f587 api-ref: verfiy limits body
This verify the limits.inc by only a small wording change

part of bp:api-ref-in-rst

Change-Id: I1f0ffbf913fc9db344d8cdf66bc3aa4339a2a75b
2016-05-02 01:54:38 +08:00

46 lines
1.1 KiB
ReStructuredText

.. -*- rst -*-
=================
Limits (limits)
=================
Shows rate and absolute limits for the project.
Show Rate And Absolute Limits
=============================
.. rest_method:: GET /limits
Shows rate and absolute limits for the project.
Normal response codes: 200
Error response codes: unauthorized(401), forbidden(403)
Response
--------
.. rest_parameters:: parameters.yaml
- limits: limits
- absolute: limits_absolutes
- maxImageMeta: metadata_items
- maxPersonality: injected_files
- maxPersonalitySize: injected_file_content_bytes
- maxSecurityGroupRules: security_group_rules
- maxSecurityGroups: security_groups
- maxServerGroupMembers: server_group_members
- maxServerGroups: server_groups
- maxServerMeta: metadata_items
- maxTotalCores: cores
- maxTotalFloatingIps: floating_ips
- maxTotalInstances: instances
- maxTotalKeypairs: key_pairs
- maxTotalRAMSize: ram
- rate: limits_rates
**Example Show Rate And Absolute Limits: JSON response**
.. literalinclude:: ../../doc/api_samples/limits/limit-get-resp.json
:language: javascript