Add an API for webhooks
Review Request #10053 — Created July 2, 2018 and submitted
Webhooks can now be created, deleted, updated, or retrieved from the web
API.Now that we have multiple sub-routers, (e.g. for repos/ and hooks/), the
router building code has been refactored into a data type (routingEntry)
and method (addRoutes) so that the same code does not need to be
repeated for each set of routes.Co-authored-by: Florie Cai floriecai@hotmail.com
Ran
go fmt ./....
Ranmake test.
Ranmake integration-tests.
| Description | From | Last Updated |
|---|---|---|
|
Typo in description: mulitple |
|
- Description:
-
Webhooks can now be created, deleted, updated, or retrieved from the web
API. ~ Now that we have mulitple sub-routers, (e.g. for repos/ and hooks/), the
~ Now that we have multiple sub-routers, (e.g. for repos/ and hooks/), the
router building code has been refactored into a data type ( routingEntry)and method ( addRoutes) so that the same code does not need to berepeated for each set of routes. Co-authored-by: Florie Cai floriecai@hotmail.com