Indexes

Get the per-replica status of a single index

Changed on

Returns the IndexEntry for a single index — the registry entry joined with the backfill cursor and the per-replica IndexVersionState (current + pending version). Use this to poll for backfill completion after a POST /v3/{ledgerName}/indexes. Requires ledger:ReadLedger scope.

get/v3/{ledgerName}/indexes/{canonicalId}/status

Request

  • Base URL
    http://localhost:9000
  • URL
    http://localhost:9000/v3/{ledgerName}/indexes/{canonicalId}/status
  • Auth
    • HTTP bearer
    • or none

Path parameters

ledgerNamestring required

Name of the ledger

canonicalIdstring required

Canonical form of the target IndexID.

Headers

X-Consistency'linearizable' | 'stale'

Read consistency. linearizable (the default) runs a Raft ReadIndex barrier and waits for the receiving node to apply up to it. stale serves the read from the receiving node's own store, with no barrier and no forwarding to the leader, so the answer may lag the leader. Matching ignores case and surrounding whitespace. An unknown value, or a repeated or comma-joined header, returns 400 INVALID_REQUEST on every /v3 route, writes included; a valid value has no effect on writes. The gRPC equivalent is the x-consistency request metadata.

Response

Index entry retrieved successfully.

dataobject required

IndexEntry (protobuf JSON representation)

Changes

    • info

      api operation id getIndexEntryStatus removed and replaced with v3GetIndexEntryStatus

    • 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