text-match
media type. For more details about how to receive highlighted search results, see Text match metadata.linguist
repository that match bug
, defect
, or enhancement
. Your query might look like this:q=bug+defect+enhancement&repository_id=64778136
curl --location --request GET 'https://api.github.com/search/labels?repository_id=&q='
{
"incomplete_results": true,
"items": [
{
"color": "string",
"default": true,
"description": "string",
"id": 0,
"name": "string",
"node_id": "string",
"score": 0,
"text_matches": [
{
"fragment": "string",
"matches": [
{
"indices": [
0
],
"text": "string"
}
],
"object_type": "string",
"object_url": "string",
"property": "string"
}
],
"url": "http://example.com"
}
],
"total_count": 0
}
Authorization: Bearer ********************
created
or updated
. Default: best matchdesc
) or lowest number of matches (asc
). This parameter is ignored unless you provide sort
.【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通