Sessions
Upload Session Cwd File
Changed onWrite a file into the session's working directory, creating that mount if needed.
The composer uses this for files over the attachment cap. A session that has not run yet has no working-directory mount, and the only other route that creates one also signs storage credentials, which the browser must never receive.
post/sessions/mounts/files/upload
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/sessions/mounts/files/upload
- AuthAPI key in header Authorization
Query parameters
session_idstring required
pathstring nullable
Request body multipart/form-data
Response
Successful Response
Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info