Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Org Hook
Example:1
Example:https://api.github.com/orgs/octocat/hooks/1
Example:https://api.github.com/orgs/octocat/hooks/1/pings
Example:web
Example:["push","pull_request"]
Example:true
Example:2011-09-06T20:39:23Z
Example:2011-09-06T17:26:27Z
Here’s how you can create a hook that posts payloads in JSON format:
Must be passed as “web”.
Key/value pairs to provide settings for this webhook. These are defined below.
Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications.
Default:true
Response
Org Hook
Example:1
Example:https://api.github.com/orgs/octocat/hooks/1
Example:https://api.github.com/orgs/octocat/hooks/1/pings
Example:web
Example:["push","pull_request"]
Example:true
Example:2011-09-06T20:39:23Z
Example:2011-09-06T17:26:27Z
Returns a webhook configured in an organization. To get only the webhook config
properties, see “Get a webhook configuration for an organization.”
Response
Org Hook
Example:1
Example:https://api.github.com/orgs/octocat/hooks/1
Example:https://api.github.com/orgs/octocat/hooks/1/pings
Example:web
Example:["push","pull_request"]
Example:true
Example:2011-09-06T20:39:23Z
Example:2011-09-06T17:26:27Z
Updates a webhook configured in an organization. When you update a webhook, the secret
will be overwritten. If you previously had a secret
set, you must provide the same secret
or set a new secret
or the secret will be removed. If you are only updating individual webhook config
properties, use “Update a webhook configuration for an organization.”
Key/value pairs to provide settings for this webhook. These are defined below.
Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications.
Default:true
Example:"web"
Response
Org Hook
Example:1
Example:https://api.github.com/orgs/octocat/hooks/1
Example:https://api.github.com/orgs/octocat/hooks/1/pings
Example:web
Example:["push","pull_request"]
Example:true
Example:2011-09-06T20:39:23Z
Example:2011-09-06T17:26:27Z
Response