QuotaDTO

Summary

The Quota is a set of restrictions that apply to applications in the Portal.

Description

none

Fields

Field Name Type Since Version Description
id String The quota identifier
type ApiQuotaType The quota type, either API or APPLICATION
name String The name of the quota
description String The quota for MyApplication the overrides default Application quota
restrictions [QuotaApiConstraintDTO] An array of restrictions imposed on the quota
system Boolean Indicates if the quota is system (protected)

Example JSON

{
  "id" : "a1c70859-702b-4f3a-a1ad-a61067fdc4c7",
  "type" : "APPLICATION",
  "name" : "MyApplication Quota",
  "description" : "A set of restrictions to MyApplication",
  "restrictions" : [ {
    "api" : "60d1c7da-9e2e-4f57-948a-eeb1da71beca",
    "method" : "0c5f8a4a-0e74-4e66-ad7b-e21962940e02",
    "type" : "throttle",
    "config" : {
      "messages" : "10",
      "per" : "1",
      "period" : "seconds"
    }
  } ],
  "system" : false
}