Closed
Description
Description
As can be seen in the Swagger documentation for the repoListHooks and repoGetHook API calls, the branch filter is not returned when listing or getting webhooks.
https://try.gitea.io/api/swagger#/repository/repoListHooks
https://try.gitea.io/api/swagger#/repository/repoGetHook
It is possible to create or edit a webhook with a branch filter though.
https://try.gitea.io/api/swagger#/repository/repoCreateHook
https://try.gitea.io/api/swagger#/repository/repoEditHook
Gitea Version
1.20.2
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker
Database
PostgreSQL