Skip to main content
Repoint an existing bookmark to a different change ID. Required scope: write
bookmark = await mesa.bookmarks.move(
    repo="app",
    bookmark="main",
    change_id="zyxwvutsrqponmlkzyxwvutsrqponmlk",
)
print(bookmark.from_change_id, bookmark.change_id)

Options

repo
str
required
Repository name.
bookmark
str
required
Bookmark name to move.
change_id
str
required
Change ID to move the bookmark to.
org
str | None
Organization override.

Response

name
str
Bookmark name.
change_id
str
Change ID the bookmark points to.
is_default
bool
Whether this is the repository default bookmark.
from_change_id
str | None
Previous change ID before the move, or null when unavailable.