workspace

Write Workspace File

Changed on

Write one workspace file from text or base64 content, capped at 25 MB.

Text is encoded as UTF-8; the limit is 25,000,000 encoded or decoded bytes. Supplying both or neither content field, invalid base64, or a malformed relative path returns 422; exceeding the limit returns 413. A busy Session lock returns 409. Return the relative and mounted paths, byte count, and SHA-256 digest.

put/sessions/{session_id}/workspace/files/{rel_path}

Request

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

Path parameters

rel_pathstring required
session_idstring required

Request body

contentstring nullable
content_base64string nullable

Response

Successful Response

pathstring required
size_bytesinteger required
sha256string required
mounted_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

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status