|
67 | 67 | "schema-name": "BadRequestResponse" |
68 | 68 | } |
69 | 69 | }, |
70 | | - "DownloadAuditLogEntriesResponse": { |
71 | | - "content": { |
72 | | - "application/json": { |
73 | | - "schema": { |
74 | | - "properties": { |
75 | | - "cursor": { |
76 | | - "description": "Optional cursor if more entries are available", |
77 | | - "type": "string" |
78 | | - }, |
79 | | - "items": { |
80 | | - "items": { |
81 | | - "$ref": "#/components/schemas/AuditLogEntryResponse" |
82 | | - }, |
83 | | - "type": "array" |
84 | | - }, |
85 | | - "limit": { |
86 | | - "default": 50, |
87 | | - "description": "Maximum amount of entries requested.", |
88 | | - "type": "number" |
89 | | - } |
90 | | - }, |
91 | | - "type": "object" |
92 | | - } |
93 | | - } |
94 | | - }, |
95 | | - "description": "Contains an array of all matched audit log entries and a pagination cursor.", |
96 | | - "x-stackit-sdk": { |
97 | | - "schema-name": "ListAuditLogEntriesResponse" |
98 | | - } |
99 | | - }, |
100 | 70 | "NotFound": { |
101 | 71 | "content": { |
102 | 72 | "application/json": { |
|
428 | 398 | "title": "gatewayError", |
429 | 399 | "type": "object" |
430 | 400 | }, |
| 401 | + "ListAuditLogEntriesResponse": { |
| 402 | + "properties": { |
| 403 | + "cursor": { |
| 404 | + "description": "Optional cursor if more entries are available", |
| 405 | + "type": "string" |
| 406 | + }, |
| 407 | + "items": { |
| 408 | + "items": { |
| 409 | + "$ref": "#/components/schemas/AuditLogEntryResponse" |
| 410 | + }, |
| 411 | + "type": "array" |
| 412 | + }, |
| 413 | + "limit": { |
| 414 | + "default": 50, |
| 415 | + "description": "Maximum amount of entries requested.", |
| 416 | + "type": "number" |
| 417 | + } |
| 418 | + }, |
| 419 | + "type": "object" |
| 420 | + }, |
431 | 421 | "ServiceAccountDelegationInfoPrincipalResponse": { |
432 | 422 | "description": "Principal in delegation chain of a service account", |
433 | 423 | "properties": { |
|
482 | 472 | ], |
483 | 473 | "responses": { |
484 | 474 | "200": { |
485 | | - "$ref": "#/components/responses/DownloadAuditLogEntriesResponse" |
| 475 | + "content": { |
| 476 | + "application/json": { |
| 477 | + "schema": { |
| 478 | + "$ref": "#/components/schemas/ListAuditLogEntriesResponse" |
| 479 | + } |
| 480 | + } |
| 481 | + }, |
| 482 | + "description": "Contains an array of all matched audit log entries and a pagination cursor." |
486 | 483 | }, |
487 | 484 | "400": { |
488 | 485 | "$ref": "#/components/responses/BadRequest" |
|
540 | 537 | ], |
541 | 538 | "responses": { |
542 | 539 | "200": { |
543 | | - "$ref": "#/components/responses/DownloadAuditLogEntriesResponse" |
| 540 | + "content": { |
| 541 | + "application/json": { |
| 542 | + "schema": { |
| 543 | + "$ref": "#/components/schemas/ListAuditLogEntriesResponse" |
| 544 | + } |
| 545 | + } |
| 546 | + }, |
| 547 | + "description": "Contains an array of all matched audit log entries and a pagination cursor." |
544 | 548 | }, |
545 | 549 | "400": { |
546 | 550 | "$ref": "#/components/responses/BadRequest" |
|
598 | 602 | ], |
599 | 603 | "responses": { |
600 | 604 | "200": { |
601 | | - "$ref": "#/components/responses/DownloadAuditLogEntriesResponse" |
| 605 | + "content": { |
| 606 | + "application/json": { |
| 607 | + "schema": { |
| 608 | + "$ref": "#/components/schemas/ListAuditLogEntriesResponse" |
| 609 | + } |
| 610 | + } |
| 611 | + }, |
| 612 | + "description": "Contains an array of all matched audit log entries and a pagination cursor." |
602 | 613 | }, |
603 | 614 | "400": { |
604 | 615 | "$ref": "#/components/responses/BadRequest" |
|
0 commit comments