@(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

Webhooks allow external services to be notified when certain events happen within your repository. When the specified events happen, we’ll send a POST request to each of the URLs you provide. Learn more in GitBucket Wiki Webhook Page.

Add webhook

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

} }