List hooks
curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/hooks \
--header 'Authorization: <api-key>'[
{
"id": 123,
"type": "gogs",
"events": [
"<string>"
],
"active": true,
"config": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]Webhooks
List hooks
GET
/
repos
/
{owner}
/
{repo}
/
hooks
List hooks
curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/hooks \
--header 'Authorization: <api-key>'[
{
"id": 123,
"type": "gogs",
"events": [
"<string>"
],
"active": true,
"config": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]Authorizations
Personal access token. Use format: token {YOUR_ACCESS_TOKEN}