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}

Request

  • Base URL: https://api.latted.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.latted.com/api/projects/{project_id}/workspace/files/{file_path}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

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 operation across all 20 revisions of this API.