Parameters
The commit SHA to read the note from
JWT Requirements
- The JWT must include the repository in the
repoclaim - Requires
git:readscope
Response
Response Fields
The commit SHA
The note content
Current SHA of
refs/notes/commitsNotes
- Git notes are stored in
refs/notes/commits - Notes allow attaching metadata to commits without modifying the commit itself
- Common use cases include build status, review comments, and deployment annotations
Error Responses
Note doesn’t exist for the specified commit
Invalid JWT or missing
git:read scopeMissing
sha parameter