workspace

Store an uploaded attachment under files/ in the workspace.

Uploads stream to disk and return 413 above the smaller of max_upload_bytes and 25,000,000 bytes. Return the workspace-relative and mounted paths using the filename's final component. Invalid filenames return 422 and a busy Session lock returns 409. The uploaded file is closed even on failure.

post/sessions/{session_id}/attach

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

session_idstring required

Request body multipart/form-data

filestring binary required

Response

Successful Response

mounted_pathstring required
rel_pathstring required

Changes

    • info

      added the non-success response with the status

    • info

      api tag workspace added

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status