Get this site's tamper-evident log, with its signing key and every checkpoint.
GET /tamper_evident_logs
GET https://dev.zanpki.com/tamper_evident_logs
| Operation ID |
tamper_evident_logs.get
|
|---|---|
| Access | Signed in through ZanAuth: the access token cookie, with its ID token and refresh token companions. Or: An access token the site's ZanAuth issuer minted for its app, or a static key. Or: Anyone, signed in or not |
Responses
| Status | Description | Schema | Content type |
|---|---|---|---|
| 200 | The log's signing key, its latest checkpoint, and every checkpoint, newest first. | TamperEvidentLogAnswer | application/json, text/html, text/markdown |
| Any other status | The request was refused. The problem's type names why, and its detail explains it for people to read. | Problem | application/json, text/html, text/markdown |
200 The log's signing key, its latest checkpoint, and every checkpoint, newest first.
| Property | Type | Description | |
|---|---|---|---|
origin
| string, or null | Required | The log's name, which every checkpoint and the signing key carry. It's null until the first checkpoint is signed. |
verifier_key
| string, or null | Required | The key that signs every checkpoint, written the way signed-note tools take it. It's null until the first checkpoint is signed. |
tree_size
| integer (int64) | Required | How many records the latest checkpoint covers, or 0 before the first one is signed. |
checkpoint
| string, or null | Required | The latest checkpoint, exactly as it was signed. It's null until the first checkpoint is signed. |
checkpoint_url
| string | Required | Where to get the latest checkpoint as plain text. |
checkpoints
| list of CheckpointLine | Required | Every checkpoint the log has signed, newest first. |
Any other status: The request was refused. The problem's type names why, and its detail explains it for people to read.
| Property | Type | Description | |
|---|---|---|---|
type
| string | Required | A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check. |
title
| string | Required | The HTTP status as text, such as Not Found. |
status
| integer (int32) | Required | The HTTP status code of the response. |
detail
| string | Required | An explanation of what went wrong, written for people to read. |
instance
| string | Required | The path the request was sent to. |
Example
curl -X GET 'https://dev.zanpki.com/tamper_evident_logs'