Giao diện
API · privacy
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 · 8 mutation.
Query
myConsents
The caller's consents (published purposes and own history).
query · SDL không ghi quyền
Không có tham số.
Trả về [Consent!]!
| Field | Kiểu | Mô tả |
|---|---|---|
purpose | String! | |
currentVersion | Int | Published text version to show before a grant; null = none published (GAP-60). |
granted | Boolean! | |
grantedVersion | Int | Text version of the standing grant; null when not granted. |
version | Int! | Number of records so far: the expectedVersion of the next grant/withdraw. |
history | [ConsentHistoryEntry!]! |
privacyRequests
Own requests (subject) or the review queue (privacy reviewer, GAP-59).
query · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
status | PrivacyRequestStatus | ||
kind | PrivacyRequestKind | ||
page | Int | ||
pageSize | Int |
Trả về PrivacyRequestPage!
| Field | Kiểu | Mô tả |
|---|---|---|
items | [PrivacyRequest!]! | |
page | Int! | |
pageSize | Int! | |
total | Int! |
Mutation
grantConsent
Chưa có description trong SDL.
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | GrantConsentInput! |
Trả về ConsentResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | The consent aggregate: <accountId>:<purpose>. |
version | Int! | |
status | CommandStatus! | |
requestId | ID! | |
correlationId | ID! | |
nextAction | NextAction | |
changed | Boolean! | False when the state already was the requested one (nothing recorded). |
consent | Consent! |
privacyExportDownload
Signed link to the caller's own, unexpired export package (audited).
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | PrivacyExportDownloadInput! |
Trả về PrivacyExportDownloadResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | |
version | Int! | |
status | CommandStatus! | |
requestId | ID! | |
correlationId | ID! | |
nextAction | NextAction | |
file | PrivacyExportFile! | |
url | String! | Short-lived signed URL, re-signed on every call (never stored). |
urlExpiresAt | DateTime! |
releaseLegalHold
Chưa có description trong SDL.
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | ReleaseLegalHoldInput! |
Trả về LegalHoldResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | |
version | Int! | |
status | CommandStatus! | |
requestId | ID! | |
correlationId | ID! | |
nextAction | NextAction | |
hold | LegalHold! |
requestPrivacyDeletion
Chưa có description trong SDL.
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | RequestPrivacyInput! |
Trả về PrivacyRequestResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | |
version | Int! | |
status | CommandStatus! | |
requestId | ID! | |
correlationId | ID! | |
nextAction | NextAction | privacy_job_scheduled (ref = job slot) after an approval. |
request | PrivacyRequest! |
requestPrivacyExport
Chưa có description trong SDL.
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | RequestPrivacyInput! |
Trả về PrivacyRequestResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | |
version | Int! | |
status | CommandStatus! | |
requestId | ID! | |
correlationId | ID! | |
nextAction | NextAction | privacy_job_scheduled (ref = job slot) after an approval. |
request | PrivacyRequest! |
reviewPrivacyRequest
Chưa có description trong SDL.
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | ReviewPrivacyRequestInput! |
Trả về PrivacyRequestResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | |
version | Int! | |
status | CommandStatus! | |
requestId | ID! | |
correlationId | ID! | |
nextAction | NextAction | privacy_job_scheduled (ref = job slot) after an approval. |
request | PrivacyRequest! |
setLegalHold
Chưa có description trong SDL.
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | SetLegalHoldInput! |
Trả về LegalHoldResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | |
version | Int! | |
status | CommandStatus! | |
requestId | ID! | |
correlationId | ID! | |
nextAction | NextAction | |
hold | LegalHold! |
withdrawConsent
Chưa có description trong SDL.
mutation · SDL không ghi quyền
| Tham số | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
input | WithdrawConsentInput! |
Trả về ConsentResult!
| Field | Kiểu | Mô tả |
|---|---|---|
aggregateId | ID! | The consent aggregate: <accountId>:<purpose>. |
version | Int! | |
status | CommandStatus! | |
requestId | ID! | |
correlationId | ID! | |
nextAction | NextAction | |
changed | Boolean! | False when the state already was the requested one (nothing recorded). |
consent | Consent! |