Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.82 KB

getCommitAuthors.md

File metadata and controls

55 lines (40 loc) · 1.82 KB
name example route scope type
Get commit authors
octokit.rest.migrations.getCommitAuthors({ owner, repo })
GET /repos/{owner}/{repo}/import/authors
migrations
API method

Get commit authors

This method is deprecated.

Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username hubot into something like hubot <hubot@12341234-abab-fefe-8787-fedcba987654>.

This endpoint and the Map a commit author endpoint allow you to provide correct Git author information.

Warning: Due to very low levels of usage and available alternatives, this endpoint is deprecated and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the changelog.

octokit.rest.migrations.getCommitAuthors({
  owner,
  repo,
});

Parameters

name required description
owneryes

The account owner of the repository. The name is not case sensitive.

repoyes

The name of the repository without the .git extension. The name is not case sensitive.

sinceno

A user ID. Only return users with an ID greater than this ID.

See also: GitHub Developer Guide documentation.