List Notes Refs
List Git notes refs under a notes ref prefix with cursor pagination. Use this to discover custom notes namespaces before reading individual notes.
JWT claims
Required scopes: git:read
Requires per repo scope: Yes
Deprecated: Use /api/repos/{repo_name}/notes/refs instead.
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.
Query Parameters
Notes ref prefix to enumerate. A bare prefix like reviews is placed under refs/notes/; a fully-qualified refs/notes/* prefix is also accepted. Defaults to refs/notes/.
Pagination cursor returned by a previous list_notes_refs response.
Maximum number of notes refs to return. Defaults to 20.
Response
Notes refs in lexical order.
Paginated list of Git notes refs under the requested prefix.
Whether more notes refs exist.
true
Normalized notes ref prefix used for the listing.
"refs/notes/reviews/"
List of notes refs.
Opaque cursor for the next page (absent when no more results).
"refs/notes/reviews/session-b"