id
. GitHub Apps must have the checks:read
permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the repo
scope to get annotations for a check run in a private repository.curl --location --request GET 'https://api.github.com/repos///check-runs//annotations'
[
{
"annotation_level": "warning",
"blob_href": "string",
"end_column": 10,
"end_line": 2,
"message": "Check your spelling for 'banaas'.",
"path": "README.md",
"raw_details": "Do you mean 'bananas' or 'banana'?",
"start_column": 5,
"start_line": 2,
"title": "Spell Checker"
}
]
Authorization: Bearer ********************
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通