Skip to content

Commit 635a460

Browse files
committed
Merge pull request github#191 from rcs/patch-1
Highlight /hooks API listing
2 parents b5c199e + a45b919 commit 635a460

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

content/v3/repos/hooks.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,13 @@ The payloads for all of the hooks mirror [the payloads for the Event
3636
types](/v3/activity/events/types/), with the exception of [the original `push`
3737
event](http://help.github.com/post-receive-hooks/).
3838

39+
A number of external services have already been integrated through the open source
40+
[github-services](https://github.com/github/github-services) project, including the generic
41+
[Web Service](https://github.com/github/github-services/blob/master/services/web.rb) service which can be used to
42+
define your own custom hooks. All possible names for hooks, the events they support, and their configuration can be seen at [/hooks](https://api.github.com/hooks).
43+
3944
For a Hook to go through, the Hook needs to be configured to trigger for
40-
an event, and the Service has to listen to it. The Services are all
41-
part of the open source [github-services](https://github.com/github/github-services) project. Most of the Services only listen for `push` events. However, the generic [Web Service](https://github.com/github/github-services/blob/master/services/web.rb) listens for all events. Other services like the [IRC Service](https://github.com/github/github-services/blob/master/services/irc.rb) may only listen for `push`, `issues`, and `pull_request` events.
45+
an event, and the Service has to listen to it. Most of the Services only listen for `push` events. However, the generic [Web Service](https://github.com/github/github-services/blob/master/services/web.rb) listens for all events. Other services like the [IRC Service](https://github.com/github/github-services/blob/master/services/irc.rb) may only listen for `push`, `issues`, and `pull_request` events.
4246

4347
## List
4448

0 commit comments

Comments
 (0)