v1

latestOpenAPI 3.1.02026-07-2631411.5 MB
Context - Runtime

Write runtime sandbox file

Create or overwrite a file in the workspace runtime sandbox and push the change to the workspace's default branch on GitHub.

put/context/runtime/content

Request body

pathstring required

Path of the file to write, relative to the workspace working directory.

contentstring required

Full UTF-8 content to write.

commitMessagestring

Optional commit message override. Defaults to 'context(runtime): write <path>'.

Response

Successful response