Subscription Validation
Get all subscription throttling policies
Changed onThis will provide access to subscription level throttling policies in database.
get/subscription-policies
Request
- Base URLhttps://apim.wso2.com/v1
- URLhttps://apim.wso2.com/v1/subscription-policies
- Authnone declared. Required headers: xWSO2Tenant
Query parameters
policyNamestring
Search condition. Subscription policy name
Headers
xWSO2Tenantstring required
This is used to specify the tenant domain, where the resource need to be retrieved from.
Response
An array of subscription policies in the database
Example response
{
"count": 1,
"list": [
{
"graphQLMaxComplexity": 400,
"graphQLMaxDepth": 10,
"defaultLimit": {
"requestCount": {
"timeUnit": "min",
"unitTime": 10,
"requestCount": 1000
},
"bandwidth": {
"timeUnit": "min",
"unitTime": 10,
"dataAmount": 1000,
"dataUnit": "KB"
},
"eventCount": {
"timeUnit": "min",
"unitTime": 10,
"eventCount": 3000
},
"aiApiQuota": {
"timeUnit": "min",
"unitTime": 10,
"requestCount": 1000,
"totalTokenCount": 1000,
"promptTokenCount": 300,
"completionTokenCount": 300
}
}
}
],
"pagination": {
"limit": 1,
"total": 10
}
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info
- breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status
- breaking