api-ref: limits.inc validate parameters
Part of blueprint api-ref-in-rst Change-Id: I1b39ef719aa9dfcaec83b0d444baf41bb27ee813
This commit is contained in:

committed by
Sean Dague

parent
6a39fad56c
commit
8e0d8b7f9f
@@ -1,5 +1,4 @@
|
|||||||
.. -*- rst -*-
|
.. -*- rst -*-
|
||||||
.. needs:parameter_verification
|
|
||||||
.. needs:example_verification
|
.. needs:example_verification
|
||||||
.. needs:body_verification
|
.. needs:body_verification
|
||||||
|
|
||||||
@@ -30,6 +29,25 @@ Request
|
|||||||
Response
|
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**
|
**Example Show Rate And Absolute Limits: JSON response**
|
||||||
|
|
||||||
.. literalinclude:: ../../doc/api_samples/limits/limit-get-resp.json
|
.. literalinclude:: ../../doc/api_samples/limits/limit-get-resp.json
|
||||||
|
@@ -1497,6 +1497,36 @@ limit_1:
|
|||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
|
limits:
|
||||||
|
description: |
|
||||||
|
Data structure that contains both absolute limits within a deployment.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: object
|
||||||
|
limits_absolutes:
|
||||||
|
description: |
|
||||||
|
Name/value pairs that set quota limits within a deployment.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: object
|
||||||
|
limits_rate_regex:
|
||||||
|
description: |
|
||||||
|
A regular expression defining the URI path to apply the limit to.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
limits_rate_uri:
|
||||||
|
description: |
|
||||||
|
A human readable URI that is used as a friendly description of where the api rate limit is applied.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
limits_rates:
|
||||||
|
description: |
|
||||||
|
An empty list for backwards compatibility purposes.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: array
|
||||||
links:
|
links:
|
||||||
description: |
|
description: |
|
||||||
Links to the resources in question. See `API Guide / Links and
|
Links to the resources in question. See `API Guide / Links and
|
||||||
|
Reference in New Issue
Block a user