List Folders
Last updated Changelog
http
GET /crates/{handle}/folders
The crate’s folders, by name. Every login finds the folders it can use at /data/<name>. size_gb is a folder’s cap (null: none, up to the crate’s size) and used_gb what it holds. access lists the sub-users that can use it: read lists and downloads, write also adds, changes and deletes. The master login reads and writes every folder, so it isn’t listed.
Response
json
[
{ "name": "files", "size_gb": null, "used_gb": 12.4, "access": {} },
{ "name": "shared", "size_gb": 200, "used_gb": 26.1, "access": { "c7xk2m9p-office": "read", "c7xk2m9p-admin": "write" } }
]
Errors
Besides the errors any endpoint can return:
| Status | Code | When |
|---|---|---|
| 403 | scope_denied |
This API key does not have Crates read access for this crate. |
| 404 | not_found |
Crate not found. |