From 87819ad21fd4f36e41bd232fb19e2ba8632fd57f Mon Sep 17 00:00:00 2001 From: apidesigner Date: Thu, 15 Jun 2017 11:05:10 +0000 Subject: [PATCH] Updates execution/rate-limiting.md Auto commit by GitBook Editor --- execution/rate-limiting.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/execution/rate-limiting.md b/execution/rate-limiting.md index dc2d5fd..bb59837 100644 --- a/execution/rate-limiting.md +++ b/execution/rate-limiting.md @@ -11,12 +11,16 @@ Example response to a request over the quota limit: ``` HTTP/1.1 403 Forbidden -Content-Type: text/xml +Content-Type: application/problem+json X-Error-Detail-Header: Account Over Rate Limit X-Mashery-Error-Code: ERR_403_DEVELOPER_OVER_RATE -

Developer Over Rate

+{ + "title": "Rate Limit Exceeded", + "detail": "Account Over Rate Limit" +} + ``` ## Throttle Limit @@ -27,13 +31,16 @@ Example response to a request over the throttle limit: ``` HTTP/1.1 403 Forbidden -Content-Type: text/xml +Content-Type: application/problem+json Retry-After: 1 X-Error-Detail-Header: Account Over Queries Per Second Limit X-Mashery-Error-Code: ERR_403_DEVELOPER_OVER_QPS -

Developer Over Qps

+{ + "title": "Quota Limit Exceeded", + "detail": "Account Over Queries Per Second Limit" +} ``` > NOTE: The `Retry-After` gives a hint how long before the same request should be repeated (in seconds).