Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt

Use this file to discover all available pages before exploring further.

List changes in a repository using cursor pagination.
const changes = await mesa.changes.list({ repo: 'app', bookmark: 'main' });

for (const change of changes.changes) {
  console.log(change.id, change.message);
}

Options

repo
string
required
Repository name.
org
string | undefined
Organization override.
bookmark
string | undefined
Bookmark whose reachable changes should be listed. Defaults to the repository default bookmark.
cursor
string | undefined
Opaque pagination cursor from a previous response.
limit
number | undefined
Maximum number of changes to return. The server maximum is 100.

Response

next_cursor
string | null
Cursor for the next page, or null when no more results remain.
has_more
boolean
Whether another page is available.
changes
array
Change objects with id, current_commit_oid, is_conflicted, message, author, committer, parents, created_at, and updated_at.

Required scope

read