QuotaApiConstraintDTO

Summary

The APIConstraint is restriction that applies to API(s) and API method(s).

Description

none

Fields

Field Name Type Since Version Description
api String The API identifier from API discovery, or '*' for all API
method String The API method identifier from API discovery, or '*' for all methods
type String The restriction type, one of: throttle, throttlemb
config HashMap The restriction configuration

Example JSON

{
  "api" : "60d1c7da-9e2e-4f57-948a-eeb1da71beca",
  "method" : "0c5f8a4a-0e74-4e66-ad7b-e21962940e02",
  "type" : "throttle",
  "config" : {
    "messages" : "10",
    "per" : "1",
    "period" : "seconds"
  }
}