Prepared Queries

Update a prepared query

Changed on

Updates the filter of an existing prepared query. Requires ledger:WriteQuery scope.

put/v3/{ledgerName}/prepared-queries/{queryName}

Request

  • Base URL
    http://localhost:9000
  • URL
    http://localhost:9000/v3/{ledgerName}/prepared-queries/{queryName}
  • Auth
    • HTTP bearer
    • or none

Path parameters

ledgerNamestring required

Name of the ledger

queryNamestring required

Prepared query name, URL-encoded as one path segment. Decoded exactly once.

Request body

Response

Prepared query updated successfully

Changes

    • info

      api operation id updatePreparedQuery removed and replaced with v3UpdatePreparedQuery

    • info

      added the media type text/plain for the response with the status

    • info

      added the media type text/plain for the response with the status

    • info

      added the non-success response with the status