Skip to content
Sign in Create account

Returns the Merkle algorithm and canonicalisation parameters used by the public log

GET /api/v1/transparency/merkle/spec

Returns the Merkle algorithm and canonicalisation parameters used by the public log.

The public Merkle endpoints return tree metadata and proofs. Query limits are clamped by the handler.

This operation needs no authentication.

Responses

200 The requested transparency log data.

application/json ReceiptsMerkleSpec

  • algorithm string required
    Example: "sha256-rfc6962-v1"
  • canonical_json string required
  • content_policy string required
  • empty_root string required
    Pattern: ^[a-f0-9]{64}$
  • leaf_hash string required
  • leaf_record_fields array of string required
  • leaf_version integer required
  • node_hash string required
  • payload_hash string required
  • specification string required
  • sth_signature object required
    • algorithm string required
    • body string required
  • tenant_id_hash string required

Generated sample

{
  "algorithm": "sha256-rfc6962-v1",
  "canonical_json": "string",
  "content_policy": "string",
  "empty_root": "string",
  "leaf_hash": "string",
  "leaf_record_fields": [
    "string"
  ],
  "leaf_version": 0,
  "node_hash": "string",
  "payload_hash": "string",
  "specification": "string",
  "sth_signature": {
    "algorithm": "string",
    "body": "string"
  },
  "tenant_id_hash": "string"
}
404 The selected tree head or leaf is unavailable.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

409 The log proof could not be produced consistently.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

422 The query parameters are invalid.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 The route throttle limit was exceeded.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string

500 The server-side proof verification failed.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.