Get a consistency proof showing that an earlier log size is an unchanged prefix of a later size.

GET /tamper_evident_logs/consistency

GET https://zanpki.com/tamper_evident_logs/consistency

Operation ID tamper_evident_logs.consistency.get
Access Browser session signed in through ZanAuth, using the access token cookie alongside its ID token and refresh token cookies. Or: An access token issued for this site by its ZanAuth issuer, or a static key. Or: Anyone, signed in or not

Parameters

NameInTypeDescription
first_size Query Required integer (int64) The size of the earlier checkpoint you want to compare from.
second_size Query Required integer (int64) The size of the later checkpoint, up to the latest one.

Responses

StatusDescriptionSchemaContent type
200 The consistency proof between the two sizes of the log (RFC 6962). ConsistencyProofAnswer application/json
422 The request input was rejected. The errors object lists each validation failure. ValidationProblem application/json
Any other status The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation. Problem application/json

200 The consistency proof between the two sizes of the log (RFC 6962).

PropertyTypeDescription
first_size integer (int64) Required Size of the earlier log state that you already have a checkpoint for.
second_size integer (int64) Required Size of the later log state being compared against the earlier one.
proof list of string (byte) Required RFC 6962 consistency proof hashes showing that the later log appends to the earlier one without altering existing records. Empty when both sizes are equal.

422 The request input was rejected. The errors object lists each validation failure.

PropertyTypeDescription
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 A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.
errors InputErrors Required Validation errors for each rejected value. Parameter errors are returned as a list, and body errors as a tree matching the request body structure.

Any other status: The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation.

PropertyTypeDescription
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 A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.

Example

curl -X GET 'https://zanpki.com/tamper_evident_logs/consistency'

All documentation