Get RateLimit

This API is used to get ratelimit for website acceleration service.

1. Request Definition

  • API URL
https://cdn-api.swiftfederation.com/v2.0/services/{serviceId}/ratelimit
  • Request Method
GET
  • Request Header

Refer to HTTP Request Headers

  • Request Body

No request body for this API.


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
Field Type Description
time_frame int Time to apply the limit for, sec.
req_limit int Max allowed request number from the same user IP per time_frame.
ignore_path boolean Ignore URLs, apply a single limit for all URLs from user IP.
ignore_query boolean Ignore Query String when counting requests.
  • Response Body Example
{
    "time_frame": 60,
    "req_limit": 100,
    "ignore_path": true,
    "ignore_query": true
}
           Updated 2024-08-26 07:42:13

results matching ""

    No results matching ""