team repo

Repo Write Blob

Replace one file's whole text, as a real commit.

The frontmatter endpoint edits a single property, which is the safe 90% — but a lesson whose WORDING is wrong cannot be fixed by setting a key, and "read-only except one property" makes the files view something you look at rather than something you use.

Markdown only, inside the tree, and the runtime is a live writer of the same files: expected_commit makes a concurrent write lose visibly rather than silently overwrite a teaching that landed mid-edit.

put/v1/teams/{team_id}/repo/blob

Request

  • Base URL: https://api.stormy.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.stormy.ai/v1/teams/{team_id}/repo/blob
  • Auth: none declared

Path parameters

team_idstring uuid required

Headers

authorizationstring nullable
x-darwin-tokenstring nullable

Request body

pathstring required
textstring required
expected_commitstring nullable

Response

Successful Response

object required

Changes

No operation changes recorded.