Giao diện
API · report-export
Trang sinh tự động
Parse từ schema.graphql (SDL backend export) bằng parser graphql. Mô tả và quyền lấy nguyên văn từ description trong SDL.
2 query · 3 mutation.
Query
reportExport
Chưa có description trong SDL.
query · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
id | ID! |
Trả về ReportExport
| Field | Kiểu | Mô tả |
|---|---|---|
id | ID! | |
reportCode | ReportCode! | |
filters | ReportExportFilters! | |
status | ReportExportStatus! | |
version | Int! | |
attempt | Int! | |
pii | ReportPii! | |
requestedAt | DateTime! | |
dataCutoff | DateTime | |
rowCount | Int | |
sourceStatus | ReportSourceStatus | |
failureCode | String | |
fileName | String | |
expiresAt | DateTime |
reportExports
Own jobs; live read and export grants checked per job. Money jobs need money permissions.
query · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
page | Int | ||
pageSize | Int |
Trả về ReportExportPage!
| Field | Kiểu | Mô tả |
|---|---|---|
items | [ReportExport!]! | |
total | Int! | |
page | Int! | |
pageSize | Int! |
Mutation
downloadReportExport
Audited; rechecks own-row and live read/export permissions before minting a private expiring URL.
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | DownloadReportExportInput! |
Trả về ReportExportDownloadResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | |
version | Int! | |
status | CommandStatus! | |
requestId | String! | |
correlationId | String! | |
nextAction | NextAction | |
outcome | String! | |
url | String | |
fileName | String | |
expiresAt | DateTime |
requestReportExport
Queues the entire filtered scope. No expiry approval -> policy_undecided (GAP-246).
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | RequestReportExportInput! |
Trả về ReportExportResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | |
version | Int! | |
status | CommandStatus! | |
requestId | String! | |
correlationId | String! | |
nextAction | NextAction | |
outcome | String! | |
jobId | ID |
retryReportExport
Retry uses the immutable first snapshot; DONE jobs cannot regenerate.
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | RetryReportExportInput! |
Trả về ReportExportResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | |
version | Int! | |
status | CommandStatus! | |
requestId | String! | |
correlationId | String! | |
nextAction | NextAction | |
outcome | String! | |
jobId | ID |