GitHub API Root
GET
/Get Hypermedia links to resources accessible in GitHub's REST API
请求参数
无
示例代码
返回响应
Response(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
authorizations_url
string <uri-template>
必需
code_search_url
string <uri-template>
必需
commit_search_url
string <uri-template>
必需
current_user_authorizations_html_url
string <uri-template>
必需
current_user_repositories_url
string <uri-template>
必需
current_user_url
string <uri-template>
必需
emails_url
string <uri-template>
必需
emojis_url
string <uri-template>
必需
events_url
string <uri-template>
必需
feeds_url
string <uri-template>
必需
followers_url
string <uri-template>
必需
following_url
string <uri-template>
必需
gists_url
string <uri-template>
必需
hub_url
string <uri-template>
必需
issue_search_url
string <uri-template>
必需
issues_url
string <uri-template>
必需
keys_url
string <uri-template>
必需
label_search_url
string <uri-template>
必需
notifications_url
string <uri-template>
必需
organization_repositories_url
string <uri-template>
必需
organization_teams_url
string <uri-template>
必需
organization_url
string <uri-template>
必需
public_gists_url
string <uri-template>
必需
rate_limit_url
string <uri-template>
必需
repository_search_url
string <uri-template>
必需
repository_url
string <uri-template>
必需
starred_gists_url
string <uri-template>
必需
starred_url
string <uri-template>
必需
topic_search_url
string <uri-template>
可选
user_organizations_url
string <uri-template>
必需
user_repositories_url
string <uri-template>
必需
user_search_url
string <uri-template>
必需
user_url
string <uri-template>
必需
示例
{
"authorizations_url": "http://example.com/{endpoint}",
"code_search_url": "http://example.com/{endpoint}",
"commit_search_url": "http://example.com/{endpoint}",
"current_user_authorizations_html_url": "http://example.com/{endpoint}",
"current_user_repositories_url": "http://example.com/{endpoint}",
"current_user_url": "http://example.com/{endpoint}",
"emails_url": "http://example.com/{endpoint}",
"emojis_url": "http://example.com/{endpoint}",
"events_url": "http://example.com/{endpoint}",
"feeds_url": "http://example.com/{endpoint}",
"followers_url": "http://example.com/{endpoint}",
"following_url": "http://example.com/{endpoint}",
"gists_url": "http://example.com/{endpoint}",
"hub_url": "http://example.com/{endpoint}",
"issue_search_url": "http://example.com/{endpoint}",
"issues_url": "http://example.com/{endpoint}",
"keys_url": "http://example.com/{endpoint}",
"label_search_url": "http://example.com/{endpoint}",
"notifications_url": "http://example.com/{endpoint}",
"organization_repositories_url": "http://example.com/{endpoint}",
"organization_teams_url": "http://example.com/{endpoint}",
"organization_url": "http://example.com/{endpoint}",
"public_gists_url": "http://example.com/{endpoint}",
"rate_limit_url": "http://example.com/{endpoint}",
"repository_search_url": "http://example.com/{endpoint}",
"repository_url": "http://example.com/{endpoint}",
"starred_gists_url": "http://example.com/{endpoint}",
"starred_url": "http://example.com/{endpoint}",
"topic_search_url": "http://example.com/{endpoint}",
"user_organizations_url": "http://example.com/{endpoint}",
"user_repositories_url": "http://example.com/{endpoint}",
"user_search_url": "http://example.com/{endpoint}",
"user_url": "http://example.com/{endpoint}"
}
修改于 2 年前