Save Workspace File

Save a workspace file (full content or an ops batch) with optimistic concurrency. 409 on a stale baseVersion or while an agent run holds the lock.

put/api/projects/{project_id}/workspace/files/{file_path}

Path parameters

project_idstring required
file_pathstring required

Request body

contentstring nullable
opsobject[] nullable
baseVersioninteger nullable

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.