Skip to main content
Bookmarks are named refs analogous to Git branches. Required scope: read

Options

str
required
Repository name.
str | None
Organization override.
str | None
Opaque pagination cursor from a previous response.
int | None
Maximum number of bookmarks to return. The server maximum is 100.

Response

str | None
Cursor for the next page, or null when no more results remain.
bool
Whether another page of results is available.
list[Bookmark]
Bookmark objects.

Bookmark

str
Bookmark name.
str
Change ID the bookmark points to.
bool
Whether this is the repository default bookmark.