octokit.rest

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.

Parameters

string The token will be passed in the authorization header.

string

string

integer

string The new Git author email.

string The new Git author name.

string

Request

PATCH https://api.github.com/repos///import/authors/
authorization: bearer undefined
accept: application/vnd.github.v3+json
user-agent: octokit.rest
content-length: 0


Example Response

Status: 200
{
  "id": 2268557,
  "remote_id": "nobody@fc7da526-431c-80fe-3c8c-c148ff18d7ef",
  "remote_name": "nobody",
  "email": "hubot@github.com",
  "name": "Hubot",
  "url": "https://api.github.com/repos/octocat/socm/import/authors/2268557",
  "import_url": "https://api.github.com/repos/octocat/socm/import"
}

See documentation on GitHub developer guides