@puppi/adapter-sentry 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +29 -2
- package/dist/define.d.ts +17 -0
- package/dist/define.d.ts.map +1 -0
- package/dist/define.js +12 -0
- package/dist/define.js.map +1 -0
- package/dist/index.d.ts +345 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +171 -0
- package/dist/index.js.map +1 -0
- package/dist/openapi.d.ts +1018 -0
- package/dist/openapi.d.ts.map +1 -0
- package/dist/openapi.js +6 -0
- package/dist/openapi.js.map +1 -0
- package/dist/operations.d.ts +13 -0
- package/dist/operations.d.ts.map +1 -0
- package/dist/operations.js +49 -0
- package/dist/operations.js.map +1 -0
- package/package.json +48 -3
|
@@ -0,0 +1,1018 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export type paths = {
|
|
6
|
+
"/api/0/organizations/": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* List Your Organizations
|
|
15
|
+
* @description Return a list of organizations available to the authenticated session in a region.
|
|
16
|
+
* This is particularly useful for requests with a user bound context. For API key-based requests this will only return the organization that belongs to the key.
|
|
17
|
+
*/
|
|
18
|
+
get: operations["listOrganizations"];
|
|
19
|
+
put?: never;
|
|
20
|
+
post?: never;
|
|
21
|
+
delete?: never;
|
|
22
|
+
options?: never;
|
|
23
|
+
head?: never;
|
|
24
|
+
patch?: never;
|
|
25
|
+
trace?: never;
|
|
26
|
+
};
|
|
27
|
+
"/api/0/organizations/{organization_id_or_slug}/projects/": {
|
|
28
|
+
parameters: {
|
|
29
|
+
query?: never;
|
|
30
|
+
header?: never;
|
|
31
|
+
path?: never;
|
|
32
|
+
cookie?: never;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* List an Organization's Projects
|
|
36
|
+
* @description Return a list of projects bound to a organization.
|
|
37
|
+
*/
|
|
38
|
+
get: operations["listOrganizationProjects"];
|
|
39
|
+
put?: never;
|
|
40
|
+
post?: never;
|
|
41
|
+
delete?: never;
|
|
42
|
+
options?: never;
|
|
43
|
+
head?: never;
|
|
44
|
+
patch?: never;
|
|
45
|
+
trace?: never;
|
|
46
|
+
};
|
|
47
|
+
"/api/0/organizations/{organization_id_or_slug}/issues/": {
|
|
48
|
+
parameters: {
|
|
49
|
+
query?: never;
|
|
50
|
+
header?: never;
|
|
51
|
+
path?: never;
|
|
52
|
+
cookie?: never;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* List an Organization's Issues
|
|
56
|
+
* @description Return a list of issues for an organization. All parameters are supplied as query string parameters. A default query of `is:unresolved` is applied. To return all results, use an empty query value (i.e. ``?query=`).
|
|
57
|
+
*/
|
|
58
|
+
get: operations["listOrganizationIssues"];
|
|
59
|
+
put?: never;
|
|
60
|
+
post?: never;
|
|
61
|
+
delete?: never;
|
|
62
|
+
options?: never;
|
|
63
|
+
head?: never;
|
|
64
|
+
patch?: never;
|
|
65
|
+
trace?: never;
|
|
66
|
+
};
|
|
67
|
+
"/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/": {
|
|
68
|
+
parameters: {
|
|
69
|
+
query?: never;
|
|
70
|
+
header?: never;
|
|
71
|
+
path?: never;
|
|
72
|
+
cookie?: never;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* List a Project's Error Events
|
|
76
|
+
* @description Return a list of events bound to a project.
|
|
77
|
+
*/
|
|
78
|
+
get: operations["listProjectEvents"];
|
|
79
|
+
put?: never;
|
|
80
|
+
post?: never;
|
|
81
|
+
delete?: never;
|
|
82
|
+
options?: never;
|
|
83
|
+
head?: never;
|
|
84
|
+
patch?: never;
|
|
85
|
+
trace?: never;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export type webhooks = Record<string, never>;
|
|
89
|
+
export type components = {
|
|
90
|
+
schemas: never;
|
|
91
|
+
responses: never;
|
|
92
|
+
parameters: never;
|
|
93
|
+
requestBodies: never;
|
|
94
|
+
headers: never;
|
|
95
|
+
pathItems: never;
|
|
96
|
+
};
|
|
97
|
+
export type $defs = Record<string, never>;
|
|
98
|
+
export interface operations {
|
|
99
|
+
listOrganizations: {
|
|
100
|
+
parameters: {
|
|
101
|
+
query?: {
|
|
102
|
+
/** @description Specify `true` to restrict results to organizations in which you are an owner. */
|
|
103
|
+
owner?: boolean;
|
|
104
|
+
/** @description A pointer to the last object fetched and its sort order; used to retrieve the next or previous results. */
|
|
105
|
+
cursor?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @description Filters results by using [query syntax](/product/sentry-basics/search/).
|
|
108
|
+
*
|
|
109
|
+
* Valid query fields include:
|
|
110
|
+
* - `id`: The organization ID
|
|
111
|
+
* - `slug`: The organization slug
|
|
112
|
+
* - `status`: The organization's current status (one of `active`, `pending_deletion`, or `deletion_in_progress`)
|
|
113
|
+
* - `email` or `member_id`: Filter your organizations by the emails or [organization member IDs](/api/organizations/list-an-organizations-members/) of specific members included
|
|
114
|
+
* - `query`: Filter your organizations by name, slug, and members that contain this substring
|
|
115
|
+
*
|
|
116
|
+
* Example: `query=(slug:foo AND status:active) OR (email:[thing-one@example.com,thing-two@example.com] AND query:bar)`
|
|
117
|
+
*/
|
|
118
|
+
query?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @description The field to sort results by, in descending order. If not specified the results are sorted by the date they were created.
|
|
121
|
+
*
|
|
122
|
+
* Valid fields include:
|
|
123
|
+
* - `members`: By number of members
|
|
124
|
+
* - `events`: By number of events in the past 24 hours
|
|
125
|
+
*/
|
|
126
|
+
sortBy?: string;
|
|
127
|
+
/** @description Limit the number of rows to return in the result. Default and maximum allowed is 100. */
|
|
128
|
+
per_page?: number;
|
|
129
|
+
};
|
|
130
|
+
header?: never;
|
|
131
|
+
path?: never;
|
|
132
|
+
cookie?: never;
|
|
133
|
+
};
|
|
134
|
+
requestBody?: never;
|
|
135
|
+
responses: {
|
|
136
|
+
200: {
|
|
137
|
+
headers: {
|
|
138
|
+
[name: string]: unknown;
|
|
139
|
+
};
|
|
140
|
+
content: {
|
|
141
|
+
"application/json": {
|
|
142
|
+
/** @description Features enabled for the organization */
|
|
143
|
+
features?: string[];
|
|
144
|
+
/** @description Server-wide options that the Sentry UI reads */
|
|
145
|
+
extraOptions?: {
|
|
146
|
+
[key: string]: {
|
|
147
|
+
[key: string]: unknown;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
/** @description Scopes the requesting user has in the organization */
|
|
151
|
+
access?: string[];
|
|
152
|
+
/** @description Onboarding tasks the organization has completed or skipped */
|
|
153
|
+
onboardingTasks?: {
|
|
154
|
+
/** @description Onboarding task key, such as create_project */
|
|
155
|
+
task: string | null;
|
|
156
|
+
/** @description Task status: complete or skipped */
|
|
157
|
+
status: string;
|
|
158
|
+
/**
|
|
159
|
+
* Format: date-time
|
|
160
|
+
* @description When the task's completion was marked as seen, or null
|
|
161
|
+
*/
|
|
162
|
+
completionSeen: string | null;
|
|
163
|
+
/**
|
|
164
|
+
* Format: date-time
|
|
165
|
+
* @description When the task was completed or skipped
|
|
166
|
+
*/
|
|
167
|
+
dateCompleted: string;
|
|
168
|
+
/** @description Extra data recorded for the task, which depends on the task */
|
|
169
|
+
data: unknown;
|
|
170
|
+
}[];
|
|
171
|
+
/** @description Organization ID */
|
|
172
|
+
id: string;
|
|
173
|
+
/** @description Organization slug */
|
|
174
|
+
slug: string;
|
|
175
|
+
/** @description Organization status */
|
|
176
|
+
status: {
|
|
177
|
+
/** @description Status ID: active, pending_deletion, deletion_in_progress or relocation_pending_approval */
|
|
178
|
+
id: string;
|
|
179
|
+
/** @description Status label, such as active or pending deletion */
|
|
180
|
+
name: string;
|
|
181
|
+
};
|
|
182
|
+
/** @description Organization name, or its slug when it has no name */
|
|
183
|
+
name: string;
|
|
184
|
+
/**
|
|
185
|
+
* Format: date-time
|
|
186
|
+
* @description When the organization was created (ISO 8601)
|
|
187
|
+
*/
|
|
188
|
+
dateCreated: string;
|
|
189
|
+
/** @description Whether the organization is an early adopter */
|
|
190
|
+
isEarlyAdopter: boolean;
|
|
191
|
+
/** @description Whether members must use two-factor authentication */
|
|
192
|
+
require2FA: boolean;
|
|
193
|
+
/** @description Organization avatar */
|
|
194
|
+
avatar: {
|
|
195
|
+
/** @description Avatar type, such as letter_avatar, upload or gravatar */
|
|
196
|
+
avatarType?: string;
|
|
197
|
+
/** @description ID of the uploaded avatar image, or null */
|
|
198
|
+
avatarUuid?: string | null;
|
|
199
|
+
/** @description URL of the avatar image, or null if none is set */
|
|
200
|
+
avatarUrl?: string | null;
|
|
201
|
+
};
|
|
202
|
+
/** @description Organization and region URLs */
|
|
203
|
+
links: {
|
|
204
|
+
/** @description Base URL of the organization */
|
|
205
|
+
organizationUrl: string;
|
|
206
|
+
/** @description Base URL of the API for the organization's region */
|
|
207
|
+
regionUrl: string;
|
|
208
|
+
};
|
|
209
|
+
/** @description Whether SSO is configured for the organization */
|
|
210
|
+
hasAuthProvider: boolean;
|
|
211
|
+
/** @description Whether members can invite other members */
|
|
212
|
+
allowMemberInvite: boolean;
|
|
213
|
+
/** @description Whether members can create projects */
|
|
214
|
+
allowMemberProjectCreation: boolean;
|
|
215
|
+
/** @description Whether Sentry superusers can access the organization */
|
|
216
|
+
allowSuperuserAccess: boolean;
|
|
217
|
+
}[];
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
/** @description Unauthorized */
|
|
221
|
+
401: {
|
|
222
|
+
headers: {
|
|
223
|
+
[name: string]: unknown;
|
|
224
|
+
};
|
|
225
|
+
content?: never;
|
|
226
|
+
};
|
|
227
|
+
/** @description Forbidden */
|
|
228
|
+
403: {
|
|
229
|
+
headers: {
|
|
230
|
+
[name: string]: unknown;
|
|
231
|
+
};
|
|
232
|
+
content?: never;
|
|
233
|
+
};
|
|
234
|
+
/** @description Not Found */
|
|
235
|
+
404: {
|
|
236
|
+
headers: {
|
|
237
|
+
[name: string]: unknown;
|
|
238
|
+
};
|
|
239
|
+
content?: never;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
listOrganizationProjects: {
|
|
244
|
+
parameters: {
|
|
245
|
+
query?: {
|
|
246
|
+
/** @description A pointer to the last object fetched and its sort order; used to retrieve the next or previous results. */
|
|
247
|
+
cursor?: string;
|
|
248
|
+
/** @description Limit the number of rows to return in the result. Default and maximum allowed is 100. */
|
|
249
|
+
per_page?: number;
|
|
250
|
+
/** @description Filter projects by name or slug. */
|
|
251
|
+
query?: string;
|
|
252
|
+
};
|
|
253
|
+
header?: never;
|
|
254
|
+
path: {
|
|
255
|
+
/** @description The ID or slug of the organization the resource belongs to. */
|
|
256
|
+
organization_id_or_slug: string;
|
|
257
|
+
};
|
|
258
|
+
cookie?: never;
|
|
259
|
+
};
|
|
260
|
+
requestBody?: never;
|
|
261
|
+
responses: {
|
|
262
|
+
200: {
|
|
263
|
+
headers: {
|
|
264
|
+
[name: string]: unknown;
|
|
265
|
+
};
|
|
266
|
+
content: {
|
|
267
|
+
"application/json": {
|
|
268
|
+
/** @description Latest deploy for each environment, keyed by environment name, with its release version and finish time. Omitted when collapsed */
|
|
269
|
+
latestDeploys?: {
|
|
270
|
+
[key: string]: {
|
|
271
|
+
[key: string]: string;
|
|
272
|
+
};
|
|
273
|
+
} | null;
|
|
274
|
+
/** @description Requested project options, keyed by option name. Only included when options are requested */
|
|
275
|
+
options?: {
|
|
276
|
+
[key: string]: unknown;
|
|
277
|
+
};
|
|
278
|
+
/** @description Counts of non-transaction events per interval over the requested stats period, as [timestamp, count] pairs. Only included when a stats period is requested */
|
|
279
|
+
stats?: number[][] | {
|
|
280
|
+
[key: string]: number;
|
|
281
|
+
};
|
|
282
|
+
/** @description Counts of transactions per interval over the requested stats period, as [timestamp, count] pairs. Only included when transaction stats are requested */
|
|
283
|
+
transactionStats?: number[][];
|
|
284
|
+
/** @description Crash-free session rates for the current and previous stats period. Only included when session stats are requested */
|
|
285
|
+
sessionStats?: {
|
|
286
|
+
/** Format: double */
|
|
287
|
+
currentCrashFreeRate: number | null;
|
|
288
|
+
/** Format: double */
|
|
289
|
+
previousCrashFreeRate: number | null;
|
|
290
|
+
/** @description Whether the project has release health (session) data */
|
|
291
|
+
hasHealthData: boolean;
|
|
292
|
+
};
|
|
293
|
+
/** @description ID of the project */
|
|
294
|
+
id: string;
|
|
295
|
+
/** @description Slug of the project */
|
|
296
|
+
slug: string;
|
|
297
|
+
/** @description Name of the project */
|
|
298
|
+
name: string;
|
|
299
|
+
/** @description Platform of the project */
|
|
300
|
+
platform: string | null;
|
|
301
|
+
/**
|
|
302
|
+
* Format: date-time
|
|
303
|
+
* @description When the project was created (ISO 8601)
|
|
304
|
+
*/
|
|
305
|
+
dateCreated: string;
|
|
306
|
+
/** @description Whether the requesting user bookmarked the project */
|
|
307
|
+
isBookmarked: boolean;
|
|
308
|
+
/** @description Whether the requesting user is a member of a team with access to the project */
|
|
309
|
+
isMember: boolean;
|
|
310
|
+
/** @description Features enabled for the project */
|
|
311
|
+
features: string[];
|
|
312
|
+
/**
|
|
313
|
+
* Format: date-time
|
|
314
|
+
* @description When the project received its first event (ISO 8601)
|
|
315
|
+
*/
|
|
316
|
+
firstEvent: string | null;
|
|
317
|
+
/** @description Whether the project has sent transactions */
|
|
318
|
+
firstTransactionEvent: boolean;
|
|
319
|
+
/** @description Scopes the requesting user has on the project through team membership and organization role */
|
|
320
|
+
access: string[];
|
|
321
|
+
/** @description Whether the requesting user has access to the project */
|
|
322
|
+
hasAccess: boolean;
|
|
323
|
+
/** @description Whether the project has sent user feedback */
|
|
324
|
+
hasFeedbacks: boolean;
|
|
325
|
+
/** @description Whether the project has sent feature flags */
|
|
326
|
+
hasFlags: boolean;
|
|
327
|
+
/** @description Whether the project has sent an event with a minified stack trace */
|
|
328
|
+
hasMinifiedStackTrace: boolean;
|
|
329
|
+
/** @description Whether the project has cron monitors */
|
|
330
|
+
hasMonitors: boolean;
|
|
331
|
+
/** @description Whether the project has sent user feedback from the user feedback widget */
|
|
332
|
+
hasNewFeedbacks: boolean;
|
|
333
|
+
/** @description Whether the project has sent profiles */
|
|
334
|
+
hasProfiles: boolean;
|
|
335
|
+
/** @description Whether the project has sent replays */
|
|
336
|
+
hasReplays: boolean;
|
|
337
|
+
/** @description Whether the project has sent sessions */
|
|
338
|
+
hasSessions: boolean;
|
|
339
|
+
/** @description Whether the project has sent HTTP request spans used by Insights */
|
|
340
|
+
hasInsightsHttp: boolean;
|
|
341
|
+
/** @description Whether the project has sent database spans used by Insights */
|
|
342
|
+
hasInsightsDb: boolean;
|
|
343
|
+
/** @description Whether the project has sent asset spans used by Insights */
|
|
344
|
+
hasInsightsAssets: boolean;
|
|
345
|
+
/** @description Whether the project has sent app start spans used by Insights */
|
|
346
|
+
hasInsightsAppStart: boolean;
|
|
347
|
+
/** @description Whether the project has sent screen load spans used by Insights */
|
|
348
|
+
hasInsightsScreenLoad: boolean;
|
|
349
|
+
/** @description Whether the project has sent web vitals spans used by Insights */
|
|
350
|
+
hasInsightsVitals: boolean;
|
|
351
|
+
/** @description Whether the project has sent cache spans used by Insights */
|
|
352
|
+
hasInsightsCaches: boolean;
|
|
353
|
+
/** @description Whether the project has sent queue spans used by Insights */
|
|
354
|
+
hasInsightsQueues: boolean;
|
|
355
|
+
/** @description Whether the project has sent AI agent spans used by Insights */
|
|
356
|
+
hasInsightsAgentMonitoring: boolean;
|
|
357
|
+
/** @description Whether the project has sent MCP spans used by Insights */
|
|
358
|
+
hasInsightsMCP: boolean;
|
|
359
|
+
/** @description Whether the project has sent logs. Always true outside sentry.io */
|
|
360
|
+
hasLogs: boolean;
|
|
361
|
+
/** @description Whether the project has sent trace metrics. Always true outside sentry.io */
|
|
362
|
+
hasTraceMetrics: boolean;
|
|
363
|
+
/** @description First team with access to the project; use teams instead */
|
|
364
|
+
team: {
|
|
365
|
+
/** @description ID of the team */
|
|
366
|
+
id: string;
|
|
367
|
+
/** @description Name of the team */
|
|
368
|
+
name: string;
|
|
369
|
+
/** @description Slug of the team */
|
|
370
|
+
slug: string;
|
|
371
|
+
} | null;
|
|
372
|
+
/** @description Teams with access to the project */
|
|
373
|
+
teams: {
|
|
374
|
+
/** @description ID of the team */
|
|
375
|
+
id: string;
|
|
376
|
+
/** @description Name of the team */
|
|
377
|
+
name: string;
|
|
378
|
+
/** @description Slug of the team */
|
|
379
|
+
slug: string;
|
|
380
|
+
}[];
|
|
381
|
+
/** @description Platforms seen in the project's events */
|
|
382
|
+
platforms: string[];
|
|
383
|
+
/** @description Whether the project has received user reports */
|
|
384
|
+
hasUserReports: boolean;
|
|
385
|
+
/** @description Environments seen in the project's events */
|
|
386
|
+
environments: string[];
|
|
387
|
+
/** @description Latest release of the project */
|
|
388
|
+
latestRelease: {
|
|
389
|
+
/** @description Version of the release */
|
|
390
|
+
version: string;
|
|
391
|
+
} | null;
|
|
392
|
+
}[];
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
/** @description Unauthorized */
|
|
396
|
+
401: {
|
|
397
|
+
headers: {
|
|
398
|
+
[name: string]: unknown;
|
|
399
|
+
};
|
|
400
|
+
content?: never;
|
|
401
|
+
};
|
|
402
|
+
/** @description Forbidden */
|
|
403
|
+
403: {
|
|
404
|
+
headers: {
|
|
405
|
+
[name: string]: unknown;
|
|
406
|
+
};
|
|
407
|
+
content?: never;
|
|
408
|
+
};
|
|
409
|
+
/** @description Not Found */
|
|
410
|
+
404: {
|
|
411
|
+
headers: {
|
|
412
|
+
[name: string]: unknown;
|
|
413
|
+
};
|
|
414
|
+
content?: never;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
listOrganizationIssues: {
|
|
419
|
+
parameters: {
|
|
420
|
+
query?: {
|
|
421
|
+
/** @description The name of environments to filter by. */
|
|
422
|
+
environment?: string[];
|
|
423
|
+
/**
|
|
424
|
+
* @description The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. `-1` is also accepted to include all accessible projects.
|
|
425
|
+
* For example, the following are valid parameters:
|
|
426
|
+
* - `/?project=1234&project=56789`
|
|
427
|
+
* - `/?project=android&project=javascript-react`
|
|
428
|
+
* - `/?project=-1`
|
|
429
|
+
*/
|
|
430
|
+
project?: (number | string)[];
|
|
431
|
+
/**
|
|
432
|
+
* @description The period of time for the query, will override the start & end parameters, a number followed by one of:
|
|
433
|
+
* - `d` for days
|
|
434
|
+
* - `h` for hours
|
|
435
|
+
* - `m` for minutes
|
|
436
|
+
* - `s` for seconds
|
|
437
|
+
* - `w` for weeks
|
|
438
|
+
*
|
|
439
|
+
* For example, `24h`, to mean query data starting from 24 hours ago to now.
|
|
440
|
+
*/
|
|
441
|
+
statsPeriod?: string;
|
|
442
|
+
/** @description How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent. */
|
|
443
|
+
statsPeriodStart?: string;
|
|
444
|
+
/** @description How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent. */
|
|
445
|
+
statsPeriodEnd?: string;
|
|
446
|
+
/** @description The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`. */
|
|
447
|
+
start?: string;
|
|
448
|
+
/** @description The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`. */
|
|
449
|
+
end?: string;
|
|
450
|
+
/** @description The timeline on which stats for the groups should be presented. */
|
|
451
|
+
groupStatsPeriod?: "" | "14d" | "24h" | "auto";
|
|
452
|
+
/** @description If this is set to `1` then the query will be parsed for issue short IDs. These may ignore other filters (e.g. projects), which is why it is an opt-in. */
|
|
453
|
+
shortIdLookup?: "0" | "1";
|
|
454
|
+
/** @description An optional search query for filtering issues. A default query will apply if no query is set. For all results use this parameter with an empty string. */
|
|
455
|
+
query?: string;
|
|
456
|
+
/** @description The sort order of the view. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), 'Date Added' (`inbox`), and 'Recommended' (`recommended`). */
|
|
457
|
+
sort?: "date" | "freq" | "inbox" | "new" | "recommended" | "trends" | "user";
|
|
458
|
+
/** @description The maximum number of issues to return. The maximum is 100. */
|
|
459
|
+
limit?: number;
|
|
460
|
+
/** @description Additional data to include in the response. */
|
|
461
|
+
expand?: ("inbox" | "integrationIssues" | "latestEventHasAttachments" | "owners" | "sentryAppIssues" | "sessions")[];
|
|
462
|
+
/** @description Fields to remove from the response to improve query performance. */
|
|
463
|
+
collapse?: ("base" | "filtered" | "lifetime" | "stats" | "unhandled")[];
|
|
464
|
+
/** @description A pointer to the last object fetched and its sort order; used to retrieve the next or previous results. */
|
|
465
|
+
cursor?: string;
|
|
466
|
+
};
|
|
467
|
+
header?: never;
|
|
468
|
+
path: {
|
|
469
|
+
/** @description The ID or slug of the organization the resource belongs to. */
|
|
470
|
+
organization_id_or_slug: string;
|
|
471
|
+
};
|
|
472
|
+
cookie?: never;
|
|
473
|
+
};
|
|
474
|
+
requestBody?: never;
|
|
475
|
+
responses: {
|
|
476
|
+
200: {
|
|
477
|
+
headers: {
|
|
478
|
+
[name: string]: unknown;
|
|
479
|
+
};
|
|
480
|
+
content: {
|
|
481
|
+
"application/json": {
|
|
482
|
+
/** @description ID of the issue */
|
|
483
|
+
id: string;
|
|
484
|
+
/** @description ID used in the issue's public share URL. Null when the issue isn't shared */
|
|
485
|
+
shareId?: string | null;
|
|
486
|
+
/** @description Short ID of the issue, such as PROJECT-1A */
|
|
487
|
+
shortId?: string | null;
|
|
488
|
+
/** @description Title of the issue */
|
|
489
|
+
title?: string;
|
|
490
|
+
/** @description Function or module where the issue occurs */
|
|
491
|
+
culprit?: string | null;
|
|
492
|
+
/** @description URL of the issue in Sentry */
|
|
493
|
+
permalink?: string;
|
|
494
|
+
/** @description Logger of the issue's events */
|
|
495
|
+
logger?: string | null;
|
|
496
|
+
/**
|
|
497
|
+
* @description Severity level of the issue
|
|
498
|
+
* @enum {string}
|
|
499
|
+
*/
|
|
500
|
+
level?: "sample" | "debug" | "info" | "warning" | "error" | "fatal" | "unknown";
|
|
501
|
+
/**
|
|
502
|
+
* @description Issue status
|
|
503
|
+
* @enum {string}
|
|
504
|
+
*/
|
|
505
|
+
status?: "resolved" | "ignored" | "pending_deletion" | "pending_merge" | "reprocessing" | "unresolved";
|
|
506
|
+
/** @description Details of the issue's status, such as when an ignore expires or which release resolves it */
|
|
507
|
+
statusDetails?: {
|
|
508
|
+
/** @description Number of additional events after which the issue stops being ignored */
|
|
509
|
+
ignoreCount?: number | null;
|
|
510
|
+
/**
|
|
511
|
+
* Format: date-time
|
|
512
|
+
* @description When the issue stops being ignored (ISO 8601)
|
|
513
|
+
*/
|
|
514
|
+
ignoreUntil?: string | null;
|
|
515
|
+
/** @description Number of additional affected users after which the issue stops being ignored */
|
|
516
|
+
ignoreUserCount?: number | null;
|
|
517
|
+
/** @description Time window in minutes for ignoreUserCount */
|
|
518
|
+
ignoreUserWindow?: number | null;
|
|
519
|
+
/** @description Time window in minutes for ignoreCount */
|
|
520
|
+
ignoreWindow?: number | null;
|
|
521
|
+
/** @description User who ignored or resolved the issue */
|
|
522
|
+
actor?: {
|
|
523
|
+
/** @description SSO identities of the user. Only included for the requesting user, unless the request has active superuser or staff access */
|
|
524
|
+
identities?: {
|
|
525
|
+
/** @description SSO identity ID */
|
|
526
|
+
id: string;
|
|
527
|
+
/** @description User's identifier at the auth provider */
|
|
528
|
+
name: string;
|
|
529
|
+
/** @description Organization the auth provider belongs to */
|
|
530
|
+
organization: {
|
|
531
|
+
/** @description Organization slug */
|
|
532
|
+
slug: string;
|
|
533
|
+
/** @description Organization name */
|
|
534
|
+
name: string;
|
|
535
|
+
};
|
|
536
|
+
/** @description Auth provider of the identity */
|
|
537
|
+
provider: {
|
|
538
|
+
/** @description Auth provider key, such as google or saml2 */
|
|
539
|
+
id: string;
|
|
540
|
+
/** @description Display name of the auth provider */
|
|
541
|
+
name: string;
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* Format: date-time
|
|
545
|
+
* @description When the identity was last verified by signing in through the auth provider
|
|
546
|
+
*/
|
|
547
|
+
dateVerified: string;
|
|
548
|
+
/**
|
|
549
|
+
* Format: date-time
|
|
550
|
+
* @description When the identity was last synced from the auth provider
|
|
551
|
+
*/
|
|
552
|
+
dateSynced: string;
|
|
553
|
+
}[];
|
|
554
|
+
/** @description User avatar */
|
|
555
|
+
avatar?: {
|
|
556
|
+
/** @description Avatar type, such as letter_avatar, upload or gravatar */
|
|
557
|
+
avatarType?: string;
|
|
558
|
+
/** @description ID of the uploaded avatar image, or null */
|
|
559
|
+
avatarUuid?: string | null;
|
|
560
|
+
/** @description URL of the avatar image, or null if none is set */
|
|
561
|
+
avatarUrl?: string | null;
|
|
562
|
+
};
|
|
563
|
+
/** @description Two-factor authenticators of the user, without backup methods such as recovery codes */
|
|
564
|
+
authenticators?: {
|
|
565
|
+
/** @description Authenticator ID */
|
|
566
|
+
id: string;
|
|
567
|
+
/** @description Authenticator type, such as totp, sms, u2f or recovery */
|
|
568
|
+
type: string;
|
|
569
|
+
/** @description Display name of the authenticator type */
|
|
570
|
+
name: string;
|
|
571
|
+
/**
|
|
572
|
+
* Format: date-time
|
|
573
|
+
* @description When the authenticator was added
|
|
574
|
+
*/
|
|
575
|
+
dateCreated: string;
|
|
576
|
+
/**
|
|
577
|
+
* Format: date-time
|
|
578
|
+
* @description When the authenticator was last used, or null
|
|
579
|
+
*/
|
|
580
|
+
dateUsed: string | null;
|
|
581
|
+
}[];
|
|
582
|
+
/** @description Whether the organization can reset the user's two-factor authentication. True only if the user is a member of exactly one active organization */
|
|
583
|
+
canReset2fa?: boolean;
|
|
584
|
+
/** @description User ID */
|
|
585
|
+
id: string;
|
|
586
|
+
/** @description Display name: the user's name, or their email or username if no name is set */
|
|
587
|
+
name: string;
|
|
588
|
+
/** @description Username */
|
|
589
|
+
username: string;
|
|
590
|
+
/** @description Primary email address */
|
|
591
|
+
email: string;
|
|
592
|
+
/** @description Gravatar URL for the primary email address */
|
|
593
|
+
avatarUrl: string;
|
|
594
|
+
/** @description Whether the account is active */
|
|
595
|
+
isActive: boolean;
|
|
596
|
+
/** @description Whether the account is suspended. Suspended users can't sign in */
|
|
597
|
+
isSuspended: boolean;
|
|
598
|
+
/** @description Whether the user has a password set */
|
|
599
|
+
hasPasswordAuth: boolean;
|
|
600
|
+
/** @description Whether the account is managed, which stops the user from changing their username, password and similar details */
|
|
601
|
+
isManaged: boolean;
|
|
602
|
+
/**
|
|
603
|
+
* Format: date-time
|
|
604
|
+
* @description When the account was created
|
|
605
|
+
*/
|
|
606
|
+
dateJoined: string;
|
|
607
|
+
/**
|
|
608
|
+
* Format: date-time
|
|
609
|
+
* @description When the user last signed in, or null
|
|
610
|
+
*/
|
|
611
|
+
lastLogin: string | null;
|
|
612
|
+
/** @description Whether the user has two-factor authentication enabled */
|
|
613
|
+
has2fa: boolean;
|
|
614
|
+
/**
|
|
615
|
+
* Format: date-time
|
|
616
|
+
* @description When the user was last active, or null
|
|
617
|
+
*/
|
|
618
|
+
lastActive: string | null;
|
|
619
|
+
/** @description Whether the user is a superuser */
|
|
620
|
+
isSuperuser: boolean;
|
|
621
|
+
/** @description Whether the user has staff status */
|
|
622
|
+
isStaff: boolean;
|
|
623
|
+
/** @description Deprecated. Always an empty object */
|
|
624
|
+
experiments: {
|
|
625
|
+
[key: string]: string;
|
|
626
|
+
};
|
|
627
|
+
/** @description Email addresses of the user. Only included for the requesting user or superusers; empty otherwise */
|
|
628
|
+
emails: {
|
|
629
|
+
/** @description Email ID */
|
|
630
|
+
id: string;
|
|
631
|
+
/** @description Email address */
|
|
632
|
+
email: string;
|
|
633
|
+
/** @description Whether the email address is verified */
|
|
634
|
+
is_verified: boolean;
|
|
635
|
+
}[];
|
|
636
|
+
} | null;
|
|
637
|
+
/** @description Whether the issue is resolved in the next release */
|
|
638
|
+
inNextRelease?: boolean;
|
|
639
|
+
/** @description Version of the release the issue is resolved in */
|
|
640
|
+
inRelease?: string;
|
|
641
|
+
/** @description Commit the issue is resolved in */
|
|
642
|
+
inCommit?: string;
|
|
643
|
+
/** @description Number of events still waiting to be reprocessed */
|
|
644
|
+
pendingEvents?: number;
|
|
645
|
+
/** @description Reprocessing progress details */
|
|
646
|
+
info?: {
|
|
647
|
+
dateCreated: string;
|
|
648
|
+
syncCount: number;
|
|
649
|
+
totalEvents: number;
|
|
650
|
+
} | null;
|
|
651
|
+
};
|
|
652
|
+
/**
|
|
653
|
+
* @description Substatus of the issue, such as ongoing, regressed or escalating
|
|
654
|
+
* @enum {string|null}
|
|
655
|
+
*/
|
|
656
|
+
substatus?: "archived_until_escalating" | "archived_until_condition_met" | "archived_forever" | "escalating" | "ongoing" | "regressed" | "new" | null;
|
|
657
|
+
/** @description Whether the issue is shared publicly */
|
|
658
|
+
isPublic?: boolean;
|
|
659
|
+
/** @description Platform of the issue's events */
|
|
660
|
+
platform?: string | null;
|
|
661
|
+
/**
|
|
662
|
+
* @description Priority of the issue: high, medium or low
|
|
663
|
+
* @enum {string|null}
|
|
664
|
+
*/
|
|
665
|
+
priority?: "low" | "medium" | "high" | null;
|
|
666
|
+
/**
|
|
667
|
+
* Format: date-time
|
|
668
|
+
* @description When the priority was last set manually, which stops automatic priority updates (ISO 8601)
|
|
669
|
+
*/
|
|
670
|
+
priorityLockedAt?: string | null;
|
|
671
|
+
/**
|
|
672
|
+
* Format: double
|
|
673
|
+
* @description Seer's score for how likely the issue is to be fixable
|
|
674
|
+
*/
|
|
675
|
+
seerFixabilityScore?: number | null;
|
|
676
|
+
/**
|
|
677
|
+
* Format: date-time
|
|
678
|
+
* @description When Seer Autofix was last triggered for the issue (ISO 8601)
|
|
679
|
+
*/
|
|
680
|
+
seerAutofixLastTriggered?: string | null;
|
|
681
|
+
/**
|
|
682
|
+
* Format: date-time
|
|
683
|
+
* @description When the Seer explorer agent last completed an Autofix step for the issue (ISO 8601)
|
|
684
|
+
*/
|
|
685
|
+
seerExplorerAutofixLastTriggered?: string | null;
|
|
686
|
+
/** @description Project the issue belongs to */
|
|
687
|
+
project?: {
|
|
688
|
+
/** @description ID of the project */
|
|
689
|
+
id: string;
|
|
690
|
+
/** @description Name of the project */
|
|
691
|
+
name: string;
|
|
692
|
+
/** @description Slug of the project */
|
|
693
|
+
slug: string;
|
|
694
|
+
/** @description Platform of the project */
|
|
695
|
+
platform: string | null;
|
|
696
|
+
};
|
|
697
|
+
/**
|
|
698
|
+
* @description Event type of the issue, such as error or default
|
|
699
|
+
* @enum {string}
|
|
700
|
+
*/
|
|
701
|
+
type?: "default" | "error" | "csp" | "nel" | "hpkp" | "expectct" | "expectstaple" | "transaction" | "generic" | "feedback";
|
|
702
|
+
/** @description Issue type, such as error or performance_n_plus_one_db_queries */
|
|
703
|
+
issueType?: string;
|
|
704
|
+
/** @description Issue category, such as error or performance */
|
|
705
|
+
issueCategory?: string;
|
|
706
|
+
/** @description Issue metadata */
|
|
707
|
+
metadata?: {
|
|
708
|
+
[key: string]: unknown;
|
|
709
|
+
};
|
|
710
|
+
/** @description Number of comments on the issue */
|
|
711
|
+
numComments?: number;
|
|
712
|
+
/** @description User or team the issue is assigned to */
|
|
713
|
+
assignedTo?: {
|
|
714
|
+
/** @enum {string} */
|
|
715
|
+
type: "user" | "team";
|
|
716
|
+
id: string;
|
|
717
|
+
name: string;
|
|
718
|
+
email?: string;
|
|
719
|
+
} | null;
|
|
720
|
+
/** @description Whether the requesting user bookmarked the issue */
|
|
721
|
+
isBookmarked?: boolean;
|
|
722
|
+
/** @description Whether the requesting user is subscribed to the issue */
|
|
723
|
+
isSubscribed?: boolean;
|
|
724
|
+
/** @description Why the requesting user is subscribed to the issue */
|
|
725
|
+
subscriptionDetails?: {
|
|
726
|
+
disabled?: boolean;
|
|
727
|
+
reason?: string;
|
|
728
|
+
} | null;
|
|
729
|
+
/** @description Whether the requesting user has seen the issue since it last occurred */
|
|
730
|
+
hasSeen?: boolean;
|
|
731
|
+
/** @description External issues linked to the issue */
|
|
732
|
+
annotations?: {
|
|
733
|
+
/** @description Display name of the linked external issue */
|
|
734
|
+
displayName: string;
|
|
735
|
+
/** @description URL of the linked external issue */
|
|
736
|
+
url: string;
|
|
737
|
+
}[];
|
|
738
|
+
/** @description Whether the issue includes unhandled events */
|
|
739
|
+
isUnhandled?: boolean;
|
|
740
|
+
/** @description Total number of events in the issue */
|
|
741
|
+
count?: string;
|
|
742
|
+
/** @description Number of users affected by the issue */
|
|
743
|
+
userCount?: number;
|
|
744
|
+
/**
|
|
745
|
+
* Format: date-time
|
|
746
|
+
* @description When the issue was first seen (ISO 8601)
|
|
747
|
+
*/
|
|
748
|
+
firstSeen?: string | null;
|
|
749
|
+
/**
|
|
750
|
+
* Format: date-time
|
|
751
|
+
* @description When the issue was last seen (ISO 8601)
|
|
752
|
+
*/
|
|
753
|
+
lastSeen?: string | null;
|
|
754
|
+
/** @description Additional data derived for the issue. Only included when requested with expand */
|
|
755
|
+
derivedData?: {
|
|
756
|
+
blocker: string;
|
|
757
|
+
progress: string;
|
|
758
|
+
status: string;
|
|
759
|
+
viewCount: number;
|
|
760
|
+
hasOpenFixPr: boolean;
|
|
761
|
+
isAssigned: boolean;
|
|
762
|
+
hasRootCause: boolean;
|
|
763
|
+
lastCompletedAutofixStep: string;
|
|
764
|
+
/** Format: date-time */
|
|
765
|
+
lastProgressedAt: string | null;
|
|
766
|
+
/** @description The issue's impact assessment, or null when no assessment is available */
|
|
767
|
+
impact?: {
|
|
768
|
+
/**
|
|
769
|
+
* Format: double
|
|
770
|
+
* @description Estimated per-occurrence impact on the end user's capability from 0 to 100
|
|
771
|
+
*/
|
|
772
|
+
score: number | null;
|
|
773
|
+
/**
|
|
774
|
+
* @description Impact level derived from the assessment score
|
|
775
|
+
* @enum {string|null}
|
|
776
|
+
*/
|
|
777
|
+
level: "super_low" | "low" | "moderate" | "high" | "super_high" | null;
|
|
778
|
+
/** @description Human-readable description of the capability affected by the issue */
|
|
779
|
+
description: string;
|
|
780
|
+
/** @description Evidence-backed claims supporting the impact assessment */
|
|
781
|
+
citations: {
|
|
782
|
+
/** @description Stable identifier for the evidence supporting this claim */
|
|
783
|
+
reference: string;
|
|
784
|
+
/** @description Concise explanation of what the cited evidence establishes */
|
|
785
|
+
claim: string;
|
|
786
|
+
/** @description The category of evidence cited, such as an event, trace, replay, or log */
|
|
787
|
+
source: string;
|
|
788
|
+
}[];
|
|
789
|
+
/** @description ID of the issue event used to generate the impact assessment */
|
|
790
|
+
sourceEventId: string;
|
|
791
|
+
} | null;
|
|
792
|
+
};
|
|
793
|
+
/** @description Event counts over the requested stats period, keyed by the period, as [timestamp, count] pairs. Omitted when stats is collapsed */
|
|
794
|
+
stats?: {
|
|
795
|
+
[key: string]: unknown;
|
|
796
|
+
};
|
|
797
|
+
/** @description Event count, user count, and first and last seen times over the issue's lifetime. Omitted when stats or lifetime is collapsed */
|
|
798
|
+
lifetime?: {
|
|
799
|
+
[key: string]: unknown;
|
|
800
|
+
};
|
|
801
|
+
/** @description Event count, user count, and first and last seen times for events that match the search query. Null when there's no query; omitted when stats or filtered is collapsed */
|
|
802
|
+
filtered?: {
|
|
803
|
+
/** @description Number of the issue's events that match the search query */
|
|
804
|
+
count: string;
|
|
805
|
+
/** @description Number of users affected by the issue's events that match the search query */
|
|
806
|
+
userCount: number;
|
|
807
|
+
/**
|
|
808
|
+
* Format: date-time
|
|
809
|
+
* @description When an event matching the search query was first seen (ISO 8601)
|
|
810
|
+
*/
|
|
811
|
+
firstSeen: string | null;
|
|
812
|
+
/**
|
|
813
|
+
* Format: date-time
|
|
814
|
+
* @description When an event matching the search query was last seen (ISO 8601)
|
|
815
|
+
*/
|
|
816
|
+
lastSeen: string | null;
|
|
817
|
+
/** @description Counts of matching events over the requested stats period, keyed by the period, as [timestamp, count] pairs */
|
|
818
|
+
stats?: {
|
|
819
|
+
[key: string]: unknown;
|
|
820
|
+
};
|
|
821
|
+
} | null;
|
|
822
|
+
/** @description Number of sessions in the issue's project over the query time range. Only included when requested with expand=sessions */
|
|
823
|
+
sessionCount?: number;
|
|
824
|
+
/** @description Why the issue is in the inbox. Only included when requested with expand */
|
|
825
|
+
inbox?: {
|
|
826
|
+
reason: number;
|
|
827
|
+
reason_details: {
|
|
828
|
+
until: string | null;
|
|
829
|
+
count: number | null;
|
|
830
|
+
window: number | null;
|
|
831
|
+
user_count: number | null;
|
|
832
|
+
user_window: number | null;
|
|
833
|
+
} | null;
|
|
834
|
+
/** Format: date-time */
|
|
835
|
+
date_added: string;
|
|
836
|
+
};
|
|
837
|
+
/** @description Suggested owners of the issue. Only included when requested with expand */
|
|
838
|
+
owners?: {
|
|
839
|
+
type: string;
|
|
840
|
+
owner: string;
|
|
841
|
+
/** Format: date-time */
|
|
842
|
+
date_added: string;
|
|
843
|
+
}[] | null;
|
|
844
|
+
/** @description External issues linked through integrations. Only included when requested with expand */
|
|
845
|
+
integrationIssues?: {
|
|
846
|
+
[key: string]: unknown;
|
|
847
|
+
}[];
|
|
848
|
+
/** @description External issues linked through Sentry apps. Only included when requested with expand */
|
|
849
|
+
sentryAppIssues?: {
|
|
850
|
+
[key: string]: unknown;
|
|
851
|
+
}[];
|
|
852
|
+
/** @description Whether the issue's latest event has attachments. Only included when requested with expand */
|
|
853
|
+
latestEventHasAttachments?: boolean;
|
|
854
|
+
/** @description ID of the event the search query matched. Only included when the query matches an event ID */
|
|
855
|
+
matchingEventId?: string | null;
|
|
856
|
+
/** @description Environment of the event the search query matched. Only included when the query matches an event ID */
|
|
857
|
+
matchingEventEnvironment?: string | null;
|
|
858
|
+
}[];
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
/** @description Bad Request */
|
|
862
|
+
400: {
|
|
863
|
+
headers: {
|
|
864
|
+
[name: string]: unknown;
|
|
865
|
+
};
|
|
866
|
+
content?: never;
|
|
867
|
+
};
|
|
868
|
+
/** @description Unauthorized */
|
|
869
|
+
401: {
|
|
870
|
+
headers: {
|
|
871
|
+
[name: string]: unknown;
|
|
872
|
+
};
|
|
873
|
+
content?: never;
|
|
874
|
+
};
|
|
875
|
+
/** @description Forbidden */
|
|
876
|
+
403: {
|
|
877
|
+
headers: {
|
|
878
|
+
[name: string]: unknown;
|
|
879
|
+
};
|
|
880
|
+
content?: never;
|
|
881
|
+
};
|
|
882
|
+
/** @description Not Found */
|
|
883
|
+
404: {
|
|
884
|
+
headers: {
|
|
885
|
+
[name: string]: unknown;
|
|
886
|
+
};
|
|
887
|
+
content?: never;
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
listProjectEvents: {
|
|
892
|
+
parameters: {
|
|
893
|
+
query?: {
|
|
894
|
+
/**
|
|
895
|
+
* @description The period of time for the query, will override the start & end parameters, a number followed by one of:
|
|
896
|
+
* - `d` for days
|
|
897
|
+
* - `h` for hours
|
|
898
|
+
* - `m` for minutes
|
|
899
|
+
* - `s` for seconds
|
|
900
|
+
* - `w` for weeks
|
|
901
|
+
*
|
|
902
|
+
* For example, `24h`, to mean query data starting from 24 hours ago to now.
|
|
903
|
+
*/
|
|
904
|
+
statsPeriod?: string;
|
|
905
|
+
/** @description How long ago the query period starts, in the same format as `statsPeriod`. Must be sent with `statsPeriodEnd`, and is ignored when `statsPeriod` is sent. */
|
|
906
|
+
statsPeriodStart?: string;
|
|
907
|
+
/** @description How long ago the query period ends, in the same format as `statsPeriod`. Must be sent with `statsPeriodStart`, and is ignored when `statsPeriod` is sent. */
|
|
908
|
+
statsPeriodEnd?: string;
|
|
909
|
+
/** @description The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`. */
|
|
910
|
+
start?: string;
|
|
911
|
+
/** @description The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`. */
|
|
912
|
+
end?: string;
|
|
913
|
+
/** @description A pointer to the last object fetched and its sort order; used to retrieve the next or previous results. */
|
|
914
|
+
cursor?: string;
|
|
915
|
+
/** @description Specify true to include the full event body, including the stacktrace, in the event payload. When true, the page size is capped at 10. */
|
|
916
|
+
full?: boolean;
|
|
917
|
+
/** @description Return events in pseudo-random order. This is deterministic so an identical query will always return the same events in the same order. */
|
|
918
|
+
sample?: boolean;
|
|
919
|
+
};
|
|
920
|
+
header?: never;
|
|
921
|
+
path: {
|
|
922
|
+
/** @description The ID or slug of the organization the resource belongs to. */
|
|
923
|
+
organization_id_or_slug: string;
|
|
924
|
+
/** @description The ID or slug of the project the resource belongs to. Project slugs are unique within each organization. */
|
|
925
|
+
project_id_or_slug: string;
|
|
926
|
+
};
|
|
927
|
+
cookie?: never;
|
|
928
|
+
};
|
|
929
|
+
requestBody?: never;
|
|
930
|
+
responses: {
|
|
931
|
+
200: {
|
|
932
|
+
headers: {
|
|
933
|
+
[name: string]: unknown;
|
|
934
|
+
};
|
|
935
|
+
content: {
|
|
936
|
+
"application/json": {
|
|
937
|
+
/** @description ID of the event */
|
|
938
|
+
id: string;
|
|
939
|
+
/** @description Event type, such as error, default or transaction */
|
|
940
|
+
"event.type": string;
|
|
941
|
+
/** @description ID of the issue the event belongs to */
|
|
942
|
+
groupID: string | null;
|
|
943
|
+
/** @description ID of the event */
|
|
944
|
+
eventID: string;
|
|
945
|
+
/** @description ID of the project the event belongs to */
|
|
946
|
+
projectID: string;
|
|
947
|
+
/** @description Event message */
|
|
948
|
+
message: string;
|
|
949
|
+
/** @description Event title */
|
|
950
|
+
title: string;
|
|
951
|
+
/** @description Source location of the event, such as a file and line */
|
|
952
|
+
location: string | null;
|
|
953
|
+
/** @description Function or module that caused the event */
|
|
954
|
+
culprit: string | null;
|
|
955
|
+
/** @description User context of the event */
|
|
956
|
+
user: {
|
|
957
|
+
id?: string | null;
|
|
958
|
+
email?: string | null;
|
|
959
|
+
username?: string | null;
|
|
960
|
+
ip_address?: string | null;
|
|
961
|
+
name?: string | null;
|
|
962
|
+
geo?: {
|
|
963
|
+
[key: string]: string;
|
|
964
|
+
} | null;
|
|
965
|
+
data?: {
|
|
966
|
+
[key: string]: unknown;
|
|
967
|
+
} | null;
|
|
968
|
+
} | null;
|
|
969
|
+
/** @description Tags attached to the event */
|
|
970
|
+
tags: {
|
|
971
|
+
/** @description Search query that matches this tag's user, such as user.email:"user@example.com". Only set for user tags */
|
|
972
|
+
query?: string;
|
|
973
|
+
/** @description Tag key */
|
|
974
|
+
key: string;
|
|
975
|
+
/** @description Tag value */
|
|
976
|
+
value: string;
|
|
977
|
+
}[];
|
|
978
|
+
/** @description Platform of the event, such as python or javascript */
|
|
979
|
+
platform: string | null;
|
|
980
|
+
/**
|
|
981
|
+
* Format: date-time
|
|
982
|
+
* @description When the event occurred (ISO 8601)
|
|
983
|
+
*/
|
|
984
|
+
dateCreated: string;
|
|
985
|
+
/** @description Crash report attachment of the event, if any */
|
|
986
|
+
crashFile: string | null;
|
|
987
|
+
/** @description Event metadata */
|
|
988
|
+
metadata: {
|
|
989
|
+
[key: string]: unknown;
|
|
990
|
+
};
|
|
991
|
+
}[];
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
/** @description Unauthorized */
|
|
995
|
+
401: {
|
|
996
|
+
headers: {
|
|
997
|
+
[name: string]: unknown;
|
|
998
|
+
};
|
|
999
|
+
content?: never;
|
|
1000
|
+
};
|
|
1001
|
+
/** @description Forbidden */
|
|
1002
|
+
403: {
|
|
1003
|
+
headers: {
|
|
1004
|
+
[name: string]: unknown;
|
|
1005
|
+
};
|
|
1006
|
+
content?: never;
|
|
1007
|
+
};
|
|
1008
|
+
/** @description Not Found */
|
|
1009
|
+
404: {
|
|
1010
|
+
headers: {
|
|
1011
|
+
[name: string]: unknown;
|
|
1012
|
+
};
|
|
1013
|
+
content?: never;
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
}
|
|
1018
|
+
//# sourceMappingURL=openapi.d.ts.map
|