GET/documents/{documentId}/dek-log
Operation documents.dekLog.get
Description
Pages a document's append-only content-key (DEK) rotation log: every epoch with its signed content-key bundle, write-once predecessor bridge, and retained container wraps filtered to the caller's authorizing containers, plus the sealed DEK keyring of one epoch named by keyringForEpoch. Clients use it as the wrap-backstop recovery path when a sealed DEK keyring or predecessor bridge is damaged.
Authentication
Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
documentId | path | string | required |
afterKeyEpoch | query | integer | optional
|
keyringForEpoch | query | integer | optional
|
Responses
200 OK
application/jsonDocumentDekLogResponse
One bounded page of a document's append-only DEK rotation log for wrap-backstop recovery and keyring repair.
3 fields
documentIdstringrequired- not empty
- at most 256 items
Ordered historical epochs after
afterKeyEpoch.hasMorebooleanrequiredTrue when epochs above this page's last remain unserved.
Other fields are allowed.
Other responses
| Status | Meaning | Body |
|---|---|---|
| 400 | Bad Request |
|
| 401 | Unauthorized |
|
| 403 | Forbidden |
|
| 404 | Not Found |
|
| 409 | Conflict |
|
| 500 | Internal Server Error |
|
| 503 | Service Unavailable |
|
Additional rules
The server also enforces these rules, which the schema above cannot express.
A document DEK log page contains at most one sealed keyring.