ledger.v2

Create a ledger

post/v2/{ledger}

Request body

bucketstring

Name of the storage bucket backing the ledger. Ledgers sharing a bucket share a database schema

metadataV2Metadata

Arbitrary key/value pairs attached to the resource. Metadata is bi-temporal, so a point-in-time query returns the metadata as it stood at that time

featuresobject

Feature flags to enable on the ledger, keyed by feature name

Example request

{
  "metadata": {
    "admin": "true"
  }
}

Response

OK

Changes