designate/api-ref/source/dns-api-v2-limits.inc
Graham Hayes 21569891c7 Add Limits to API-Ref Docs
Change-Id: Id327bfbf93e78064806a8efff8c1e20aac8cc2ba
2016-05-16 18:26:21 +01:00

54 lines
997 B
PHP

======
Limits
======
Show the limits for the current project
Get Project Limits
==================
.. rest_method:: GET /v2/limits
Create a zone
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