Error
A valid request URL is required to generate request examples{
"documents": {
"id": 1,
"contents": {
"name": "Francis",
"favoriteBook": {
"title": "The Great Gatsby",
"published": 1925
}
}
},
"txnId": 9000
}{
"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
Find docs with Legacy QL
Query documents in a collection using a flexible query language. This endpoint supports pagination, sorting, and complex queries to help you efficiently retrieve exactly the data you need.
POST
/
store
/
find
Error
A valid request URL is required to generate request examples{
"documents": {
"id": 1,
"contents": {
"name": "Francis",
"favoriteBook": {
"title": "The Great Gatsby",
"published": 1925
}
}
},
"txnId": 9000
}{
"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
Specify the collection to query, the query conditions, and optional parameters like limit, offset, and sort order. The query can be parameterized using the args field for safe and efficient execution.
Request parameters for querying documents in a collection. Supports filtering, pagination, and sorting to help you retrieve exactly the data you need.
Response
The query executed successfully. Returns an array of matching documents and the transaction ID of the read operation. If no documents match, the documents array will be empty.
Was this page helpful?