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
description: 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.
96
+
description: |
97
+
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.
98
+
99
+
If the request exceeds the rate limit, a [TooManyRequests](ctp:history:type:TooManyRequestsError) error is returned.
Indicates the total number of tokens available when fully replenished.
111
+
type: string
112
+
X-RateLimit-Remaining:
113
+
description: |
114
+
Indicates the number of tokens available after the current query is completed.
115
+
type: string
116
+
X-RateLimit-Request-Cost:
117
+
description: |
118
+
Indicates the number of tokens used by the current query.
119
+
type: string
104
120
400:
105
121
body:
106
122
application/json:
@@ -128,13 +144,24 @@ resourceTypes:
128
144
description:
129
145
Forbidden. Indicates that the authenticated client is not allowed to
130
146
perform the request.
147
+
429:
148
+
body:
149
+
application/json:
150
+
type: ErrorResponse
151
+
example: !include examples/TooManyRequests.json
152
+
description: 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).
153
+
headers:
154
+
Retry-After:
155
+
description: |
156
+
The wait time, in seconds, before you can retry the request.
Copy file name to clipboardExpand all lines: api-specs/history/types/GraphQLError.raml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,5 @@ properties:
16
16
items: any
17
17
description: Query fields listed in order from the root of the query response up to the field in which the error occurred. `path` is displayed in the response only if an error is associated with a particular field in the query result.
18
18
extensions:
19
-
type: object
20
-
# type: GraphQLErrorObject
19
+
type: GraphQLErrorObject
21
20
description: Dictionary with additional information where applicable.
Returned when the [Query Records](/../api/history/change-history#query-records) request exceeds the rate limit.
8
+
9
+
10
+
11
+
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).
Returned when the [Query Records](/../api/history/change-history#query-records) request exceeds the rate limit.
8
+
9
+
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).
10
+
properties:
11
+
code:
12
+
type: string
13
+
description: |
14
+
`"TooManyRequests"`
15
+
message:
16
+
type: string
17
+
description: |
18
+
`"You have made too many requests. Please try again later."`
0 commit comments