name | example | route | scope | type |
---|---|---|---|---|
Map a commit author |
octokit.rest.migrations.mapCommitAuthor({ owner, repo, author_id }) |
PATCH /repos/{owner}/{repo}/import/authors/{author_id} |
migrations |
API method |
This method is deprecated.
Update an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.
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.mapCommitAuthor({
owner,
repo,
author_id,
});
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 |
author_id | yes | |
no |
The new Git author email. | |
name | no |
The new Git author name. |
See also: GitHub Developer Guide documentation.