54 Commits (1b950b98cf98c5064bafbd57cd6cde1fa029881b)

Author SHA1 Message Date
Dennis Chen 5ff2dfb23e api: delete repository webhooks (#3275)
Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.

Solves drone/drone issue #1603.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years ago
Unknwon 3d93532c87 #3274 fix can't get webhook detail of organization 8 years ago
Unknwon d62ab49978 #3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
8 years ago
Unknwon e6f927f61a #1692 api: admin list and create team under organization 9 years ago