name | example | route | scope | type |
---|---|---|---|---|
Get commit authors |
octokit.rest.migrations.getCommitAuthors({ owner, repo }) |
GET /repos/{owner}/{repo}/import/authors |
migrations |
API method |
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,
});
name | required | description |
---|---|---|
owner | yes |
The account owner of the repository. The name is not case sensitive. |
repo | yes |
The name of the repository without the |
since | no |
A user ID. Only return users with an ID greater than this ID. |
See also: GitHub Developer Guide documentation.