lkpexpert.blogg.se

Image mastering api ver. 2
Image mastering api ver. 2







The sys object contains system managed and resource dependent information. Meaning: wait 15 minutes before making more requests (which frees up 9000 requests - 15 minutes later 9000 requests get freed up and so on).Įvery resource returned by the API includes a sys property. Meaning: wait 1 second before making more requests.Ĭlient: 9000 requests in 15 minutes, 9000 requests in following 15 minutes, 9000 requests in following 15 minutes, 9000 requests in following 15 minutes HTTP/1.1 429 More requests are allowed.Ĭlient: 11 requests in 1 second HTTP/1.1 429 The current rate limits for a client are the default 7 per second.Ĭlient: 5 requests in 1 second HTTP/1.1 2xx

#Image mastering api ver. 2 code#

When a client gets rate limited, the API responds with the 429 Too Many Requests HTTP status code and sets the value X-Contentful-RateLimit-Reset header to an integer specifying the time before the limit resets and another request will be accepted.Īs the client is rate limited per second, the header will return 1, which means the next second. X-Contentful-RateLimit-Second-Remaining: 9 Here is a part of a Contentful Management API response example showing the headers for rate limiting: X-Contentful-RateLimit-Reset: 0 The number of seconds until the next request can be made. The remaining amount of requests which can be made until the next secondly reset. The maximum amount of requests which can be made in a second. The following table lists all headers returned in every response by the Content Management API which give a client information on rate limiting: Header Higher rate limits may apply depending on your current plan.

image mastering api ver. 2 image mastering api ver. 2

Every request counts against a per second rate limit.īy default the Contentful Management API enforces rate limits of 7 requests per second. API Rate limits specify the number of requests a client can make to Contentful APIs in a specific time frame.







Image mastering api ver. 2