@(account: gitbucket.core.model.Account, webHooks: List[(gitbucket.core.model.AccountWebHook, Set[gitbucket.core.model.WebHook.Event])], info: Option[Any])(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.html.main("Service Hooks"){ @gitbucket.core.account.html.menu("hooks", account.userName, account.isGroupAccount){ @gitbucket.core.helper.html.information(info)
Webhooks

These webhooks notify external services when certain events occur within any of your repositories. When any of the specified events occur, GitBucket will send a POST request to all of the endpoints (URLs) you provide. Learn more about this feature on the GitBucket Wiki.

Add webhook

@webHooks.map { case (webHook, events) =>
@webHook.url (@events.map(_.name).mkString(", ")) |
}

} }