designate/api-ref/source/dns-api-v2-limits.inc
sonu.kumar 43954cf6a5 Resolve incorrect description and response codes in api-ref docs
Closes-Bug: #1583012

Change-Id: If4aae746082ed52d6e5b428776e270e5ad9b67b7
2016-05-18 07:52:18 +00:00

54 lines
1003 B
HTML

======
Limits
======
Show the limits for the current project
Get Project Limits
==================
.. rest_method:: GET /v2/limits
List project limits
Normal response codes: 200
Error response codes:405,404,403,401,400,503,
Request
-------
.. rest_parameters:: parameters.yaml
- x-auth-token: x-auth-token
- x-auth-all-projects: x-auth-all-projects
- x-auth-sudo-project-id: x-auth-sudo-project-id
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- x-openstack-request-id: x-openstack-request-id
- max_page_limit: max_page_limit
- max_recordset_name_length: max_recordset_name_length
- max_recordset_records: max_recordset_records
- max_zone_name_length: max_zone_name_length
- max_zone_records: max_zone_records
- max_zone_recordsets: max_zone_recordsets
- max_zones: max_zones
- min_ttl: min_ttl
Response Example
----------------
.. literalinclude:: samples/limits/get-limits-response.json
:language: javascript