Coruson API

<back to all web services

GetRateLimits

Coruson API Information

Requires Authentication
The following routes are available for this service:
GET/api/application/rateLimitsRetrieve Rate Limits for each requestEvery 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.
GetRateLimits Parameters:
NameParameterData TypeRequiredDescription
ResourcequerystringNoRetrieve rate limits for all requests belonging to this resource.
RequestBase Parameters:
NameParameterData TypeRequiredDescription
VersionformintNo
GetRateLimitsResponse Parameters:
NameParameterData TypeRequiredDescription
RateLimitsformList<RateLimit>No
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
StatusDescriptionformstringNo
ResponseStatusformResponseStatusNo
RateLimit Parameters:
NameParameterData TypeRequiredDescription
RouteformstringNo
VerbformstringNo
RequestPerMinuteformintNo
RequestPerTwoSecondsformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

                    POST /json/reply/GetRateLimits HTTP/1.1 
Host: platform.gaelenlighten.com 
Content-Type: application/json
Content-Length: length

{"Resource":"String","Version":0}
                    
HTTP/1.1 200 OK
Content-Type: application/json
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}]}