Skip to content

Commit 71c4f92

Browse files
algolia-botmillotp
andcommitted
chore: generated code for commit be060a0. [skip ci]
Co-authored-by: Pierre Millot <[email protected]>
1 parent be060a0 commit 71c4f92

File tree

2 files changed

+42
-22
lines changed

2 files changed

+42
-22
lines changed

specs/bundled/insights.doc.yml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,19 +1848,11 @@ paths:
18481848
description: No content.
18491849
headers:
18501850
x-ratelimit-limit:
1851-
description: Maximum number of requests you can make to this endpoint.
1852-
schema:
1853-
type: integer
1851+
$ref: '#/components/headers/x-ratelimit-limit'
18541852
x-ratelimit-remaining:
1855-
description: >-
1856-
Number of remaining API requests you can make to this endpoint
1857-
before reaching the rate limit.
1858-
schema:
1859-
type: integer
1853+
$ref: '#/components/headers/x-ratelimit-remaining'
18601854
x-ratelimit-reset:
1861-
description: Timestamp in Unix epoch time when the rate limit will reset.
1862-
schema:
1863-
type: integer
1855+
$ref: '#/components/headers/x-ratelimit-reset'
18641856
'422':
18651857
description: Unprocessable Entity.
18661858
content:
@@ -2865,6 +2857,24 @@ components:
28652857
application/json:
28662858
schema:
28672859
$ref: '#/components/schemas/ErrorBase'
2860+
headers:
2861+
x-ratelimit-limit:
2862+
description: Number of allowed requests per one minute.
2863+
example: 100
2864+
schema:
2865+
type: integer
2866+
x-ratelimit-remaining:
2867+
description: Number of remaining requests in the current period.
2868+
example: 99
2869+
schema:
2870+
type: integer
2871+
x-ratelimit-reset:
2872+
description: >-
2873+
Timstamp when the rate limit will reset, measured in seconds since the
2874+
Unix epoch.
2875+
example: 1710682486
2876+
schema:
2877+
type: integer
28682878
x-tagGroups:
28692879
- name: General
28702880
tags:

specs/bundled/insights.yml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -695,19 +695,11 @@ paths:
695695
description: No content.
696696
headers:
697697
x-ratelimit-limit:
698-
description: Maximum number of requests you can make to this endpoint.
699-
schema:
700-
type: integer
698+
$ref: '#/components/headers/x-ratelimit-limit'
701699
x-ratelimit-remaining:
702-
description: >-
703-
Number of remaining API requests you can make to this endpoint
704-
before reaching the rate limit.
705-
schema:
706-
type: integer
700+
$ref: '#/components/headers/x-ratelimit-remaining'
707701
x-ratelimit-reset:
708-
description: Timestamp in Unix epoch time when the rate limit will reset.
709-
schema:
710-
type: integer
702+
$ref: '#/components/headers/x-ratelimit-reset'
711703
'422':
712704
description: Unprocessable Entity.
713705
content:
@@ -1513,6 +1505,24 @@ components:
15131505
application/json:
15141506
schema:
15151507
$ref: '#/components/schemas/ErrorBase'
1508+
headers:
1509+
x-ratelimit-limit:
1510+
description: Number of allowed requests per one minute.
1511+
example: 100
1512+
schema:
1513+
type: integer
1514+
x-ratelimit-remaining:
1515+
description: Number of remaining requests in the current period.
1516+
example: 99
1517+
schema:
1518+
type: integer
1519+
x-ratelimit-reset:
1520+
description: >-
1521+
Timstamp when the rate limit will reset, measured in seconds since the
1522+
Unix epoch.
1523+
example: 1710682486
1524+
schema:
1525+
type: integer
15161526
x-tagGroups:
15171527
- name: General
15181528
tags:

0 commit comments

Comments
 (0)