curl --location --request GET 'https://api.github.com/orgs//hooks'
[
{
"active": true,
"config": {
"content_type": "\"form\"",
"insecure_ssl": "\"0\"",
"secret": "\"********\"",
"url": "\"http://example.com/2\""
},
"created_at": "2011-09-06T17:26:27Z",
"events": [
"push",
"pull_request"
],
"id": 1,
"name": "web",
"ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
"type": "string",
"updated_at": "2011-09-06T20:39:23Z",
"url": "https://api.github.com/orgs/octocat/hooks/1"
}
]
Authorization: Bearer ********************
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通