This operation can be used to retrieve details of a single tier by specifying the tier level and tier name.
Not required
GET https://127.0.0.1:9443/api/am/store/v0.11/tiers/api/Bronze
HTTP/1.1 200 OK
Content-Type: application/json
{
"unitTime": 60000,
"tierPlan": "FREE",
"stopOnQuotaReach": true,
"tierLevel": "api",
"requestCount": 1,
"description": "Allows 1 request(s) per minute.",
"name": "Bronze",
"attributes": {}
}
curl "https://127.0.0.1:9443/api/am/store/v0.11/tiers/api/Bronze"
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
tierName required |
Tier name |
String | |
Path |
tierLevel required |
List API or Application type tiers. Accepted values: api
application
|
String | |
Header |
X-WSO2-Tenant optional |
For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. |
String | |
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 resourec. |
String | |
Header |
If-Modified-Since optional |
Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Tier returned |
Tier |
304 |
Not Modified. Empty body because the client has already the latest version of the requested resource (Will be supported in future). |
|
404 |
Not Found. Requested Tier does not exist. |
Error |
406 |
Not Acceptable. The requested media type is not supported. |
Error |