v1

latestOpenAPI 3.0.32026-07-17136180270.3 KB
Git

Write workspace file

Write workspace file. Accepts a JSON request body when defined and returns the resulting resource or action status.

post/api/projects/{projectId}/workspaces/{workspaceId}/git/file

Path parameters

projectIdstring required

Project identifier used to scope the request.

workspaceIdstring required

Workspace identifier within the project.

Request body

pathstring required

File system path or repository-relative path.

contentstring required

Text content for a file or payload.

Response

File written

messagestring

Human-readable status or error message.

statusstring

Current status value.

successboolean

Whether the requested action succeeded.