refs/notes/commits and are useful for storing build status, review comments, or other annotations.
Options
| Parameter | Type | Description |
|---|---|---|
sha | Required | Commit SHA to read the note from |
ttl | Optional | Token TTL in seconds |
Response
| Field | Type | Description |
|---|---|---|
sha | String | The commit SHA |
note | String | The note content |
refSha (TypeScript)ref_sha (Python) | String | Current SHA of refs/notes/commits |