v1
latestOpenAPI 3.0.32026-07-2652928.6 KBRetrieve a single document by its unique identifier. This is the most efficient way to fetch a specific document when you know its ID.
post/store/findbyid
Headers
X-DITTO-TXN-IDinteger
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.
Request body
Example request
{
"collection": "people",
"id": "abc123"
}Response
The document was found and retrieved successfully. Returns the document data along with the transaction ID of the read operation.