GetRepoFileBlame
GetRepoFileBlame
Path Parameters
- owner required
The owner of the code repository is generally referred to as the "username". The name is not case sensitive.
- repo required
Code repository name. The name is not case sensitive.
Query Parameters
- sha required
sha value,like branchname,commitId
- file_path
The file path of blame to be queried
Header Parameters
- Authorization required
Oauth2 token or Privatetoken(start with Bearer and a space)
Responses
- 200
- 403
- 404
- responseBody
Success
Forbidden
resouce not found
- application/json
- Schema
Schema
- start integer
commit start line
contents array required
file content list
content stringfile content info
commit object
commit info
author_email stringcommitor email information
author_name stringcommitor name
user object
commitor's plateform info related(not required)。
avatar_url stringUser avatar address
email stringUser email information
id stringUser platform ID
username stringUser Platform username
Loading...