Function repos_slash_create_webhook

Source
pub async fn repos_slash_create_webhook(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
    repos_create_webhook_request: Option<ReposCreateWebhookRequest>,
) -> Result<Hook, Error<ReposSlashCreateWebhookError>>
Expand description

Repositories can have multiple webhooks installed. Each webhook should have a unique config. Multiple webhooks can share the same config as long as those webhooks do not have any events that overlap.