Properties
NAME | TYPE | DESCRIPTION |
total | integer | Total number of collections documents that matched your query. |
collections | array | List of collections. Can be one of: |
Example
JSON
{
"total": 5,
"collections": [
{
"$id": "5e5ea5c16897e",
"$createdAt": "2020-10-15T06:38:00.000+00:00",
"$updatedAt": "2020-10-15T06:38:00.000+00:00",
"$permissions": [
"read(\"any\")"
],
"databaseId": "5e5ea5c16897e",
"name": "My Collection",
"enabled": false,
"documentSecurity": true,
"attributes": [
{
"key": "isEnabled",
"type": "boolean",
"status": "available",
"error": "string",
"required": true,
"array": false,
"$createdAt": "2020-10-15T06:38:00.000+00:00",
"$updatedAt": "2020-10-15T06:38:00.000+00:00",
"default": false
}
],
"indexes": [
{
"key": "index1",
"type": "primary",
"status": "available",
"error": "string",
"attributes": [],
"orders": [],
"$createdAt": "2020-10-15T06:38:00.000+00:00",
"$updatedAt": "2020-10-15T06:38:00.000+00:00"
}
]
}
]
}
JSON
{
"total": 5,
"collections": [
{
"_id": "5e5ea5c16897e",
"_createdAt": "2020-10-15T06:38:00.000+00:00",
"_updatedAt": "2020-10-15T06:38:00.000+00:00",
"_permissions": [
"read(\"any\")"
],
"databaseId": "5e5ea5c16897e",
"name": "My Collection",
"enabled": false,
"documentSecurity": true,
"attributes": [
{
"key": "isEnabled",
"type": "boolean",
"status": "available",
"error": "string",
"required": true,
"array": false,
"_createdAt": "2020-10-15T06:38:00.000+00:00",
"_updatedAt": "2020-10-15T06:38:00.000+00:00",
"default": false
}
],
"indexes": [
{
"key": "index1",
"type": "primary",
"status": "available",
"error": "string",
"attributes": [],
"orders": [],
"_createdAt": "2020-10-15T06:38:00.000+00:00",
"_updatedAt": "2020-10-15T06:38:00.000+00:00"
}
]
}
]
}