List Documents
GET
/database/collections/{collectionId}/documents
database
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://appwrite.io/v1/database/collections//documents'
Response Response Example
{
"documents": [
{
"$collection": "string",
"$id": "string",
"$permissions": {}
}
],
"sum": 0
}
Request
Path Params
collectionId
string
required
Query Params
filters
array[string]
optional
Array of filter strings. Each filter is constructed from a key name, comparison operator (=, !=, >, <, <=, >=) and a value. You can also use a dot (.) separator in attribute names to filter by child document attributes. Examples: 'name=John Doe' or 'category.$id>=5bed2d152c362'.
limit
integer
optional
offset
integer
optional
orderField
string
optional
orderType
string
optional
orderCast
string
optional
search
string
optional
Responses
Modified at 2023-08-16 07:28:13