WebService::GitHub::Repos::Webhooks
Create a repository webhook
WebService::GitHub::Repos::Webhooks.create-webhook( Str $owner
, Str $repo
, Positional :$events
, Str :$name
, Associative :$config!
, Bool :$active
)
Delete a repository webhook
WebService::GitHub::Repos::Webhooks.delete-webhook( Str $owner
, Str $repo
, Int(Str) $hook-id
)
Get a repository webhook
WebService::GitHub::Repos::Webhooks.get-webhook( Str $owner
, Str $repo
, Int(Str) $hook-id
)
Get a webhook configuration for a repository
WebService::GitHub::Repos::Webhooks.get-webhook-config-for-repo( Str $owner
, Str $repo
, Int(Str) $hook-id
)
List repository webhooks
WebService::GitHub::Repos::Webhooks.list-webhooks( Str $owner
, Str $repo
, Int(Str) :$per-page
, Int(Str) :$page
)
Ping a repository webhook
WebService::GitHub::Repos::Webhooks.ping-webhook( Str $owner
, Str $repo
, Int(Str) $hook-id
)
Test the push repository webhook
WebService::GitHub::Repos::Webhooks.test-push-webhook( Str $owner
, Str $repo
, Int(Str) $hook-id
)
Update a repository webhook
WebService::GitHub::Repos::Webhooks.update-webhook( Str $owner
, Str $repo
, Int(Str) $hook-id
, Positional :$remove-events
, Bool :$active
, Positional :$add-events
, Positional :$events
, Associative :$config
)
Update a webhook configuration for a repository
WebService::GitHub::Repos::Webhooks.update-webhook-config-for-repo( Str $owner
, Str $repo
, Int(Str) $hook-id
, Str :$secret
, Str :$insecure-ssl
, Str :$content-type
, Str :$url
)