Files
doc-exports/docs/apig/umn/apig_03_0099.html
Chen, Junjie 324aa7d3c4 APIG UMN 20240708 version
Reviewed-by: Mützel, Andrea <andrea.muetzel@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-11-05 15:25:06 +00:00

3.9 KiB

x-apigateway-ratelimits

Meaning: Mapping between a request throttling policy name and limit values.

Scope of effect: Swagger Object

Example:

x-apigateway-ratelimits:
  customRatelimitName:
    api-limit: 200
    app-limit: 200
    user-limit: 200
    ip-limit: 200
    interval: 1
    unit: second/minute/hour
    shared: true
    special: 
      - type: APP
        limit: 100
        instance: xxxxxxxxx
Table 1 Parameter description

Parameter

Mandatory

Type

Description

customRatelimitName

No

x-apigateway-ratelimits.policy

Name of a request throttling policy.

To use the policy, set x-apigateway-ratelimit to the policy name.