gh_repos_post_hooks_tests: Test a push hook.

Description Usage Arguments Details

Description

This will trigger the hook with the latest push to the current repository if the hook is subscribed to push events. If the hook is not subscribed to push events, the server will respond with 204 but no test POST will be generated. Note: Previously /repos/:owner/:repo/hooks/:id/tes

Usage

1
gh_repos_post_hooks_tests(owner, repo, hookId, ...)

Arguments

owner

Name of repository owner.

repo

Name of repository.

hookId

Id of hook.

...

Additional parameters to pass to gh. See details.

Details

Additional parameters that can be passed:

type

It takes values in: all, public, private, forks, sources, member. The default is: all

Accept

Is used to set specified media type.


ramnathv/gh3 documentation built on May 7, 2019, 12:53 a.m.