curl --location --request GET 'https://api.github.com/admin/pre-receive-hooks'
[
{
"allow_downstream_configuration": true,
"enforcement": "string",
"environment": {
"created_at": "string",
"default_environment": true,
"download": {
"downloaded_at": "string",
"message": "string",
"state": "string",
"url": "string"
},
"hooks_count": 0,
"html_url": "string",
"id": 0,
"image_url": "string",
"name": "string",
"url": "string"
},
"id": 0,
"name": "string",
"script": "string",
"script_repository": {
"full_name": "string",
"html_url": "string",
"id": 0,
"url": "string"
}
}
]
Authorization: Bearer ********************
asc
(ascending) or desc
(descending).created
(when the repository was starred) or updated
(when it was last pushed to) or name
.【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通