Vocabulary
Read the registered vocabulary
Everything this ledger has registered: transaction types, purposes with their sharded flag, and commodities.
GET
/v1/ledgers/{ledgerId}/vocabularyEverything this ledger has registered: transaction types, purposes with their sharded flag, and commodities. This is the authoritative list of what a posting may name.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
ledgerId*string
Format
uuidResponse Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/ledgers/497f6eca-6276-4993-bfeb-53cbbbba6f08/vocabulary"{ "transaction_types": [ "string" ], "purposes": [ { "name": "string", "sharded": false } ], "commodities": [ "string" ]}Read one ledger
Reads one ledger the caller owns. A ledger id belonging to another consumer answers ledger_not_found (404), byte for byte the same answer as an id that was never minted, so ownership never leaks th...
Register vocabulary (idempotent, grows only)
Registers the transaction types, account purposes and commodities this ledger will accept.