cURL
curl --request POST \ --url https://api.mesa.dev/v1/{org}/{repo}/bookmark \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "from_commit_oid": "<string>" } '
{ "name": "<string>", "commit_oid": "<string>", "is_default": true }
Create a new bookmark from an existing commit
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
^[0-9a-f]{40}$
Bookmark created