php-github-api icon indicating copy to clipboard operation
php-github-api copied to clipboard

Webhook documentation

Open sordev opened this issue 7 years ago • 1 comments

There is actually webhook working through

Like below. But there is no documentation found. https://github.com/KnpLabs/php-github-api/tree/master/doc

Please add full documentation for this.

$client = self::auth($this->repo_connection);

$create_hook = $client->api('repo')->hooks()->create($repo->owner, $repo->name, $params);

$hooks = $client->api('repo')->hooks()->all($repo->owner, $repo->name);

sordev avatar Apr 24 '19 09:04 sordev

@sordev Thanks for reporting this docs issue. Please if you have the time open a PR to provide the missing documentation, we are happy to have it merged! Thanks!

acrobat avatar Apr 28 '19 17:04 acrobat