Read a witness policy
Read the log key, witness keys and quorum rule.
GET
/{log}/policy- Access
- Public access
- Client
- Browser fetch supported
Parameters#
| Name | Location | Meaning |
|---|---|---|
logRequired | Path | The log name identified by /v1/log, such as staging-1. |
Request examples#
cURL
curl -fsS 'https://log.veil.rip/staging-1/policy'Response#
A text policy with log, witness, group and quorum lines.
Response headers#
| Header | Value | Meaning |
|---|---|---|
Content-Type | text/plain | Use 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