Learn R Programming

github (version 0.9.8)

create.hook: create a new hook for repo

Description

create a new hook for repo

Usage

create.hook(owner, repo, content, ctx = get.github.context())

Arguments

owner

the repo owner (user, org, etc)

repo

the name of the repo

content

the JSON object describing the hook. See http://developer.github.com/v3/repos/hooks/#create-a-hook for details.

ctx

the github context object

Value

the specific hook