File tree Expand file tree Collapse file tree 4 files changed +33
-0
lines changed Expand file tree Collapse file tree 4 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,13 @@ delete:
1414 responses :
1515 ' 200 ' :
1616 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'
1724 content :
1825 application/json :
1926 schema :
Original file line number Diff line number Diff line change 1111 responses :
1212 ' 200 ' :
1313 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'
1421 content :
1522 application/json :
1623 schema :
Original file line number Diff line number Diff line change 99 responses :
1010 ' 200 ' :
1111 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'
1219 content :
1320 application/json :
1421 schema :
Original file line number Diff line number Diff line change 3737 Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status.
3838 Error responses have a `message` property with more information.
3939
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+
4052 ## Version
4153
4254 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