Mounts

Mint App Scope Token

Issue a folder-scoped token for a running HTML app.

The browser asks for one when the person grants an app access, then attaches it to every bridge call so the server can refuse a path outside the folder. It only ever narrows what the caller already has, so minting is gated on the level being asked for: read-write needs EDIT_MOUNTS, exactly as the write itself does.

post/mounts/{mount_id}/apps/scope

Path parameters

mount_idstring uuid required

Request body

dirstring required
level'read' | 'read-write'

Response

Successful Response

tokenstring required
expires_atinteger required
dirstring required
levelstring required

Changes

Changed in 1 of the 378 revisions of this API.1