Error
A valid request URL is required to generate request examples{
"fields": "<unknown>",
"id": "<unknown>",
"txnId": 123
}{
"message": "Some kind of human readable description of the error"
}{
"message": "Some kind of human readable description of the error"
}{
"message": "Some kind of human readable description of the error"
}Legacy HTTP API
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.
POST
/
store
/
findbyid
Error
A valid request URL is required to generate request examples{
"fields": "<unknown>",
"id": "<unknown>",
"txnId": 123
}{
"message": "Some kind of human readable description of the error"
}{
"message": "Some kind of human readable description of the error"
}{
"message": "Some kind of human readable description of the error"
}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
Headers
Body
application/json
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
The document was found and retrieved successfully. Returns the document data along with the transaction ID of the read operation.
Represents a document in the Ditto store. Documents are schema-free and can contain nested fields of various CRDT types for conflict-free replication.
Was this page helpful?