Folders โ
Hierarchical containers for Assets. Folders can be nested, listed, downloaded as a single archive, and shared externally.
Scopes โ
| Scope | Reach |
|---|---|
store:read | Listing, reading, downloading, viewing shares. |
store:write | Creating, updating, patching, deleting. |
Endpoints โ
List Folders โ
GET /api/store/folder/
Returns a page of folder records.
Required scope: store:read ยท also accepts API key
Query parameters โ standard pagination set; see Conventions โบ Pagination. Defaults: sort_by=created, sort_order=desc, hydrate=true.
Response 200 โ FolderInDbCursorPage
Get Folder Filter Metadata โ
GET /api/store/folder/filters
Returns the filter/operator/sort options accepted by List Folders. See Conventions โบ Filter Metadata.
Required scope: store:read
Response 200 โ open metadata object.
Get Folder by ID โ
GET /api/store/folder/{id}
Returns a single folder.
Required scope: store:read ยท also accepts API key
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Folder ID. |
Response 200 โ FolderRead
Get Folder Shares โ
GET /api/store/folder/{id}/shares
Lists every share record that targets a given folder.
Required scope: store:read
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Folder ID. |
Response 200 โ array of share records.
Download Folder โ
GET /api/store/folder/{id}/download
Downloads the contents of a folder as a single archive (zip).
Required scope: store:read
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Folder ID. |
Response 200 โ binary archive stream.
Create Folder โ
POST /api/store/folder/
Creates a new folder. Supply a parent ID in the body to nest it under another folder; omit for a root-level folder.
Required scope: store:write
Request body โ FolderWriteCreate
Response 201 โ FolderRead
Update Folder by ID โ
PUT /api/store/folder/{id}
Replaces the folder's metadata (name, parent, etc.).
Required scope: store:write
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Folder ID. |
Request body โ FolderWriteReplace
Response 200 โ FolderRead
Patch Folder โ
PATCH /api/store/folder/{id}
Partial folder update โ supply only the fields you want to change.
Required scope: store:write
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Folder ID. |
Request body โ FolderWriteUpdate
Response 200 โ FolderRead
Delete Folder by ID โ
DELETE /api/store/folder/{id}
Removes the folder. Behavior on non-empty folders (cascade vs. reject) is defined by tenant configuration โ check the response body of any 409 Conflict for guidance.
Required scope: store:write
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Folder ID. |
Response 204 โ empty.
