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 |
tamper_evident_logs.get
|
|---|---|
| アクセス | Signed in through ZanAuth: the access token cookie, with its ID token and refresh token companions. または: An access token the site's ZanAuth issuer minted for its app, or a static key. または: サインインの有無を問わず全員 |
レスポンス
| ステータス | 説明 | スキーマ | コンテンツタイプ |
|---|---|---|---|
| 200 | The log's signing key, its latest checkpoint, and every checkpoint, newest first. | TamperEvidentLogAnswer | application/json, text/html, text/markdown |
| その他のステータス | 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.
| プロパティ | 型 | 説明 | |
|---|---|---|---|
origin
| string, or null | 必須 | 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 | 必須 | 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) | 必須 | How many records the latest checkpoint covers, or 0 before the first one is signed. |
checkpoint
| string, or null | 必須 | The latest checkpoint, exactly as it was signed. It's null until the first checkpoint is signed. |
checkpoint_url
| string | 必須 | Where to get the latest checkpoint as plain text. |
checkpoints
| list of CheckpointLine | 必須 | Every checkpoint the log has signed, newest first. |
その他のステータス: The request was refused. The problem's type names why, and its detail explains it for people to read.
| プロパティ | 型 | 説明 | |
|---|---|---|---|
type
| string | 必須 | 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 | 必須 | The HTTP status as text, such as Not Found. |
status
| integer (int32) | 必須 | The HTTP status code of the response. |
detail
| string | 必須 | An explanation of what went wrong, written for people to read. |
instance
| string | 必須 | The path the request was sent to. |
例
curl -X GET 'https://dev.zanhosting.com/tamper_evident_logs'