Skip to main content
Create a bookmark pointing at an existing change. Required scope: write
const bookmark = await mesa.bookmarks.create({
  repo: 'app',
  name: 'feature/auth',
  change_id: 'zyxwvutsrqponmlkzyxwvutsrqponmlk',
});

console.log(bookmark.name);

Options

repo
string
required
Repository name.
name
string
required
Bookmark name.
change_id
string
required
Change ID the bookmark should point to.
org
string | undefined
Organization override.

Response

name
string
Bookmark name.
change_id
string
Change ID the bookmark points to.
is_default
boolean
Whether this is the repository default bookmark.