Red Hat 3scale · Schema

UsageReport

API GatewayAPI ManagementDeveloper PortalEnterpriseRed Hat

Properties

Name Type Description
metric string The metric name (e.g. hits)
period string The time period (minute, hour, day, month, year, eternity)
period_start string
period_end string
max_value integer Maximum allowed value for this period
current_value integer Current usage value for this period
View JSON Schema on GitHub

JSON Schema

red-hat-3scale-usagereport-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UsageReport",
  "title": "UsageReport",
  "type": "object",
  "properties": {
    "metric": {
      "type": "string",
      "description": "The metric name (e.g. hits)"
    },
    "period": {
      "type": "string",
      "description": "The time period (minute, hour, day, month, year, eternity)"
    },
    "period_start": {
      "type": "string",
      "format": "date-time"
    },
    "period_end": {
      "type": "string",
      "format": "date-time"
    },
    "max_value": {
      "type": "integer",
      "description": "Maximum allowed value for this period"
    },
    "current_value": {
      "type": "integer",
      "description": "Current usage value for this period"
    }
  }
}