Skip to content

Folders โ€‹

Hierarchical containers for Assets. Folders can be nested, listed, downloaded as a single archive, and shared externally.

Scopes โ€‹

ScopeReach
store:readListing, reading, downloading, viewing shares.
store:writeCreating, 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

NameTypeRequiredDescription
idstringyesFolder 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

NameTypeRequiredDescription
idstringyesFolder 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

NameTypeRequiredDescription
idstringyesFolder 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

NameTypeRequiredDescription
idstringyesFolder 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

NameTypeRequiredDescription
idstringyesFolder 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

NameTypeRequiredDescription
idstringyesFolder ID.

Response 204 โ€” empty.

See also โ€‹

  • Assets โ€” files contained within folders.
  • Shares โ€” external token-based access to folders.

S-Launch