RapidAPI · Schema
HubSubscription
API MarketplaceAPI ManagementAPI TestingAPI GatewayAPI DesignEnterprise
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique subscription identifier |
| apiId | string | The subscribed API identifier |
| apiName | string | Name of the subscribed API |
| planName | string | Name of the subscription plan |
| status | string | Current subscription status |
| usageCount | integer | Number of API calls made in the current period |
| usageLimit | integer | Maximum API calls allowed in the current period |
| subscribedAt | string | Timestamp when the subscription was created |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/HubSubscription",
"title": "HubSubscription",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique subscription identifier"
},
"apiId": {
"type": "string",
"description": "The subscribed API identifier"
},
"apiName": {
"type": "string",
"description": "Name of the subscribed API"
},
"planName": {
"type": "string",
"description": "Name of the subscription plan"
},
"status": {
"type": "string",
"enum": [
"active",
"cancelled",
"expired"
],
"description": "Current subscription status"
},
"usageCount": {
"type": "integer",
"description": "Number of API calls made in the current period"
},
"usageLimit": {
"type": "integer",
"description": "Maximum API calls allowed in the current period"
},
"subscribedAt": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the subscription was created"
}
}
}