GET | /api/application/rateLimits | Retrieve Rate Limits for each request | Every request has two different limits. Requests allowed every minute and requests allowed every two seconds. If a limit is set to 0, then there is no limit for this request. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Resource | query | string | No | Retrieve rate limits for all requests belonging to this resource. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Version | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RateLimits | form | List<RateLimit> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StatusDescription | form | string | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Route | form | string | No | |
Verb | form | string | No | |
RequestPerMinute | form | int | No | |
RequestPerTwoSeconds | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/GetRateLimits HTTP/1.1
Host: platform.gaelenlighten.com
Content-Type: text/csv
Content-Length: length
{"Resource":"String","Version":0}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"StatusDescription":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"RateLimits":[{"Route":"String","Verb":"String","RequestPerMinute":0,"RequestPerTwoSeconds":0}]}