You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: oas/history/openapi.yaml
+71-4Lines changed: 71 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,8 @@ paths:
44
44
operationId: ByProjectKeyGet
45
45
description: |-
46
46
The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
47
+
48
+
If the request exceeds the rate limit, a [TooManyRequests](ctp:history:type:TooManyRequestsError) error is returned.
47
49
parameters:
48
50
- name: resourceTypes
49
51
in: query
@@ -228,9 +230,17 @@ paths:
228
230
schema:
229
231
$ref: '#/components/schemas/ErrorResponse'
230
232
233
+
"429":
234
+
description: |-
235
+
Too Many Requests. Indicates that the client has exceeded the API rate limit. Reduce the date range and resource types in your query to minimize the token usage, or retry the request after some time (indicated in the `Retry-After` header).
236
+
content:
237
+
application/json:
238
+
schema:
239
+
$ref: '#/components/schemas/ErrorResponse'
240
+
231
241
"500":
232
242
description: |-
233
-
Internal Server Error. A 500 indicates that a request failed due to a server-side problem that needs to be resolved before subsequent requests can succeed. It either indicates a temporary unavailability or permanent server-side problem that needs to be reported and resolved.
243
+
Internal Server Error. A 500 indicates that the request failed due to a server-side problem that needs to be resolved before subsequent requests can succeed. It either indicates a temporary unavailability or permanent server-side problem that needs to be reported and resolved.
234
244
content:
235
245
application/json:
236
246
schema:
@@ -315,6 +325,8 @@ paths:
315
325
operationId: ByProjectKeyByResourceTypeGet
316
326
description: |-
317
327
The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
328
+
329
+
If the request exceeds the rate limit, a [TooManyRequests](ctp:history:type:TooManyRequestsError) error is returned.
318
330
parameters:
319
331
- name: date.from
320
332
x-annotation-default: 24
@@ -483,9 +495,17 @@ paths:
483
495
schema:
484
496
$ref: '#/components/schemas/ErrorResponse'
485
497
498
+
"429":
499
+
description: |-
500
+
Too Many Requests. Indicates that the client has exceeded the API rate limit. Reduce the date range and resource types in your query to minimize the token usage, or retry the request after some time (indicated in the `Retry-After` header).
501
+
content:
502
+
application/json:
503
+
schema:
504
+
$ref: '#/components/schemas/ErrorResponse'
505
+
486
506
"500":
487
507
description: |-
488
-
Internal Server Error. A 500 indicates that a request failed due to a server-side problem that needs to be resolved before subsequent requests can succeed. It either indicates a temporary unavailability or permanent server-side problem that needs to be reported and resolved.
508
+
Internal Server Error. A 500 indicates that the request failed due to a server-side problem that needs to be resolved before subsequent requests can succeed. It either indicates a temporary unavailability or permanent server-side problem that needs to be reported and resolved.
489
509
content:
490
510
application/json:
491
511
schema:
@@ -545,6 +565,8 @@ paths:
545
565
operationId: ByProjectKeyByResourceTypeByIDGet
546
566
description: |-
547
567
The `view_audit_log:{projectKey}` scope is required, and depending on the [resource type](ctp:history:type:ChangeHistoryResourceType) queried, their respective scopes must be granted.
568
+
569
+
If the request exceeds the rate limit, a [TooManyRequests](ctp:history:type:TooManyRequestsError) error is returned.
548
570
parameters:
549
571
- name: date.from
550
572
x-annotation-default: 24
@@ -706,9 +728,17 @@ paths:
706
728
schema:
707
729
$ref: '#/components/schemas/ErrorResponse'
708
730
731
+
"429":
732
+
description: |-
733
+
Too Many Requests. Indicates that the client has exceeded the API rate limit. Reduce the date range and resource types in your query to minimize the token usage, or retry the request after some time (indicated in the `Retry-After` header).
734
+
content:
735
+
application/json:
736
+
schema:
737
+
$ref: '#/components/schemas/ErrorResponse'
738
+
709
739
"500":
710
740
description: |-
711
-
Internal Server Error. A 500 indicates that a request failed due to a server-side problem that needs to be resolved before subsequent requests can succeed. It either indicates a temporary unavailability or permanent server-side problem that needs to be reported and resolved.
741
+
Internal Server Error. A 500 indicates that the request failed due to a server-side problem that needs to be resolved before subsequent requests can succeed. It either indicates a temporary unavailability or permanent server-side problem that needs to be reported and resolved.
0 commit comments