Interface CommitsParams

Query parameters for listing repository commits.

interface CommitsParams {
    author?: string;
    committer?: string;
    page?: number;
    path?: string;
    per_page?: number;
    sha?: string;
    since?: string;
    until?: string;
}

Hierarchy (View Summary)

Properties

author?: string

Filter by author login or email

committer?: string

Filter by committer login or email

page?: number

Page number to retrieve (1-based). Use nextPage from the previous response to paginate forward.

path?: string

Only commits containing this file path

per_page?: number

Maximum number of results per page. GitHub default is 30, maximum is 100.

sha?: string

SHA or branch to start listing commits from

since?: string

Only commits after this ISO 8601 date

until?: string

Only commits before this ISO 8601 date