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
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Repository name. Names that contain / or any other character that is not safe in a URL path segment must be URL encoded so the value occupies a single path segment. For example pierre/example is sent as pierre%2Fexample. Plain names such as example can be sent as-is. The server URL-decodes the value before resolving the repository.
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"