Prepared Queries
Create a prepared query
Changed onCreates a new prepared query for a ledger. A prepared query defines a reusable filter that can be executed later with parameter substitution. Requires ledger:WriteQuery scope.
post/v3/{ledgerName}/prepared-queries
Request
- Base URLhttp://localhost:9000
- URLhttp://localhost:9000/v3/{ledgerName}/prepared-queries
- Auth
- HTTP bearer
- or none
Path parameters
ledgerNamestring required
Name of the ledger
Headers
Idempotency-Keystring
Idempotency key for the request
Request body
Response
Prepared query created successfully
Changes
- info
api operation id
createPreparedQueryremoved and replaced withv3CreatePreparedQuery
- info
- info
added the media type
text/plainfor the response with the status - info
added the media type
text/plainfor the response with the status - info
added the non-success response with the status
- info