Jwt Github API,获取可访问受保护分支的应用程序,获取404
我正在使用github/reposapi。我特别想找到哪些应用程序可以访问github()中受保护的分支 url基本上应该是Jwt Github API,获取可访问受保护分支的应用程序,获取404,jwt,http-status-code-404,github-api,Jwt,Http Status Code 404,Github Api,我正在使用github/reposapi。我特别想找到哪些应用程序可以访问github()中受保护的分支 url基本上应该是/repos/REPONAME/branchs/BRANCH/protection/restrictions/apps 我的标题如下所示: headers = { 'Authorization': 'token ' + token, "Accept": "application/vnd.github.machin
/repos/REPONAME/branchs/BRANCH/protection/restrictions/apps
我的标题如下所示:
headers = {
'Authorization': 'token ' + token,
"Accept": "application/vnd.github.machine-man-preview+json",
}
我正在使用我在该回购协议上安装的github应用程序中的令牌。我知道应用程序具有访问权限,并且pem是正确的,因为当我点击端点:/branchs/BRANCH/protection
时,我得到了有效的响应
我要提到的是,我正试图通过分岔回购来实现这一点。谢谢