File tree 4 files changed +33
-0
lines changed
4 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,13 @@ delete:
14
14
responses :
15
15
' 200 ' :
16
16
description : OK
17
+ headers :
18
+ x-ratelimit-limit :
19
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-limit'
20
+ x-ratelimit-remaining :
21
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-remaining'
22
+ x-ratelimit-reset :
23
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-reset'
17
24
content :
18
25
application/json :
19
26
schema :
Original file line number Diff line number Diff line change 11
11
responses :
12
12
' 200 ' :
13
13
description : OK
14
+ headers :
15
+ x-ratelimit-limit :
16
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-limit'
17
+ x-ratelimit-remaining :
18
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-remaining'
19
+ x-ratelimit-reset :
20
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-reset'
14
21
content :
15
22
application/json :
16
23
schema :
Original file line number Diff line number Diff line change 9
9
responses :
10
10
' 200 ' :
11
11
description : OK
12
+ headers :
13
+ x-ratelimit-limit :
14
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-limit'
15
+ x-ratelimit-remaining :
16
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-remaining'
17
+ x-ratelimit-reset :
18
+ $ref : ' ../../common/responses/rateLimit.yml#/x-ratelimit-reset'
12
19
content :
13
20
application/json :
14
21
schema :
Original file line number Diff line number Diff line change 37
37
Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status.
38
38
Error responses have a `message` property with more information.
39
39
40
+ ## Rate limiting
41
+
42
+ When making requests to the Personalization API, you are limited to 40 API calls per second per application.
43
+
44
+ The following headers provide information about your current limit:
45
+
46
+ - `x-ratelimit-limit`: The number of requests allowed every second.
47
+ - `x-ratelimit-remaining`: The number of requests remaining in the current
48
+ second period.
49
+ - `x-ratelimit-reset`: [Unix timestamp](https://www.unixtimestamp.com/) of
50
+ the next time period.
51
+
40
52
## Version
41
53
42
54
The current version of the Personalization API is version 1, as indicated by the `/1/` in each endpoint's URL.
You can’t perform that action at this time.
0 commit comments