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.

Commit2fd8393

Browse files
committed
Merge pull request#149 from github/one-hook-per-service
Clarify that non-web services can have at most one hook configured for a repository
2 parents317e334 +710faf6 commit2fd8393

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎content/v3/repos/hooks.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ or the [PubSubHubbub API](#pubsubhubbub).
3333

3434
POST /repos/:owner/:repo/hooks
3535

36-
###Parameter
36+
**Note**: Services other than the`web` service can have at most one hook configured for a repository. Creating hooks for a service that already has a hook configured will[update the existing hook](#edit-a-hook). The`web` service can have multiple hooks configured for a repository.
37+
38+
###Parameters
3739

3840
Name | Type | Description
3941
-----|------|--------------
@@ -75,7 +77,7 @@ Here's how you can setup a hook that posts payloads in JSON format:
7577

7678
PATCH /repos/:owner/:repo/hooks/:id
7779

78-
###Parameter
80+
###Parameters
7981

8082
Name | Type | Description
8183
-----|------|--------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp