repos.notes.create
Attach text to a Git object without changing the repository contents. Use notes for review markers, internal decisions, or other lightweight context. To add text to a note, use POST /notes/append.
Scope: git:write on the repository.
Authorizations
JWT bearer token signed with your organization's registered signing key. There is no OAuth authorization server; you mint tokens yourself and the token's scopes claim carries the granted permission scopes. Public scopes: git:read (read repository contents), git:write (write branches, commits, tags, and notes), repo:write (create and manage repositories), org:read (list an organization's repositories). Each operation's security requirement names the scopes it requires. See https://code.storage/docs/getting-started/authentication for how to mint tokens.
Body
Create a Git note for the supplied object_ref. The request fails with 409 if the object already has a note. Set notes_ref to target a notes ref other than refs/notes/commits; a bare name like reviews is accepted and placed under refs/notes/. The deprecated action: append appends, as POST /notes/append does.
Create-note request describing the Git object, the note content, and the optional notes ref guard.
Response
Note update applied to the notes ref.
Result of a notes write operation, including the resulting notes ref state.