Lookup docs by ID with Legacy QL
Retrieve a single document by its unique identifier. This is the most efficient way to fetch a specific document when you know its ID.
This is a legacy endpoint that uses the Legacy Query Language.
To use DQL, the current Ditto query language, consider using the execute endpoint.
Authorizations
Authentication using either an API key or JWT token in the Authorization header
Headers
Optional transaction ID for ensuring read consistency. The operation will only proceed if the Big Peer's transaction ID is at least this value, preventing reads of stale data.
Body
Request parameters for retrieving a specific document by its ID. This is the most efficient way to fetch a single document when you know its identifier.
Response
Represents a document in the Ditto store. Documents are schema-free and can contain nested fields of various CRDT types for conflict-free replication.