c9f5ad3bcf
As discussed at summit, the version part of the URL is not really relevant, or a thing a user should be filling out themselves, this should instead be set by the service catalog and extracted from the token. This removes it's reference in all documented REST urls, and adds a new section describing how one gets the base URL for all calls. Change-Id: I4306b8c3de0225e54f3909dd8a1fb293c4e5944c
46 lines
1.1 KiB
ReStructuredText
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
|