repo
scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.subject_type
and subject_id
parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about octocat
who owns the Spoon-Knife
repository via cURL, it would look like this:
curl --location --request GET 'https://api.github.com/users//hovercard'
{
"contexts": [
{
"message": "string",
"octicon": "string"
}
]
}
Authorization: Bearer ********************
organization
, repository
, issue
, pull_request
. Required when using subject_id
.subject_type
you specified. Required when using subject_type
.【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通