v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
migrations

Map a commit author

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] Endpoint closing down notice: Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the changelog.

patch/repos/{owner}/{repo}/import/authors/{author_id}

Path parameters

ownerstring required

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

repostring required

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

author_idinteger required

Request body

emailstring

The new Git author email.

namestring

The new Git author name.

Response

Response

idinteger required
remote_idstring required
remote_namestring required
emailstring required
namestring required
urlstring uri required
import_urlstring uri required