Authorization: Bearer ********************
curl --location --request GET 'https://api.github.com/repos///branches//protection/required_status_checks' \
--header 'Authorization: Bearer <token>'
{
"contexts": [
"continuous-integration/travis-ci"
],
"contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts",
"strict": true,
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks"
}
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通