curl --location --request GET 'https://api.github.com/feeds'
{
"_links": {
"current_user": {
"href": "string",
"type": "string"
},
"current_user_actor": {
"href": "string",
"type": "string"
},
"current_user_organization": {
"href": "string",
"type": "string"
},
"current_user_organizations": [
{
"href": "string",
"type": "string"
}
],
"current_user_public": {
"href": "string",
"type": "string"
},
"security_advisories": {
"href": "string",
"type": "string"
},
"timeline": {
"href": "string",
"type": "string"
},
"user": {
"href": "string",
"type": "string"
}
},
"current_user_actor_url": "https://github.com/octocat.private.actor?token=abc123",
"current_user_organization_url": "https://github.com/octocat-org",
"current_user_organization_urls": [
"https://github.com/organizations/github/octocat.private.atom?token=abc123"
],
"current_user_public_url": "https://github.com/octocat",
"current_user_url": "https://github.com/octocat.private?token=abc123",
"timeline_url": "https://github.com/timeline",
"user_url": "https://github.com/{user}"
}
Authorization: Bearer ********************
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通