Skip to content

Instantly share code, notes, and snippets.

@haya14busa
Created May 28, 2018 13:36
Show Gist options
  • Save haya14busa/7a9a87da5159d6853fed865ca5ad5ec7 to your computer and use it in GitHub Desktop.
Save haya14busa/7a9a87da5159d6853fed865ca5ad5ec7 to your computer and use it in GitHub Desktop.
GitHub Apps installation webhook created event
Request method: POST
content-type: application/json
Expect:
User-Agent: GitHub-Hookshot/dc07019
X-GitHub-Delivery: dd769c30-626f-11e8-9a78-3c29358cdebf
X-GitHub-Event: installation
X-Hub-Signature: sha1=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
{
"action": "created",
"installation": {
"id": 192669,
"account": {
"login": "haya14busa",
"id": 3797062,
"avatar_url": "https://avatars0.githubusercontent.com/u/3797062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haya14busa",
"html_url": "https://github.com/haya14busa",
"followers_url": "https://api.github.com/users/haya14busa/followers",
"following_url": "https://api.github.com/users/haya14busa/following{/other_user}",
"gists_url": "https://api.github.com/users/haya14busa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/haya14busa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/haya14busa/subscriptions",
"organizations_url": "https://api.github.com/users/haya14busa/orgs",
"repos_url": "https://api.github.com/users/haya14busa/repos",
"events_url": "https://api.github.com/users/haya14busa/events{/privacy}",
"received_events_url": "https://api.github.com/users/haya14busa/received_events",
"type": "User",
"site_admin": false
},
"repository_selection": "selected",
"access_tokens_url": "https://api.github.com/installations/192669/access_tokens",
"repositories_url": "https://api.github.com/installation/repositories",
"html_url": "https://github.com/settings/installations/192669",
"app_id": 12131,
"target_id": 3797062,
"target_type": "User",
"permissions": {
"checks": "write",
"pull_requests": "read"
},
"events": [
"check_run",
"check_suite",
"pull_request"
],
"created_at": 1527509323,
"updated_at": 1527509323,
"single_file_name": null
},
"repositories": [
{
"id": 71133469,
"name": "reviewdog",
"full_name": "haya14busa/reviewdog",
"private": false
}
],
"sender": {
"login": "haya14busa",
"id": 3797062,
"avatar_url": "https://avatars0.githubusercontent.com/u/3797062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haya14busa",
"html_url": "https://github.com/haya14busa",
"followers_url": "https://api.github.com/users/haya14busa/followers",
"following_url": "https://api.github.com/users/haya14busa/following{/other_user}",
"gists_url": "https://api.github.com/users/haya14busa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/haya14busa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/haya14busa/subscriptions",
"organizations_url": "https://api.github.com/users/haya14busa/orgs",
"repos_url": "https://api.github.com/users/haya14busa/repos",
"events_url": "https://api.github.com/users/haya14busa/events{/privacy}",
"received_events_url": "https://api.github.com/users/haya14busa/received_events",
"type": "User",
"site_admin": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment