Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit13824ad

Browse files
committed
clarify insecure_ssl parameter values
1 parent4d21c6d commit13824ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎content/v3/repos/hooks.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ Name | Type | Description
120120
#####Example
121121

122122
The["web" service hook](https://github.com/github/github-services/blob/master/lib/services/web.rb#L4-11)
123-
takes these fields:
123+
takes these fields in the`config`:
124124

125125
Name | Type | Description
126126
-----|------|--------------
127127
`url`|`string` |**Required**. The URL to which the payloads will be delivered.
128128
`content_type`|`string` | The media type used to serialize the payloads. Currently, only`json` is supported. Default:`json`
129129
`secret`|`string` | If defined, then HTTP requests that deliver the payloads will include an`X-Hub-Signature` header. The value of this header is computed as the[HMAC hex digest of the body, using the`secret` as the key][hub-signature].
130-
`insecure_ssl`|`boolean` | Determines whether the SSL certificate of the host for`url` will be verified when delivering payloads.Default:`0` (verification is performed)
130+
`insecure_ssl`|`string` | Determines whether the SSL certificate of the host for`url` will be verified when delivering payloads.Supported values:`"0"` (verification is performed) and`"1"` (verification is not performed). Default:`"0"`.
131131

132132
Here's how you can setup a hook that posts payloads in JSON format:
133133

@@ -152,7 +152,7 @@ Here's how you can setup a hook that posts payloads in JSON format:
152152

153153
####Parameter
154154

155-
Name | Type | Description
155+
Name | Type | Description
156156
-----|------|--------------
157157
`config`|`hash` | Key/value pairs to provide settings for this hook. Modifying this will replace the entire config object. These settings vary between the services and are defined in the[github-services](https://github.com/github/github-services) repository. Booleans are stored internally as "1" for true, and "0" for false. Any JSON`true`/`false` values will be converted automatically.
158158
`events`|`array` | Determines what events the hook is triggered for. This replaces the entire array of events. Default:`["push"]`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp