Get this site's tamper-evident log, with its signing key and every checkpoint.
GET /tamper_evident_logs
GET https://dev.zanhosting.com/tamper_evident_logs
| ID da operação |
tamper_evident_logs.get
|
|---|---|
| Acesso | Signed in through ZanAuth: the access token cookie, with its ID token and refresh token companions. Ou: An access token the site's ZanAuth issuer minted for its app, or a static key. Ou: Qualquer pessoa, conectada ou não |
Respostas
| Status | Descrição | Esquema | Tipo de conteúdo |
|---|---|---|---|
| 200 | The log's signing key, its latest checkpoint, and every checkpoint, newest first. | TamperEvidentLogAnswer | application/json, text/html, text/markdown |
| Qualquer outro 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.
| Propriedade | Tipo | Descrição | |
|---|---|---|---|
origin
| string, or null | Obrigatório | 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 | Obrigatório | 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) | Obrigatório | How many records the latest checkpoint covers, or 0 before the first one is signed. |
checkpoint
| string, or null | Obrigatório | The latest checkpoint, exactly as it was signed. It's null until the first checkpoint is signed. |
checkpoint_url
| string | Obrigatório | Where to get the latest checkpoint as plain text. |
checkpoints
| list of CheckpointLine | Obrigatório | Every checkpoint the log has signed, newest first. |
Qualquer outro status: The request was refused. The problem's type names why, and its detail explains it for people to read.
| Propriedade | Tipo | Descrição | |
|---|---|---|---|
type
| string | Obrigatório | 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 | Obrigatório | The HTTP status as text, such as Not Found. |
status
| integer (int32) | Obrigatório | The HTTP status code of the response. |
detail
| string | Obrigatório | An explanation of what went wrong, written for people to read. |
instance
| string | Obrigatório | The path the request was sent to. |
Exemplo
curl -X GET 'https://dev.zanhosting.com/tamper_evident_logs'