グローバルwebhookについて
You can use global webhooks to notify an external web server when events occur within your enterprise. You can configure the server to receive the webhook's payload, then run an application or code that monitors, responds to, or enforces rules for user and organization management for your enterprise. 詳しい情� �については、「webhook」を参照してく� さい。
For example, you can configure your GitHub Enterprise Server instance to send a webhook when someone creates, deletes, or modifies a repository or organization within your enterprise. You can configure the server to automatically perform a task after receiving the webhook.
GitHub Enterprise Server APIを使ってグローバルなwebhookを管理することもできます。 アクションの完全なリストについては、の「グローバルwebhook」を参照してく� さい。
グローバルwebhookの追�
-
GitHub Enterprise Serverの右上で、プロフィール写真をクリックし、続いてEnterprise settings(Enterpriseの設定)をクリックしてく� さい。
-
Enterpriseアカウントのサイドバーで、 Settings(設定)をクリックしてく� さい。
-
Under " Settings", click Hooks.
-
Add webhook(webhookの追� )をクリックしてく� さい。
-
ペイロードの受信に使用する URL を入力します。
-
Content type(コンテントタイプ)ドロップダウンメニューを使ってペイロードの形式をクリックすることもできます。
-
Secret(秘密)フィールドに、
secret
キーとして使う文字列を入力することもできます。 -
Optionally, if your payload URL is HTTPS and you would not like GitHub Enterprise Server to verify SSL certificates when delivering payloads, select Disable SSL verification. SSLの検証に関する情� �を読んで、 I understand my webhooks may not be secure(webhookがセキュアではないかもしれないことを理解しました)をクリックしてく� さい。
警告: SSL 検証は、フックのペイロードがセキュアにデリバリされることを保証するのに役立ちます。 SSL 検証を無効化することはおすすめしません。
-
Decide if you'd like this webhook to trigger for every event or for selected events.
- すべてのイベントの� �合は [Send me everything] を選択します。
- 特定のイベントを選択するには [Let me select individual events] を選択します。
-
If you chose to select individual events, select the events that will trigger the webhook.
-
Confirm that the Active checkbox is selected.
-
Add webhook(webhookの追� )をクリックしてく� さい。
グローバルwebhookの編集
-
GitHub Enterprise Serverの右上で、プロフィール写真をクリックし、続いてEnterprise settings(Enterpriseの設定)をクリックしてく� さい。
-
Enterpriseアカウントのサイドバーで、 Settings(設定)をクリックしてく� さい。
-
Under " Settings", click Hooks.
-
編集したいwebhookの隣のEdit(編集)をクリックしてく� さい。
-
webhookの設定の更新。
-
Update webhook(webhookの更新)をクリックしてく� さい。
グローバルwebhookの削除
-
GitHub Enterprise Serverの右上で、プロフィール写真をクリックし、続いてEnterprise settings(Enterpriseの設定)をクリックしてく� さい。
-
Enterpriseアカウントのサイドバーで、 Settings(設定)をクリックしてく� さい。
-
Under " Settings", click Hooks.
-
削除したいwebhookの隣のDelete(削除)をクリックしてく� さい。
-
webhookの削除に関する情� �を読んで、Yes, delete webhook(はい、webhookを削除します)をクリックしてく� さい。
最近のデリバリとレスポンスの表示
-
GitHub Enterprise Serverの右上で、プロフィール写真をクリックし、続いてEnterprise settings(Enterpriseの設定)をクリックしてく� さい。
-
Enterpriseアカウントのサイドバーで、 Settings(設定)をクリックしてく� さい。
-
Under " Settings", click Hooks.
-
webhook のリストで、デリバリを見たい webhook をクリックします。
-
[Recent deliveries(最近のデリバリ)] の下で、詳細を表示したいデリバリをクリックしてく� さい。