veil

Read a witness policy

Read the log key, witness keys and quorum rule.

GET/{log}/policy
Access
Public access
Client
Browser fetch supported

Parameters#

NameLocationMeaning
logRequiredPathThe log name identified by /v1/log, such as staging-1.

Request examples#

cURL
curl -fsS 'https://log.veil.rip/staging-1/policy'

Response#

HTTP 200text/plain

A text policy with log, witness, group and quorum lines.

Response headers#

HeaderValueMeaning
Content-Typetext/plainUse the declared media type before choosing a parser.

What to verify#

Trust an expected policy and log key. A policy fetched from the same server is not an independent trust anchor by itself.

Errors#

The log host serves its own text or binary protocol. Missing resources can return HTTP 404; do not assume a directory JSON error envelope. Response and error guide