@@ -60,21 +60,23 @@ part of the open source [github-services](https://github.com/github/github-servi
6060
6161###Input
6262
63- name
63+ ` name `
6464:_ Required_ ** string** - The name of the service that is being called.
6565See[ /hooks] ( https://api.github.com/hooks ) for the possible names.
6666
67- config
67+ ` config `
6868:_ Required_ ** hash** - A Hash containing key/value pairs to provide
6969settings for this hook. These settings vary between the services and
7070are defined in the
7171[ github-services] ( https://github.com/github/github-services ) repo.
72+ Booleans are stored internally as "1" for true, and "0" for false. Any
73+ JSON true/false values will be converted automatically.
7274
73- events
75+ ` events `
7476:_ Optional_ ** array** - Determines what events the hook is triggered
7577for. Default:` ["push"] ` .
7678
77- active
79+ ` active `
7880:_ Optional_ ** boolean** - Determines whether the hook is actually
7981triggered on pushes.
8082
@@ -97,30 +99,33 @@ triggered on pushes.
9799
98100###Input
99101
100- name
102+ ` name `
101103:_ Required_ ** string** - The name of the service that is being called.
102104See[ /hooks] ( https://api.github.com/hooks ) for the possible names.
103105
104- config
106+ ` config `
105107:_ Required_ ** hash** - A Hash containing key/value pairs to provide
106108settings for this hook. Modifying this will replace the entire config
107109object. These settings vary between the services and
108110are defined in the
109111[ github-services] ( https://github.com/github/github-services ) repo.
112+ Booleans are stored internally as "1" for true, and "0" for false. Any
113+ JSON true/false values will be converted automatically.
110114
111- events
115+
116+ ` events `
112117:_ Optional_ ** array** - Determines what events the hook is triggered
113118for. This replaces the entire array of events. Default:` ["push"] ` .
114119
115- add_events
120+ ` add_events `
116121:_ Optional_ ** array** - Determines a list of events to be added to the
117122list of events that the Hook triggers for.
118123
119- remove_events
124+ ` remove_events `
120125:_ Optional_ ** array** - Determines a list of events to be removed from the
121126list of events that the Hook triggers for.
122127
123- active
128+ ` active `
124129:_ Optional_ ** boolean** - Determines whether the hook is actually
125130triggered on pushes.
126131
@@ -197,17 +202,17 @@ exists, it will be modified according to the request.
197202
198203###Parameters
199204
200- hub.mode
205+ ` hub.mode `
201206:_ Required_ ** string** - Either` subscribe ` or` unsubscribe ` .
202207
203- hub.topic
208+ ` hub.topic `
204209:_ Required_ ** string** - The URI of the GitHub repository to subscribe
205210to. The path must be in the format of` /:user/:repo/events/:event ` .
206211
207- hub.callback
212+ ` hub.callback `
208213:_ Required_ ** string** - The URI to receive the updates to the topic.
209214
210- hub.secret
215+ ` hub.secret `
211216:_ Optional_ ** string** - A shared secret key that generates a SHA1 HMAC
212217of the payload content. You can verify a push came from GitHub by
213218comparing the received body with the contents of the` X-Hub-Signature `