List organization webhooks
GET
/orgs/{org}/hooks- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- org stringrequired
Query Parameters
- per_page integeroptional
Results per page (max 100)
- page integeroptional
Page number of the results to fetch.
Responses
application/json array[Org Hook object]
Response
Headers
Link string
Example:
<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last" items Org Hook objectOrg Hook
items Org Hook object
Org Hook
active boolean
requiredExample: true
config objectrequired
config object
requiredcontent_type string
optionalExample: "form"
insecure_ssl string
optionalExample: "0"
secret string
optionalExample: "********"
url string
optionalExample: "http://example.com/2"
created_at string<date-time>
requiredExample: 2011-09-06T17:26:27Z
events array[string]
requiredExample:
[
"push",
"pull_request"
]id integer
requiredExample: 1
name string
requiredExample: web
ping_url string<uri>
requiredExample: https://api.github.com/orgs/octocat/hooks/1/pings
type string
requiredupdated_at string<date-time>
requiredExample: 2011-09-06T20:39:23Z
url string<uri>
requiredExample: https://api.github.com/orgs/octocat/hooks/1
application/json Basic Error object
Resource not found
documentation_url string
optionalmessage string
optionalstatus string
optionalurl string
optional