GET https://apis.wso2.com/api/am/admin/v0.16/throttling/policies/advanced
Retrieves all existing Advanced level throttling policies.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Accept optional |
Media types acceptable for the response. Default is application/json. |
String |
application/json |
Header |
If-None-Match optional |
Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource (Will be supported in future). |
String | |
Header |
If-Modified-Since optional |
Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Policies returned |
AdvancedThrottlePolicyList |
304 |
Not Modified. Empty body because the client has already the latest version of the requested resource (Will be supported in future). |
|
406 |
Not Acceptable. The requested media type is not supported. |
Error |
POST https://apis.wso2.com/api/am/admin/v0.16/throttling/policies/advanced
Add a new Advanced level throttling policy.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body required |
Advanced level policy object that should to be added |
AdvancedThrottlePolicy (AdvancedThrottlePolicy) | |
Header |
Content-Type required |
Media type of the entity in the body. Default is application/json. |
String |
application/json |
HTTP Code | Description | Schema |
---|---|---|
201 |
Created. Successful response with the newly created object as entity in the body. Location header contains URL of newly created entity. |
AdvancedThrottlePolicy |
400 |
Bad Request. Invalid request or validation error |
Error |
415 |
Unsupported media type. The entity of the request was in a not supported format. |