Properties
NAME | TYPE | DESCRIPTION |
total | integer | Total number of buckets documents that matched your query. |
buckets | array | List of buckets. Can be one of: |
Example
JSON
{
"total": 5,
"buckets": [
{
"$id": "5e5ea5c16897e",
"$createdAt": 1592981250,
"$updatedAt": 1592981250,
"$read": [
"role:all"
],
"$write": [
"user:608f9da25e7e1"
],
"permission": "file",
"name": "Documents",
"enabled": false,
"maximumFileSize": 100,
"allowedFileExtensions": [
"jpg",
"png"
],
"encryption": false,
"antivirus": false
}
]
}
JSON
{
"total": 5,
"buckets": [
{
"_id": "5e5ea5c16897e",
"_createdAt": 1592981250,
"_updatedAt": 1592981250,
"_read": [
"role:all"
],
"_write": [
"user:608f9da25e7e1"
],
"permission": "file",
"name": "Documents",
"enabled": false,
"maximumFileSize": 100,
"allowedFileExtensions": [
"jpg",
"png"
],
"encryption": false,
"antivirus": false
}
]
}