From dfe6d90ef7e33ca1f946da17451bcda333669c9c Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 30 Jun 2022 11:51:27 -0400 Subject: [PATCH] feat(GHES): add GHES 3.4 and 3.5, remove GHES 2.21, 2.22, 3.0 (#653) BREAKING CHANGE: Drop GHES 2.21, 2.22, 3.0 --- .../ghes-221/webhook-events-and-payloads.html | 11775 -------- .../ghes-222/webhook-events-and-payloads.html | 16349 ----------- .../webhook-events-and-payloads.html | 10725 ++++--- .../ghes-35/webhook-events-and-payloads.html | 19790 +++++++++++++ lib/check-or-update-webhooks.ts | 2 +- payload-examples/ghes-222/index.json | 23738 ---------------- .../ghes-30/check_run/completed.payload.json | 385 - .../ghes-30/check_run/created.payload.json | 385 - .../check_suite/completed.payload.json | 271 - .../check_suite/requested.payload.json | 247 - .../check_suite/rerequested.payload.json | 271 - .../commit_comment/created.payload.json | 167 - .../ghes-30/create/event.payload.json | 137 - .../ghes-30/delete/event.payload.json | 135 - .../ghes-30/deployment/event.payload.json | 168 - .../deployment_status/event.payload.json | 201 - .../anonymous_access_enabled.payload.json | 23 - .../ghes-30/fork/event.payload.json | 227 - .../ghes-30/gollum/event.payload.json | 125 - .../issue_comment/created.payload.json | 293 - .../issue_comment/deleted.payload.json | 293 - .../ghes-30/issue_comment/edited.payload.json | 298 - .../ghes-30/issues/assigned.payload.json | 273 - .../ghes-30/issues/demilestoned.payload.json | 183 - .../ghes-30/issues/edited.payload.json | 263 - .../ghes-30/issues/labeled.payload.json | 270 - .../ghes-30/issues/milestoned.payload.json | 268 - .../ghes-30/issues/opened.payload.json | 253 - .../ghes-30/issues/unassigned.payload.json | 261 - .../ghes-30/issues/unlabeled.payload.json | 185 - .../ghes-30/label/created.payload.json | 141 - .../ghes-30/label/deleted.payload.json | 141 - .../ghes-30/label/edited.payload.json | 146 - .../ghes-30/member/added.payload.json | 153 - .../ghes-30/membership/added.payload.json | 83 - .../ghes-30/membership/removed.payload.json | 83 - .../ghes-30/milestone/closed.payload.json | 170 - .../ghes-30/milestone/created.payload.json | 170 - .../ghes-30/milestone/deleted.payload.json | 170 - .../organization/member_added.payload.json | 75 - .../organization/member_removed.payload.json | 75 - .../ghes-30/page_build/event.payload.json | 164 - .../ghes-30/ping/event.payload.json | 140 - .../ghes-30/project/created.payload.json | 167 - .../ghes-30/project_card/created.payload.json | 161 - .../project_column/created.payload.json | 143 - .../pull_request/assigned.payload.json | 503 - .../ghes-30/pull_request/closed.payload.json | 462 - .../ghes-30/pull_request/labeled.payload.json | 479 - .../ghes-30/pull_request/opened.payload.json | 462 - .../pull_request/unassigned.payload.json | 482 - .../pull_request/unlabeled.payload.json | 470 - .../submitted.payload.json | 487 - .../created.payload.json | 497 - .../ghes-30/push/event.payload.json | 150 - .../ghes-30/release/published.payload.json | 172 - .../ghes-30/repository/created.payload.json | 143 - .../ghes-30/repository/deleted.payload.json | 143 - .../repository/privatized.payload.json | 133 - .../ghes-30/status/event.payload.json | 221 - .../team/added_to_repository.payload.json | 161 - .../ghes-30/team/created.payload.json | 62 - .../ghes-30/team/deleted.payload.json | 62 - .../ghes-30/team/edited.payload.json | 63 - .../ghes-30/team/event.payload.json | 147 - .../ghes-30/team_add/event.payload.json | 155 - .../ghes-30/user/created.payload.json | 55 - .../ghes-30/user/deleted.payload.json | 55 - .../ghes-30/user/event.payload.json | 43 - .../ghes-30/watch/started.payload.json | 133 - .../cache_sync/synced.json} | 38 +- .../check_run/completed.json} | 0 .../check_run/created.json} | 0 .../check_suite/completed.json} | 0 .../check_suite/requested.json} | 0 .../check_suite/rerequested.json} | 0 .../code_scanning_alert/reopened.json} | 0 .../commit_comment/created.json} | 0 .../ghes-34/content_reference/created.json | 125 + .../create/payload.json} | 0 .../delete/payload.json} | 0 .../deployment/payload.json} | 0 .../deployment_status/payload.json} | 0 .../enterprise/anonymous_access_enabled.json} | 0 .../fork/payload.json} | 0 .../gollum/payload.json} | 0 .../{ghes-30 => ghes-34}/index.json | 918 +- .../installation/created.json} | 0 .../installation/deleted.json} | 0 .../installation_repositories/added.json} | 0 .../installation_repositories/removed.json} | 0 .../integration_installation/created.json} | 0 .../integration_installation/deleted.json} | 0 .../added.json} | 22 +- .../removed.json} | 0 .../issue_comment/created.json} | 0 .../issue_comment/deleted.json} | 0 .../issue_comment/edited.json} | 0 .../issues/assigned.json} | 0 .../issues/demilestoned.json} | 0 .../issues/edited.json} | 0 .../issues/labeled.json} | 0 .../issues/milestoned.json} | 0 .../issues/opened.json} | 0 .../issues/unassigned.json} | 0 .../issues/unlabeled.json} | 0 .../label/created.json} | 0 .../label/deleted.json} | 0 .../label/edited.json} | 0 .../member/added.json} | 0 .../membership/added.json} | 0 .../membership/removed.json} | 0 .../milestone/closed.json} | 0 .../milestone/created.json} | 0 .../milestone/deleted.json} | 0 .../organization/member_added.json} | 0 .../organization/member_removed.json} | 0 .../page_build/payload.json} | 0 .../ping/payload.json} | 0 .../project/created.json} | 0 .../project_card/created.json} | 0 .../project_column/created.json} | 0 .../public/payload.json} | 0 .../pull_request/assigned.json} | 0 .../pull_request/closed.json} | 0 .../pull_request/labeled.json} | 0 .../pull_request/opened.json} | 0 .../pull_request/unassigned.json} | 0 .../pull_request/unlabeled.json} | 0 .../pull_request_review/submitted.json} | 0 .../pull_request_review_comment/created.json} | 2 +- .../push/payload.json} | 32 +- .../release/published.json} | 0 .../repository/created.json} | 0 .../repository/deleted.json} | 0 .../repository/privatized.json} | 0 .../repository/publicized.json} | 0 .../secret_scanning_alert/reopened.json | 138 + .../status/payload.json} | 0 .../team/added_to_repository.json} | 0 .../team/created.json} | 0 .../team/deleted.json} | 0 .../team/edited.json} | 0 .../team/payload.json} | 0 .../team_add/payload.json} | 0 .../user/created.1.json} | 0 .../user/created.json} | 0 .../user/deleted.json} | 0 .../watch/started.json} | 0 .../cache_sync/synced.json} | 39 +- .../check_run/completed.json} | 0 .../check_run/created.json} | 0 .../check_suite/completed.json} | 0 .../check_suite/requested.json} | 0 .../check_suite/rerequested.json} | 0 .../code_scanning_alert/reopened.json} | 0 .../commit_comment/created.json} | 0 .../ghes-35/content_reference/created.json | 125 + .../create/payload.json} | 0 .../delete/payload.json} | 0 .../deployment/payload.json} | 0 .../deployment_status/payload.json} | 0 .../enterprise/anonymous_access_enabled.json} | 0 .../fork/payload.json} | 0 .../gollum/payload.json} | 0 .../{ghes-221 => ghes-35}/index.json | 17797 ++++-------- .../installation/created.json} | 0 .../installation/deleted.json} | 0 .../installation_repositories/added.json} | 0 .../installation_repositories/removed.json} | 0 .../integration_installation/created.json | 125 + .../integration_installation/deleted.json | 116 + .../added.json | 127 + .../removed.json | 127 + .../issue_comment/created.json} | 0 .../issue_comment/deleted.json} | 0 .../issue_comment/edited.json} | 0 .../issues/assigned.json} | 0 .../issues/demilestoned.json} | 0 .../issues/edited.json} | 0 .../issues/labeled.json} | 0 .../issues/milestoned.json} | 0 .../issues/opened.json} | 0 .../issues/unassigned.json} | 0 .../issues/unlabeled.json} | 0 .../label/created.json} | 0 .../label/deleted.json} | 0 .../label/edited.json} | 0 .../member/added.json} | 0 .../membership/added.json} | 0 .../membership/removed.json} | 0 .../milestone/closed.json} | 0 .../milestone/created.json} | 0 .../milestone/deleted.json} | 0 .../organization/member_added.json} | 0 .../organization/member_removed.json} | 0 .../page_build/payload.json} | 0 .../ping/payload.json} | 0 .../project/created.json} | 0 .../project_card/created.json} | 0 .../project_column/created.json} | 0 .../public/payload.json} | 0 .../pull_request/assigned.json} | 0 .../pull_request/closed.json} | 0 .../pull_request/labeled.json} | 0 .../pull_request/opened.json} | 0 .../pull_request/unassigned.json} | 0 .../pull_request/unlabeled.json} | 0 .../pull_request_review/submitted.json} | 0 .../pull_request_review_comment/created.json} | 2 +- .../push/payload.json} | 32 +- .../release/published.json} | 0 .../repository/created.json} | 0 .../repository/deleted.json} | 0 .../repository/privatized.json} | 0 .../repository/publicized.json} | 0 .../secret_scanning_alert/reopened.json | 138 + .../status/payload.json} | 0 .../team/added_to_repository.json} | 0 .../team/created.json} | 0 .../team/deleted.json} | 0 .../team/edited.json} | 0 .../team/payload.json} | 0 .../team_add/payload.json} | 0 .../user/created.1.json} | 0 .../user/created.json} | 0 .../user/deleted.json} | 0 .../watch/started.json} | 0 228 files changed, 33995 insertions(+), 81791 deletions(-) delete mode 100644 cache/ghes-221/webhook-events-and-payloads.html delete mode 100644 cache/ghes-222/webhook-events-and-payloads.html rename cache/{ghes-30 => ghes-34}/webhook-events-and-payloads.html (85%) create mode 100644 cache/ghes-35/webhook-events-and-payloads.html delete mode 100644 payload-examples/ghes-222/index.json delete mode 100644 payload-examples/ghes-30/check_run/completed.payload.json delete mode 100644 payload-examples/ghes-30/check_run/created.payload.json delete mode 100644 payload-examples/ghes-30/check_suite/completed.payload.json delete mode 100644 payload-examples/ghes-30/check_suite/requested.payload.json delete mode 100644 payload-examples/ghes-30/check_suite/rerequested.payload.json delete mode 100644 payload-examples/ghes-30/commit_comment/created.payload.json delete mode 100644 payload-examples/ghes-30/create/event.payload.json delete mode 100644 payload-examples/ghes-30/delete/event.payload.json delete mode 100644 payload-examples/ghes-30/deployment/event.payload.json delete mode 100644 payload-examples/ghes-30/deployment_status/event.payload.json delete mode 100644 payload-examples/ghes-30/enterprise/anonymous_access_enabled.payload.json delete mode 100644 payload-examples/ghes-30/fork/event.payload.json delete mode 100644 payload-examples/ghes-30/gollum/event.payload.json delete mode 100644 payload-examples/ghes-30/issue_comment/created.payload.json delete mode 100644 payload-examples/ghes-30/issue_comment/deleted.payload.json delete mode 100644 payload-examples/ghes-30/issue_comment/edited.payload.json delete mode 100644 payload-examples/ghes-30/issues/assigned.payload.json delete mode 100644 payload-examples/ghes-30/issues/demilestoned.payload.json delete mode 100644 payload-examples/ghes-30/issues/edited.payload.json delete mode 100644 payload-examples/ghes-30/issues/labeled.payload.json delete mode 100644 payload-examples/ghes-30/issues/milestoned.payload.json delete mode 100644 payload-examples/ghes-30/issues/opened.payload.json delete mode 100644 payload-examples/ghes-30/issues/unassigned.payload.json delete mode 100644 payload-examples/ghes-30/issues/unlabeled.payload.json delete mode 100644 payload-examples/ghes-30/label/created.payload.json delete mode 100644 payload-examples/ghes-30/label/deleted.payload.json delete mode 100644 payload-examples/ghes-30/label/edited.payload.json delete mode 100644 payload-examples/ghes-30/member/added.payload.json delete mode 100644 payload-examples/ghes-30/membership/added.payload.json delete mode 100644 payload-examples/ghes-30/membership/removed.payload.json delete mode 100644 payload-examples/ghes-30/milestone/closed.payload.json delete mode 100644 payload-examples/ghes-30/milestone/created.payload.json delete mode 100644 payload-examples/ghes-30/milestone/deleted.payload.json delete mode 100644 payload-examples/ghes-30/organization/member_added.payload.json delete mode 100644 payload-examples/ghes-30/organization/member_removed.payload.json delete mode 100644 payload-examples/ghes-30/page_build/event.payload.json delete mode 100644 payload-examples/ghes-30/ping/event.payload.json delete mode 100644 payload-examples/ghes-30/project/created.payload.json delete mode 100644 payload-examples/ghes-30/project_card/created.payload.json delete mode 100644 payload-examples/ghes-30/project_column/created.payload.json delete mode 100644 payload-examples/ghes-30/pull_request/assigned.payload.json delete mode 100644 payload-examples/ghes-30/pull_request/closed.payload.json delete mode 100644 payload-examples/ghes-30/pull_request/labeled.payload.json delete mode 100644 payload-examples/ghes-30/pull_request/opened.payload.json delete mode 100644 payload-examples/ghes-30/pull_request/unassigned.payload.json delete mode 100644 payload-examples/ghes-30/pull_request/unlabeled.payload.json delete mode 100644 payload-examples/ghes-30/pull_request_review/submitted.payload.json delete mode 100644 payload-examples/ghes-30/pull_request_review_comment/created.payload.json delete mode 100644 payload-examples/ghes-30/push/event.payload.json delete mode 100644 payload-examples/ghes-30/release/published.payload.json delete mode 100644 payload-examples/ghes-30/repository/created.payload.json delete mode 100644 payload-examples/ghes-30/repository/deleted.payload.json delete mode 100644 payload-examples/ghes-30/repository/privatized.payload.json delete mode 100644 payload-examples/ghes-30/status/event.payload.json delete mode 100644 payload-examples/ghes-30/team/added_to_repository.payload.json delete mode 100644 payload-examples/ghes-30/team/created.payload.json delete mode 100644 payload-examples/ghes-30/team/deleted.payload.json delete mode 100644 payload-examples/ghes-30/team/edited.payload.json delete mode 100644 payload-examples/ghes-30/team/event.payload.json delete mode 100644 payload-examples/ghes-30/team_add/event.payload.json delete mode 100644 payload-examples/ghes-30/user/created.payload.json delete mode 100644 payload-examples/ghes-30/user/deleted.payload.json delete mode 100644 payload-examples/ghes-30/user/event.payload.json delete mode 100644 payload-examples/ghes-30/watch/started.payload.json rename payload-examples/{ghes-30/public/event.payload.json => ghes-34/cache_sync/synced.json} (87%) rename payload-examples/{ghes-221/check_run/completed.payload.json => ghes-34/check_run/completed.json} (100%) rename payload-examples/{ghes-221/check_run/created.payload.json => ghes-34/check_run/created.json} (100%) rename payload-examples/{ghes-221/check_suite/completed.payload.json => ghes-34/check_suite/completed.json} (100%) rename payload-examples/{ghes-221/check_suite/requested.payload.json => ghes-34/check_suite/requested.json} (100%) rename payload-examples/{ghes-221/check_suite/rerequested.payload.json => ghes-34/check_suite/rerequested.json} (100%) rename payload-examples/{ghes-222/code_scanning_alert/reopened.payload.json => ghes-34/code_scanning_alert/reopened.json} (100%) rename payload-examples/{ghes-221/commit_comment/created.payload.json => ghes-34/commit_comment/created.json} (100%) create mode 100644 payload-examples/ghes-34/content_reference/created.json rename payload-examples/{ghes-221/create/event.payload.json => ghes-34/create/payload.json} (100%) rename payload-examples/{ghes-221/delete/event.payload.json => ghes-34/delete/payload.json} (100%) rename payload-examples/{ghes-221/deployment/event.payload.json => ghes-34/deployment/payload.json} (100%) rename payload-examples/{ghes-221/deployment_status/event.payload.json => ghes-34/deployment_status/payload.json} (100%) rename payload-examples/{ghes-221/enterprise/anonymous_access_enabled.payload.json => ghes-34/enterprise/anonymous_access_enabled.json} (100%) rename payload-examples/{ghes-221/fork/event.payload.json => ghes-34/fork/payload.json} (100%) rename payload-examples/{ghes-221/gollum/event.payload.json => ghes-34/gollum/payload.json} (100%) rename payload-examples/{ghes-30 => ghes-34}/index.json (95%) rename payload-examples/{ghes-221/installation/created.payload.json => ghes-34/installation/created.json} (100%) rename payload-examples/{ghes-221/installation/deleted.payload.json => ghes-34/installation/deleted.json} (100%) rename payload-examples/{ghes-221/installation_repositories/added.payload.json => ghes-34/installation_repositories/added.json} (100%) rename payload-examples/{ghes-221/installation_repositories/removed.payload.json => ghes-34/installation_repositories/removed.json} (100%) rename payload-examples/{ghes-222/installation/created.payload.json => ghes-34/integration_installation/created.json} (100%) rename payload-examples/{ghes-222/installation/deleted.payload.json => ghes-34/integration_installation/deleted.json} (100%) rename payload-examples/{ghes-30/installation_repositories/added.payload.json => ghes-34/integration_installation_repositories/added.json} (98%) rename payload-examples/{ghes-222/installation_repositories/removed.payload.json => ghes-34/integration_installation_repositories/removed.json} (100%) rename payload-examples/{ghes-221/issue_comment/created.payload.json => ghes-34/issue_comment/created.json} (100%) rename payload-examples/{ghes-221/issue_comment/deleted.payload.json => ghes-34/issue_comment/deleted.json} (100%) rename payload-examples/{ghes-221/issue_comment/edited.payload.json => ghes-34/issue_comment/edited.json} (100%) rename payload-examples/{ghes-221/issues/assigned.payload.json => ghes-34/issues/assigned.json} (100%) rename payload-examples/{ghes-221/issues/demilestoned.payload.json => ghes-34/issues/demilestoned.json} (100%) rename payload-examples/{ghes-221/issues/edited.payload.json => ghes-34/issues/edited.json} (100%) rename payload-examples/{ghes-221/issues/labeled.payload.json => ghes-34/issues/labeled.json} (100%) rename payload-examples/{ghes-221/issues/milestoned.payload.json => ghes-34/issues/milestoned.json} (100%) rename payload-examples/{ghes-221/issues/opened.payload.json => ghes-34/issues/opened.json} (100%) rename payload-examples/{ghes-221/issues/unassigned.payload.json => ghes-34/issues/unassigned.json} (100%) rename payload-examples/{ghes-221/issues/unlabeled.payload.json => ghes-34/issues/unlabeled.json} (100%) rename payload-examples/{ghes-221/label/created.payload.json => ghes-34/label/created.json} (100%) rename payload-examples/{ghes-221/label/deleted.payload.json => ghes-34/label/deleted.json} (100%) rename payload-examples/{ghes-221/label/edited.payload.json => ghes-34/label/edited.json} (100%) rename payload-examples/{ghes-221/member/added.payload.json => ghes-34/member/added.json} (100%) rename payload-examples/{ghes-221/membership/added.payload.json => ghes-34/membership/added.json} (100%) rename payload-examples/{ghes-221/membership/removed.payload.json => ghes-34/membership/removed.json} (100%) rename payload-examples/{ghes-221/milestone/closed.payload.json => ghes-34/milestone/closed.json} (100%) rename payload-examples/{ghes-221/milestone/created.payload.json => ghes-34/milestone/created.json} (100%) rename payload-examples/{ghes-221/milestone/deleted.payload.json => ghes-34/milestone/deleted.json} (100%) rename payload-examples/{ghes-221/organization/member_added.payload.json => ghes-34/organization/member_added.json} (100%) rename payload-examples/{ghes-221/organization/member_removed.payload.json => ghes-34/organization/member_removed.json} (100%) rename payload-examples/{ghes-221/page_build/event.payload.json => ghes-34/page_build/payload.json} (100%) rename payload-examples/{ghes-221/ping/event.payload.json => ghes-34/ping/payload.json} (100%) rename payload-examples/{ghes-221/project/created.payload.json => ghes-34/project/created.json} (100%) rename payload-examples/{ghes-221/project_card/created.payload.json => ghes-34/project_card/created.json} (100%) rename payload-examples/{ghes-221/project_column/created.payload.json => ghes-34/project_column/created.json} (100%) rename payload-examples/{ghes-221/public/event.payload.json => ghes-34/public/payload.json} (100%) rename payload-examples/{ghes-221/pull_request/assigned.payload.json => ghes-34/pull_request/assigned.json} (100%) rename payload-examples/{ghes-221/pull_request/closed.payload.json => ghes-34/pull_request/closed.json} (100%) rename payload-examples/{ghes-221/pull_request/labeled.payload.json => ghes-34/pull_request/labeled.json} (100%) rename payload-examples/{ghes-221/pull_request/opened.payload.json => ghes-34/pull_request/opened.json} (100%) rename payload-examples/{ghes-221/pull_request/unassigned.payload.json => ghes-34/pull_request/unassigned.json} (100%) rename payload-examples/{ghes-221/pull_request/unlabeled.payload.json => ghes-34/pull_request/unlabeled.json} (100%) rename payload-examples/{ghes-221/pull_request_review/submitted.payload.json => ghes-34/pull_request_review/submitted.json} (100%) rename payload-examples/{ghes-221/pull_request_review_comment/created.payload.json => ghes-34/pull_request_review_comment/created.json} (99%) rename payload-examples/{ghes-221/push/event.payload.json => ghes-34/push/payload.json} (90%) rename payload-examples/{ghes-221/release/published.payload.json => ghes-34/release/published.json} (100%) rename payload-examples/{ghes-221/repository/created.payload.json => ghes-34/repository/created.json} (100%) rename payload-examples/{ghes-221/repository/deleted.payload.json => ghes-34/repository/deleted.json} (100%) rename payload-examples/{ghes-221/repository/privatized.payload.json => ghes-34/repository/privatized.json} (100%) rename payload-examples/{ghes-221/repository/publicized.payload.json => ghes-34/repository/publicized.json} (100%) create mode 100644 payload-examples/ghes-34/secret_scanning_alert/reopened.json rename payload-examples/{ghes-221/status/event.payload.json => ghes-34/status/payload.json} (100%) rename payload-examples/{ghes-221/team/added_to_repository.payload.json => ghes-34/team/added_to_repository.json} (100%) rename payload-examples/{ghes-221/team/created.payload.json => ghes-34/team/created.json} (100%) rename payload-examples/{ghes-221/team/deleted.payload.json => ghes-34/team/deleted.json} (100%) rename payload-examples/{ghes-221/team/edited.payload.json => ghes-34/team/edited.json} (100%) rename payload-examples/{ghes-221/team/event.payload.json => ghes-34/team/payload.json} (100%) rename payload-examples/{ghes-221/team_add/event.payload.json => ghes-34/team_add/payload.json} (100%) rename payload-examples/{ghes-221/user/event.payload.json => ghes-34/user/created.1.json} (100%) rename payload-examples/{ghes-221/user/created.payload.json => ghes-34/user/created.json} (100%) rename payload-examples/{ghes-221/user/deleted.payload.json => ghes-34/user/deleted.json} (100%) rename payload-examples/{ghes-221/watch/started.payload.json => ghes-34/watch/started.json} (100%) rename payload-examples/{ghes-30/repository/publicized.payload.json => ghes-35/cache_sync/synced.json} (87%) rename payload-examples/{ghes-222/check_run/completed.payload.json => ghes-35/check_run/completed.json} (100%) rename payload-examples/{ghes-222/check_run/created.payload.json => ghes-35/check_run/created.json} (100%) rename payload-examples/{ghes-222/check_suite/completed.payload.json => ghes-35/check_suite/completed.json} (100%) rename payload-examples/{ghes-222/check_suite/requested.payload.json => ghes-35/check_suite/requested.json} (100%) rename payload-examples/{ghes-222/check_suite/rerequested.payload.json => ghes-35/check_suite/rerequested.json} (100%) rename payload-examples/{ghes-30/code_scanning_alert/reopened.payload.json => ghes-35/code_scanning_alert/reopened.json} (100%) rename payload-examples/{ghes-222/commit_comment/created.payload.json => ghes-35/commit_comment/created.json} (100%) create mode 100644 payload-examples/ghes-35/content_reference/created.json rename payload-examples/{ghes-222/create/event.payload.json => ghes-35/create/payload.json} (100%) rename payload-examples/{ghes-222/delete/event.payload.json => ghes-35/delete/payload.json} (100%) rename payload-examples/{ghes-222/deployment/event.payload.json => ghes-35/deployment/payload.json} (100%) rename payload-examples/{ghes-222/deployment_status/event.payload.json => ghes-35/deployment_status/payload.json} (100%) rename payload-examples/{ghes-222/enterprise/anonymous_access_enabled.payload.json => ghes-35/enterprise/anonymous_access_enabled.json} (100%) rename payload-examples/{ghes-222/fork/event.payload.json => ghes-35/fork/payload.json} (100%) rename payload-examples/{ghes-222/gollum/event.payload.json => ghes-35/gollum/payload.json} (100%) rename payload-examples/{ghes-221 => ghes-35}/index.json (69%) rename payload-examples/{ghes-30/installation/created.payload.json => ghes-35/installation/created.json} (100%) rename payload-examples/{ghes-30/installation/deleted.payload.json => ghes-35/installation/deleted.json} (100%) rename payload-examples/{ghes-222/installation_repositories/added.payload.json => ghes-35/installation_repositories/added.json} (100%) rename payload-examples/{ghes-30/installation_repositories/removed.payload.json => ghes-35/installation_repositories/removed.json} (100%) create mode 100644 payload-examples/ghes-35/integration_installation/created.json create mode 100644 payload-examples/ghes-35/integration_installation/deleted.json create mode 100644 payload-examples/ghes-35/integration_installation_repositories/added.json create mode 100644 payload-examples/ghes-35/integration_installation_repositories/removed.json rename payload-examples/{ghes-222/issue_comment/created.payload.json => ghes-35/issue_comment/created.json} (100%) rename payload-examples/{ghes-222/issue_comment/deleted.payload.json => ghes-35/issue_comment/deleted.json} (100%) rename payload-examples/{ghes-222/issue_comment/edited.payload.json => ghes-35/issue_comment/edited.json} (100%) rename payload-examples/{ghes-222/issues/assigned.payload.json => ghes-35/issues/assigned.json} (100%) rename payload-examples/{ghes-222/issues/demilestoned.payload.json => ghes-35/issues/demilestoned.json} (100%) rename payload-examples/{ghes-222/issues/edited.payload.json => ghes-35/issues/edited.json} (100%) rename payload-examples/{ghes-222/issues/labeled.payload.json => ghes-35/issues/labeled.json} (100%) rename payload-examples/{ghes-222/issues/milestoned.payload.json => ghes-35/issues/milestoned.json} (100%) rename payload-examples/{ghes-222/issues/opened.payload.json => ghes-35/issues/opened.json} (100%) rename payload-examples/{ghes-222/issues/unassigned.payload.json => ghes-35/issues/unassigned.json} (100%) rename payload-examples/{ghes-222/issues/unlabeled.payload.json => ghes-35/issues/unlabeled.json} (100%) rename payload-examples/{ghes-222/label/created.payload.json => ghes-35/label/created.json} (100%) rename payload-examples/{ghes-222/label/deleted.payload.json => ghes-35/label/deleted.json} (100%) rename payload-examples/{ghes-222/label/edited.payload.json => ghes-35/label/edited.json} (100%) rename payload-examples/{ghes-222/member/added.payload.json => ghes-35/member/added.json} (100%) rename payload-examples/{ghes-222/membership/added.payload.json => ghes-35/membership/added.json} (100%) rename payload-examples/{ghes-222/membership/removed.payload.json => ghes-35/membership/removed.json} (100%) rename payload-examples/{ghes-222/milestone/closed.payload.json => ghes-35/milestone/closed.json} (100%) rename payload-examples/{ghes-222/milestone/created.payload.json => ghes-35/milestone/created.json} (100%) rename payload-examples/{ghes-222/milestone/deleted.payload.json => ghes-35/milestone/deleted.json} (100%) rename payload-examples/{ghes-222/organization/member_added.payload.json => ghes-35/organization/member_added.json} (100%) rename payload-examples/{ghes-222/organization/member_removed.payload.json => ghes-35/organization/member_removed.json} (100%) rename payload-examples/{ghes-222/page_build/event.payload.json => ghes-35/page_build/payload.json} (100%) rename payload-examples/{ghes-222/ping/event.payload.json => ghes-35/ping/payload.json} (100%) rename payload-examples/{ghes-222/project/created.payload.json => ghes-35/project/created.json} (100%) rename payload-examples/{ghes-222/project_card/created.payload.json => ghes-35/project_card/created.json} (100%) rename payload-examples/{ghes-222/project_column/created.payload.json => ghes-35/project_column/created.json} (100%) rename payload-examples/{ghes-222/public/event.payload.json => ghes-35/public/payload.json} (100%) rename payload-examples/{ghes-222/pull_request/assigned.payload.json => ghes-35/pull_request/assigned.json} (100%) rename payload-examples/{ghes-222/pull_request/closed.payload.json => ghes-35/pull_request/closed.json} (100%) rename payload-examples/{ghes-222/pull_request/labeled.payload.json => ghes-35/pull_request/labeled.json} (100%) rename payload-examples/{ghes-222/pull_request/opened.payload.json => ghes-35/pull_request/opened.json} (100%) rename payload-examples/{ghes-222/pull_request/unassigned.payload.json => ghes-35/pull_request/unassigned.json} (100%) rename payload-examples/{ghes-222/pull_request/unlabeled.payload.json => ghes-35/pull_request/unlabeled.json} (100%) rename payload-examples/{ghes-222/pull_request_review/submitted.payload.json => ghes-35/pull_request_review/submitted.json} (100%) rename payload-examples/{ghes-222/pull_request_review_comment/created.payload.json => ghes-35/pull_request_review_comment/created.json} (99%) rename payload-examples/{ghes-222/push/event.payload.json => ghes-35/push/payload.json} (90%) rename payload-examples/{ghes-222/release/published.payload.json => ghes-35/release/published.json} (100%) rename payload-examples/{ghes-222/repository/created.payload.json => ghes-35/repository/created.json} (100%) rename payload-examples/{ghes-222/repository/deleted.payload.json => ghes-35/repository/deleted.json} (100%) rename payload-examples/{ghes-222/repository/privatized.payload.json => ghes-35/repository/privatized.json} (100%) rename payload-examples/{ghes-222/repository/publicized.payload.json => ghes-35/repository/publicized.json} (100%) create mode 100644 payload-examples/ghes-35/secret_scanning_alert/reopened.json rename payload-examples/{ghes-222/status/event.payload.json => ghes-35/status/payload.json} (100%) rename payload-examples/{ghes-222/team/added_to_repository.payload.json => ghes-35/team/added_to_repository.json} (100%) rename payload-examples/{ghes-222/team/created.payload.json => ghes-35/team/created.json} (100%) rename payload-examples/{ghes-222/team/deleted.payload.json => ghes-35/team/deleted.json} (100%) rename payload-examples/{ghes-222/team/edited.payload.json => ghes-35/team/edited.json} (100%) rename payload-examples/{ghes-222/team/event.payload.json => ghes-35/team/payload.json} (100%) rename payload-examples/{ghes-222/team_add/event.payload.json => ghes-35/team_add/payload.json} (100%) rename payload-examples/{ghes-222/user/event.payload.json => ghes-35/user/created.1.json} (100%) rename payload-examples/{ghes-222/user/created.payload.json => ghes-35/user/created.json} (100%) rename payload-examples/{ghes-222/user/deleted.payload.json => ghes-35/user/deleted.json} (100%) rename payload-examples/{ghes-222/watch/started.payload.json => ghes-35/watch/started.json} (100%) diff --git a/cache/ghes-221/webhook-events-and-payloads.html b/cache/ghes-221/webhook-events-and-payloads.html deleted file mode 100644 index d5a180847..000000000 --- a/cache/ghes-221/webhook-events-and-payloads.html +++ /dev/null @@ -1,11775 +0,0 @@ -
-
-

Webhook events and payloads

-
- -
-
-
-

- For each webhook event, you can review when the event occurs, an example - payload, and descriptions about the payload object parameters. -

-
-
-
-
-

In this article

- -
-
-
-
-

- When configuring a webhook, you can use the UI or API to choose which - events will send you payloads. Only subscribing to the specific events you - plan on handling limits the number of HTTP requests to your server. You - can also subscribe to all current and future events. By default, webhooks - are only subscribed to the push event. You can change the list of - subscribed events anytime. -

-

- You can create webhooks that subscribe to the events listed on this page. - Each webhook event includes a description of the webhook properties and an - example payload. For more information, see "Creating webhooks." -

-

- Webhook payload object common properties -

-

- Each webhook event payload also contains properties unique to the event. - You can find the unique properties in the individual event type sections. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - Most webhook payloads contain an action property that - contains the specific activity that triggered the event. -
senderobject - The user that triggered the event. This property is included in - every webhook payload. -
repositoryobject - The - repository - where the event occurred. Webhook payloads contain the - repository property when the event occurs from activity - in a repository. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. For more information, see "Building GitHub App." -
-

- The unique properties for a webhook event are the same properties you'll - find in the payload property when using the - Events API. One exception is the push event. The - unique properties of the push event webhook payload and the - payload property in the Events API differ. The webhook - payload contains more detailed information. -

-
-

- Note: Payloads are capped at 25 MB. If your event - generates a larger payload, a webhook will not be fired. This may - happen, for example, on a create event if many branches or - tags are pushed at once. We suggest monitoring your payload size to - ensure delivery. -

-
-

- Delivery headers -

-

- HTTP POST payloads that are delivered to your webhook's configured URL - endpoint will contain several special headers: -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
HeaderDescription
X-GitHub-EventName of the event that triggered the delivery.
X-GitHub-Delivery - A - GUID - to identify the delivery. -
X-GitHub-Enterprise-Version - The version of the GitHub Enterprise Server instance that sent the - HTTP POST payload. -
X-GitHub-Enterprise-Host - The hostname of the GitHub Enterprise Server instance that sent the - HTTP POST payload. -
X-Hub-Signature - This header is sent if the webhook is configured with a - secret. This is the HMAC hex digest of the request body, and is generated - using the SHA-1 hash function and the secret as the - HMAC key. -
-

- Also, the User-Agent for the requests will have the prefix - GitHub-Hookshot/. -

-

- Example delivery -

-
> POST /payload HTTP/2
-
-> Host: localhost:4567
-> X-GitHub-Delivery: 72d3162e-cc78-11e3-81ab-4c9367dc0958
-> X-GitHub-Enterprise-Version: 2.15.0
-> X-GitHub-Enterprise-Host: example.com
-> X-Hub-Signature: sha1=7d38cdd689735b008b3c702edd92eea23791c5f6
-> User-Agent: GitHub-Hookshot/044aadd
-> Content-Type: application/json
-> Content-Length: 6615
-> X-GitHub-Event: issues
-
-> {
->   "action": "opened",
->   "issue": {
->     "url": "http(s)://[hostname]/api/v3/repos/octocat/Hello-World/issues/1347",
->     "number": 1347,
->     ...
->   },
->   "repository" : {
->     "id": 1296269,
->     "full_name": "octocat/Hello-World",
->     "owner": {
->       "login": "octocat",
->       "id": 1,
->       ...
->     },
->     ...
->   },
->   "sender": {
->     "login": "octocat",
->     "id": 1,
->     ...
->   }
-> }
-

check_run

-

- Check run activity has occurred. The type of activity is specified in the - action property of the payload object. For more information, - see the "check runs" REST API. -

-
-

- Note: The Checks API only looks for pushes in the - repository where the check suite or check run were created. Pushes to a - branch in a forked repository are not detected and return an empty - pull_requests array and a null value for - head_branch. -

-
-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed. Can be one of: -
    -
  • created - A new check run was created.
  • -
  • - completed - The status of the check - run is completed. -
  • -
  • - rerequested - Someone requested to re-run your - check run from the pull request UI. See "About status checks" for more details about the GitHub UI. When you receive a - rerequested action, you'll need to - create a new check run. Only the GitHub App that someone requests to re-run the check - will receive the rerequested payload. -
  • -
  • - requested_action - Someone requested an action your - app provides to be taken. Only the GitHub App someone requests - to perform an action will receive the - requested_action payload. To learn more about check - runs and requested actions, see "Check runs and requested actions." -
  • -
-
check_runobject - The - check_run. -
check_run[status]string - The current status of the check run. Can be queued, - in_progress, or completed. -
check_run[conclusion]string - The result of the completed check run. Can be one of - success, failure, neutral, - cancelled, timed_out, - action_required or stale. This value will - be null until the check run has completed. -
check_run[name]stringThe name of the check run.
check_run[check_suite][id]integerThe id of the check suite that this check run is part of.
check_run[check_suite][pull_requests]array - An array of pull requests that match this check suite. A pull - request matches a check suite if they have the same - head_sha and head_branch. When the check - suite's head_branch is in a forked repository it will - be null and the pull_requests array will - be empty. -
requested_actionobjectThe action requested by the user.
requested_action[identifier]stringThe integrator reference of the action requested by the user.
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "created",
-  "check_run": {
-    "id": 2,
-    "node_id": "MDg6Q2hlY2tSdW4y",
-    "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "external_id": "",
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2",
-    "details_url": "https://octocoders.io",
-    "status": "queued",
-    "conclusion": null,
-    "started_at": "2019-05-15T19:39:04Z",
-    "completed_at": null,
-    "output": {
-      "title": null,
-      "summary": null,
-      "text": null,
-      "annotations_count": 0,
-      "annotations_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2/annotations"
-    },
-    "name": "Octocoders-linter",
-    "check_suite": {
-      "id": 9,
-      "node_id": "MDEwOkNoZWNrU3VpdGU5",
-      "head_branch": "changes",
-      "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "status": "queued",
-      "conclusion": null,
-      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9",
-      "before": "4544205a385319fd846d5df4ed2e3b8173529d78",
-      "after": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "pull_requests": [
-        {
-          "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-          "id": 2,
-          "number": 2,
-          "head": {
-            "ref": "changes",
-            "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-            "repo": {
-              "id": 118,
-              "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-              "name": "Hello-World"
-            }
-          },
-          "base": {
-            "ref": "master",
-            "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-            "repo": {
-              "id": 118,
-              "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-              "name": "Hello-World"
-            }
-          }
-        }
-      ],
-      "app": {
-        "id": 2,
-        "node_id": "MDM6QXBwMg==",
-        "owner": {
-          "login": "Octocoders",
-          "id": 6,
-          "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-          "html_url": "https://octocoders.github.io/Octocoders",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-          "type": "Organization",
-          "site_admin": false
-        },
-        "name": "octocoders-linter",
-        "description": "",
-        "external_url": "https://octocoders.io",
-        "html_url": "https://octocoders.github.io/github-apps/octocoders-linter",
-        "created_at": "2019-05-15T15:41:35Z",
-        "updated_at": "2019-05-15T15:41:35Z",
-        "permissions": {
-          "administration": "write",
-          "checks": "write",
-          "contents": "write",
-          "deployments": "write",
-          "issues": "write",
-          "metadata": "read",
-          "pages": "write",
-          "pull_requests": "write",
-          "repository_hooks": "write",
-          "repository_projects": "write",
-          "vulnerability_alerts": "read",
-          "statuses": "write",
-          "members": "write",
-          "organization_user_blocking": "write",
-          "organization_projects": "write",
-          "team_discussions": "write",
-          "organization_hooks": "write",
-          "repository_pre_receive_hooks": "write",
-          "organization_pre_receive_hooks": "write"
-        },
-        "events": [
-          "check_run",
-          "check_suite",
-          "commit_comment",
-          "create",
-          "delete",
-          "deployment",
-          "deployment_status",
-          "fork",
-          "gollum",
-          "issues",
-          "issue_comment",
-          "label",
-          "member",
-          "membership",
-          "milestone",
-          "organization",
-          "page_build",
-          "project",
-          "project_card",
-          "project_column",
-          "public",
-          "pull_request",
-          "pull_request_review",
-          "pull_request_review_comment",
-          "push",
-          "release",
-          "repository",
-          "status",
-          "team",
-          "team_add",
-          "watch"
-        ]
-      },
-      "created_at": "2019-05-15T19:38:27Z",
-      "updated_at": "2019-05-15T19:38:27Z"
-    },
-    "app": {
-      "id": 2,
-      "node_id": "MDM6QXBwMg==",
-      "owner": {
-        "login": "Octocoders",
-        "id": 6,
-        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-        "html_url": "https://octocoders.github.io/Octocoders",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-        "type": "Organization",
-        "site_admin": false
-      },
-      "name": "octocoders-linter",
-      "description": "",
-      "external_url": "https://octocoders.io",
-      "html_url": "https://octocoders.github.io/github-apps/octocoders-linter",
-      "created_at": "2019-05-15T15:41:35Z",
-      "updated_at": "2019-05-15T15:41:35Z",
-      "permissions": {
-        "administration": "write",
-        "checks": "write",
-        "contents": "write",
-        "deployments": "write",
-        "issues": "write",
-        "metadata": "read",
-        "pages": "write",
-        "pull_requests": "write",
-        "repository_hooks": "write",
-        "repository_projects": "write",
-        "vulnerability_alerts": "read",
-        "statuses": "write",
-        "members": "write",
-        "organization_user_blocking": "write",
-        "organization_projects": "write",
-        "team_discussions": "write",
-        "organization_hooks": "write",
-        "repository_pre_receive_hooks": "write",
-        "organization_pre_receive_hooks": "write"
-      },
-      "events": [
-        "check_run",
-        "check_suite",
-        "commit_comment",
-        "create",
-        "delete",
-        "deployment",
-        "deployment_status",
-        "fork",
-        "gollum",
-        "issues",
-        "issue_comment",
-        "label",
-        "member",
-        "membership",
-        "milestone",
-        "organization",
-        "page_build",
-        "project",
-        "project_card",
-        "project_column",
-        "public",
-        "pull_request",
-        "pull_request_review",
-        "pull_request_review_comment",
-        "push",
-        "release",
-        "repository",
-        "status",
-        "team",
-        "team_add",
-        "watch"
-      ]
-    },
-    "pull_requests": [
-      {
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-        "id": 2,
-        "number": 2,
-        "head": {
-          "ref": "changes",
-          "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-          "repo": {
-            "id": 118,
-            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-            "name": "Hello-World"
-          }
-        },
-        "base": {
-          "ref": "master",
-          "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-          "repo": {
-            "id": 118,
-            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-            "name": "Hello-World"
-          }
-        }
-      }
-    ]
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:27Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

check_suite

-

- Check suite activity has occurred. The type of activity is specified in - the action property of the payload object. For more - information, see the "check suites" REST API. -

-
-

- Note: The Checks API only looks for pushes in the - repository where the check suite or check run were created. Pushes to a - branch in a forked repository are not detected and return an empty - pull_requests array and a null value for - head_branch. -

-
-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed. Can be: -
    -
  • - completed - All check runs in a check suite have - completed. -
  • -
  • - requested - Occurs when new code is pushed to the - app's repository. When you receive the - requested action events, you'll need to - create a new check run. -
  • -
  • - rerequested - Occurs when someone requests to - re-run the entire check suite from the pull request UI. When you - receive the rerequested action events, you'll need - to - create a new check run. See "About status checks" for more details about the GitHub UI. -
  • -
-
check_suiteobject - The - check_suite. -
check_suite[head_branch]stringThe head branch name the changes are on.
check_suite[head_sha]stringThe SHA of the most recent commit for this check suite.
check_suite[status]string - The summary status for all check runs that are part of the check - suite. Can be requested, in_progress, or - completed. -
check_suite[conclusion]string - The summary conclusion for all check runs that are part of the check - suite. Can be one of success, failure, - neutral, cancelled, - timed_out, action_required or - stale. This value will be null until the - check run has completed. -
check_suite[url]stringURL that points to the check suite API resource.
check_suite[pull_requests]array - An array of pull requests that match this check suite. A pull - request matches a check suite if they have the same - head_sha and head_branch. When the check - suite's head_branch is in a forked repository it will - be null and the pull_requests array will - be empty. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "completed",
-  "check_suite": {
-    "id": 9,
-    "node_id": "MDEwOkNoZWNrU3VpdGU5",
-    "head_branch": "changes",
-    "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "status": "completed",
-    "conclusion": "success",
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9",
-    "before": "4544205a385319fd846d5df4ed2e3b8173529d78",
-    "after": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "pull_requests": [
-      {
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-        "id": 2,
-        "number": 2,
-        "head": {
-          "ref": "changes",
-          "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-          "repo": {
-            "id": 118,
-            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-            "name": "Hello-World"
-          }
-        },
-        "base": {
-          "ref": "master",
-          "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-          "repo": {
-            "id": 118,
-            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-            "name": "Hello-World"
-          }
-        }
-      }
-    ],
-    "app": {
-      "id": 2,
-      "node_id": "MDM6QXBwMg==",
-      "owner": {
-        "login": "Octocoders",
-        "id": 6,
-        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-        "html_url": "https://octocoders.github.io/Octocoders",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-        "type": "Organization",
-        "site_admin": false
-      },
-      "name": "octocoders-linter",
-      "description": "",
-      "external_url": "https://octocoders.io",
-      "html_url": "https://octocoders.github.io/github-apps/octocoders-linter",
-      "created_at": "2019-05-15T15:41:35Z",
-      "updated_at": "2019-05-15T15:41:35Z",
-      "permissions": {
-        "administration": "write",
-        "checks": "write",
-        "contents": "write",
-        "deployments": "write",
-        "issues": "write",
-        "metadata": "read",
-        "pages": "write",
-        "pull_requests": "write",
-        "repository_hooks": "write",
-        "repository_projects": "write",
-        "vulnerability_alerts": "read",
-        "statuses": "write",
-        "members": "write",
-        "organization_user_blocking": "write",
-        "organization_projects": "write",
-        "team_discussions": "write",
-        "organization_hooks": "write",
-        "repository_pre_receive_hooks": "write",
-        "organization_pre_receive_hooks": "write"
-      },
-      "events": [
-        "check_run",
-        "check_suite",
-        "commit_comment",
-        "create",
-        "delete",
-        "deployment",
-        "deployment_status",
-        "fork",
-        "gollum",
-        "issues",
-        "issue_comment",
-        "label",
-        "member",
-        "membership",
-        "milestone",
-        "organization",
-        "page_build",
-        "project",
-        "project_card",
-        "project_column",
-        "public",
-        "pull_request",
-        "pull_request_review",
-        "pull_request_review_comment",
-        "push",
-        "release",
-        "repository",
-        "status",
-        "team",
-        "team_add",
-        "watch"
-      ]
-    },
-    "created_at": "2019-05-15T19:38:27Z",
-    "updated_at": "2019-05-15T19:39:09Z",
-    "latest_check_runs_count": 1,
-    "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs",
-    "head_commit": {
-      "id": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea",
-      "message": "Update README.md",
-      "timestamp": "2019-05-15T19:38:01Z",
-      "author": {
-        "name": "Codertocat",
-        "email": "Codertocat@Octocoders.io"
-      },
-      "committer": {
-        "name": "Codertocat",
-        "email": "Codertocat@Octocoders.io"
-      }
-    }
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:27Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- content_reference -

-

- A new content reference is created. A new content reference - is created when the body or comment of an issue or pull request includes a - URL that matches a configured content reference domain. For more - information, see "Using content attachments" to learn more about content references and attachments. -

-

- Webhook events are triggered based on the specificity of the domain you - register. For example, if you register a subdomain - (https://subdomain.example.com) then only URLs for the - subdomain trigger this event. If you register a domain - (https://example.com) then URLs for domain and all subdomains - trigger this event. See "Create a content attachment" to create a new content attachment. -

-

Availability

- -

- Webhook payload example -

-
-
{
-  "action": "created",
-  "content_reference": {
-    "id": 17,
-    "node_id": "MDE2OkNvbnRlbnRSZWZlcmVuY2UxNjA5",
-    "reference": "https://errors.ai/"
-  },
-  "repository": {
-    "id": 145551601,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxNDU1NTE2MDE=",
-    "name": "hello-world",
-    "full_name": "octocoders/hello-world",
-    "private": true,
-    "owner": {
-      "login": "Codertocat",
-      "id": 7718702,
-      "node_id": "MDQ6VXNlcjc3MTg3MDI=",
-      "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/Codertocat",
-      "html_url": "https://github.com/Codertocat",
-      "followers_url": "https://api.github.com/users/Codertocat/followers",
-      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-      "repos_url": "https://api.github.com/users/Codertocat/repos",
-      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": true
-    },
-    "html_url": "https://github.com/Codertocat/hello-world",
-    "description": null,
-    "fork": false,
-    "url": "https://api.github.com/repos/Codertocat/hello-world",
-    "forks_url": "https://api.github.com/repos/Codertocat/hello-world/forks",
-    "keys_url": "https://api.github.com/repos/Codertocat/hello-world/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/Codertocat/hello-world/teams",
-    "hooks_url": "https://api.github.com/repos/Codertocat/hello-world/hooks",
-    "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/Codertocat/hello-world/events",
-    "assignees_url": "https://api.github.com/repos/Codertocat/hello-world/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/Codertocat/hello-world/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/Codertocat/hello-world/tags",
-    "blobs_url": "https://api.github.com/repos/Codertocat/hello-world/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/Codertocat/hello-world/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/Codertocat/hello-world/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/Codertocat/hello-world/languages",
-    "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world/stargazers",
-    "contributors_url": "https://api.github.com/repos/Codertocat/hello-world/contributors",
-    "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world/subscribers",
-    "subscription_url": "https://api.github.com/repos/Codertocat/hello-world/subscription",
-    "commits_url": "https://api.github.com/repos/Codertocat/hello-world/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/Codertocat/hello-world/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/Codertocat/hello-world/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/Codertocat/hello-world/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/Codertocat/hello-world/merges",
-    "archive_url": "https://api.github.com/repos/Codertocat/hello-world/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/Codertocat/hello-world/downloads",
-    "issues_url": "https://api.github.com/repos/Codertocat/hello-world/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/Codertocat/hello-world/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/Codertocat/hello-world/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/Codertocat/hello-world/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/Codertocat/hello-world/labels{/name}",
-    "releases_url": "https://api.github.com/repos/Codertocat/hello-world/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/Codertocat/hello-world/deployments",
-    "created_at": "2018-08-21T10:58:58Z",
-    "updated_at": "2018-08-21T10:59:01Z",
-    "pushed_at": "2018-08-21T10:59:00Z",
-    "git_url": "git://github.com/Codertocat/hello-world.git",
-    "ssh_url": "git@github.com:Codertocat/hello-world.git",
-    "clone_url": "https://github.com/Codertocat/hello-world.git",
-    "svn_url": "https://github.com/Codertocat/hello-world",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 7718702,
-    "node_id": "MDQ6VXNlcjc3MTg3MDI=",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": true
-  },
-  "installation": {
-    "id": 371641,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzcxNjQx"
-  }
-}
-
-
-

create

-

- A Git branch or tag is created. For more information, see the "Git data" REST API. -

-
-

- Note: You will not receive a webhook for this event - when you push more than three tags at once. -

-
-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
refstring - The - git ref - resource. -
ref_typestring - The type of Git ref object created in the repository. Can be either - branch or tag. -
master_branchstring - The name of the repository's default branch (usually - master). -
descriptionstringThe repository's current description.
pusher_typestring - The pusher type for the event. Can be either user or a - deploy key. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "ref": "simple-tag",
-  "ref_type": "tag",
-  "master_branch": "master",
-  "description": null,
-  "pusher_type": "user",
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:22Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

delete

-

- A Git branch or tag is deleted. For more information, see the "Git data" REST API. -

-
-

- Note: You will not receive a webhook for this event - when you delete more than three tags at once. -

-
-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
refstring - The - git ref - resource. -
ref_typestring - The type of Git ref oject deleted in the repository. Can be - branch or tag. -
pusher_typestring - The pusher type for the event. Can be either user or a - deploy key. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "ref": "simple-tag",
-  "ref_type": "tag",
-  "pusher_type": "user",
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

deploy_key

-

- A deploy key is added or removed from a repository. The type of activity - is specified in the action property of the payload object. - For more information, see the "Deploy keys" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed. Can be either created or - deleted. -
keyobject - The - deploy key - resource. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "created",
-  "key": {
-    "id": 100,
-    "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQConScVc7ouWWgwcjneNnJ4PScDkkwEjuDL5leLIUU5aIg13dH55/f4aqKUSvfcLUOKJ0a8073tFqMbR9rfvLAhLGeStKxmYApJXpzVkphauu7kfNW8kQNi1fI4kmHyOpQ+dKtoonzjZAT4L9AV3FlVTOfRq3U8wJ2RPwU+4EtOpMKUF+wcoDJ5ONlKBOW6uAeBt/guBiu6r3awDClDGRo4Q2YCmMceiAyoiuXcr2mFNSyzTqU1f20fftFwucV/VqnxlJjZvZ/zhlfB+v+UgQN11pJJ5vChZ7bzyRtIRRsjxbTReyWxqVZ5hEle5sm1oAR97abW9zTWfwIABgClKo+z",
-    "url": "https://api.github.com/repos/Codertocat/Hello-World/keys/100",
-    "title": "hey-its-a-deploy-key",
-    "verified": true,
-    "created_at": "2019-04-02T17:37:07Z",
-    "read_only": true
-  },
-  "repository": {
-    "id": 135493233,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "owner": {
-      "login": "Codertocat",
-      "id": 21031067,
-      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/Codertocat",
-      "html_url": "https://github.com/Codertocat",
-      "followers_url": "https://api.github.com/users/Codertocat/followers",
-      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-      "repos_url": "https://api.github.com/users/Codertocat/repos",
-      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "private": false,
-    "html_url": "https://github.com/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://api.github.com/repos/Codertocat/Hello-World",
-    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2018-05-30T20:18:04Z",
-    "updated_at": "2018-05-30T20:18:50Z",
-    "pushed_at": "2018-05-30T20:18:48Z",
-    "git_url": "git://github.com/Codertocat/Hello-World.git",
-    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
-    "clone_url": "https://github.com/Codertocat/Hello-World.git",
-    "svn_url": "https://github.com/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 1,
-    "license": null,
-    "forks": 0,
-    "open_issues": 1,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 21031067,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

deployment

-

- A deployment is created. The type of activity is specified in the - action property of the payload object. For more information, - see the "deployment" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstringThe action performed. Can be created.
deploymentobject - The - deployment. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "deployment": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
-    "id": 2,
-    "node_id": "MDEwOkRlcGxveW1lbnQy",
-    "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-    "ref": "master",
-    "task": "deploy",
-    "payload": {},
-    "original_environment": "production",
-    "environment": "production",
-    "description": null,
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "created_at": "2019-05-15T19:38:20Z",
-    "updated_at": "2019-05-15T19:38:20Z",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses",
-    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:19Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- deployment_status -

-

- A deployment is created. The type of activity is specified in the - action property of the payload object. For more information, - see the "deployment statuses" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstringThe action performed. Can be created.
deployment_statusobject - The - deployment status. -
deployment_status["state"]string - The new state. Can be pending, success, - failure, or error. -
deployment_status["target_url"]stringThe optional link added to the status.
deployment_status["description"]stringThe optional human-readable description added to the status.
deploymentobject - The - deployment - that this status is associated with. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "deployment_status": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2",
-    "id": 2,
-    "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy",
-    "state": "success",
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "description": "",
-    "environment": "production",
-    "target_url": "",
-    "created_at": "2019-05-15T19:38:21Z",
-    "updated_at": "2019-05-15T19:38:21Z",
-    "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
-    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
-  },
-  "deployment": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
-    "id": 2,
-    "node_id": "MDEwOkRlcGxveW1lbnQy",
-    "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-    "ref": "master",
-    "task": "deploy",
-    "payload": {},
-    "original_environment": "production",
-    "environment": "production",
-    "description": null,
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "created_at": "2019-05-15T19:38:20Z",
-    "updated_at": "2019-05-15T19:38:21Z",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses",
-    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:19Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

enterprise

-

- A site or repository administrator enables or disables anonymous Git read - access. See "Allowing admins to enable anonymous Git read access to public - repositories" for more details. This event is not available in the Events API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed. Can be - anonymous_access_enabled or - anonymous_access_disabled. -
-

- Webhook payload example -

-
-
{
-  "action": "anonymous_access_enabled",
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://avatars.octocoders.github.io/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": true
-  }
-}
-
-
-

fork

-

- A user forks a repository. For more information, see the "forks" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
forkeeobject - The created - repository - resource. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "forkee": {
-    "id": 120,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
-    "name": "Hello-World",
-    "full_name": "Octocoders/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Octocoders",
-      "id": 6,
-      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-      "html_url": "https://octocoders.github.io/Octocoders",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-      "type": "Organization",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "description": null,
-    "fork": true,
-    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
-    "created_at": "2019-05-15T19:38:10Z",
-    "updated_at": "2019-05-15T19:38:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": false,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master",
-    "public": true
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-    "html_url": "https://octocoders.github.io/Octocoders",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-    "type": "Organization",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- github_app_authorization -

-

- When someone revokes their authorization of a GitHub App, this event - occurs. A GitHub App receives this webhook by default and cannot - unsubscribe from this event. -

-

- Anyone can revoke their authorization of a GitHub App from their - GitHub account settings page. Revoking the authorization of a GitHub App does not uninstall the - GitHub App. You should program your GitHub App so that when it receives - this webhook, it stops calling the API on behalf of the person who revoked - the token. If your GitHub App continues to use a revoked access token, it - will receive the 401 Bad Credentials error. For details about - user-to-server requests, which require GitHub App authorization, see "Identifying and authorizing users for GitHub Apps." -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstringThe action performed. Can be revoked.
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "revoked",
-  "sender": {
-    "login": "octocat",
-    "id": 1,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://github.com/images/error/octocat_happy.gif",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/octocat",
-    "html_url": "https://github.com/octocat",
-    "followers_url": "https://api.github.com/users/octocat/followers",
-    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/octocat/orgs",
-    "repos_url": "https://api.github.com/users/octocat/repos",
-    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/octocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

gollum

-

- A wiki page is created or updated. For more information, see the "About wikis". -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
pagesarrayThe pages that were updated.
pages[][page_name]stringThe name of the page.
pages[][title]stringThe current page title.
pages[][action]string - The action that was performed on the page. Can be - created or edited. -
pages[][sha]stringThe latest commit SHA of the page.
pages[][html_url]stringPoints to the HTML wiki page.
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "pages": [
-    {
-      "page_name": "Home",
-      "title": "Home",
-      "summary": null,
-      "action": "edited",
-      "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385",
-      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home"
-    }
-  ],
-  "repository": {
-    "id": 122,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://avatars.octocoders.github.io/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "private": false,
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2018-10-04T18:29:19Z",
-    "updated_at": "2018-10-04T18:29:21Z",
-    "pushed_at": "2018-10-04T18:29:59Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "rachmari",
-    "id": 3,
-    "node_id": "MDQ6VXNlcjM=",
-    "avatar_url": "https://avatars.octocoders.github.io/u/3?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/rachmari",
-    "html_url": "https://octocoders.github.io/rachmari",
-    "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events",
-    "type": "User",
-    "site_admin": true
-  }
-}
-
-
-

installation

-

- Activity related to a GitHub App installation. The type of activity is - specified in the action property of the payload object. For - more information, see the "GitHub App installation" REST API. -

-
-

- Note: This event replaces the deprecated - integration_installation event. -

-
-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: -
    -
  • created - Someone installs a GitHub App.
  • -
  • deleted - Someone uninstalls a GitHub App
  • -
  • - suspend - Someone suspends a GitHub App - installation. -
  • -
  • - unsuspend - Someone unsuspends a GitHub App - installation. -
  • -
  • - new_permissions_accepted - Someone accepts new - permissions for a GitHub App installation. When a GitHub App - owner requests new permissions, the person who installed the - GitHub App must accept the new permissions request. -
  • -
-
repositoriesarray - An array of repository objects that the installation can access. -
installationobjectThe GitHub App installation.
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "deleted",
-  "installation": {
-    "id": 5,
-    "account": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat",
-      "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat",
-      "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers",
-      "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs",
-      "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos",
-      "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "repository_selection": "selected",
-    "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens",
-    "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories",
-    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5",
-    "app_id": 2,
-    "target_id": 4,
-    "target_type": "User",
-    "permissions": {
-      "administration": "write",
-      "checks": "write",
-      "contents": "write",
-      "deployments": "write",
-      "issues": "write",
-      "pages": "write",
-      "pull_requests": "write",
-      "repository_hooks": "write",
-      "repository_projects": "write",
-      "statuses": "write",
-      "repository_pre_receive_hooks": "write",
-      "metadata": "read",
-      "vulnerability_alerts": "read"
-    },
-    "events": [
-      "check_run",
-      "check_suite",
-      "commit_comment",
-      "create",
-      "delete",
-      "deployment",
-      "deployment_status",
-      "fork",
-      "gollum",
-      "issues",
-      "issue_comment",
-      "label",
-      "member",
-      "membership",
-      "milestone",
-      "organization",
-      "page_build",
-      "project",
-      "project_card",
-      "project_column",
-      "public",
-      "pull_request",
-      "pull_request_review",
-      "pull_request_review_comment",
-      "push",
-      "release",
-      "repository",
-      "status",
-      "team",
-      "team_add",
-      "watch"
-    ],
-    "created_at": "2019-05-15T19:37:38.000Z",
-    "updated_at": "2019-05-15T19:37:38.000Z",
-    "single_file_name": null
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat",
-    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat",
-    "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers",
-    "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs",
-    "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos",
-    "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- installation_repositories -

-

- Activity related to repositories being added to a GitHub App installation. - The type of activity is specified in the action property of - the payload object. For more information, see the "GitHub App installation" REST API. -

-
-

- Note: This event replaces the deprecated - integration_installation_repositories event. -

-
-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be either added or - removed. -
repository_selectionstring - The choice of repositories the installation is on. Can be either - selected or all. -
repositories_addedarray - An array of repository objects, which were added to the - installation. -
repositories_removedarray - An array of repository objects, which were removed from the - installation. -
installationobjectThe GitHub App installation.
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "added",
-  "installation": {
-    "id": 5,
-    "account": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "repository_selection": "selected",
-    "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens",
-    "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories",
-    "html_url": "https://octocoders.github.io/settings/installations/5",
-    "app_id": 2,
-    "target_id": 4,
-    "target_type": "User",
-    "permissions": {
-      "administration": "write",
-      "repository_pre_receive_hooks": "write",
-      "statuses": "write",
-      "repository_projects": "write",
-      "repository_hooks": "write",
-      "pull_requests": "write",
-      "pages": "write",
-      "issues": "write",
-      "deployments": "write",
-      "contents": "write",
-      "checks": "write",
-      "vulnerability_alerts": "read",
-      "metadata": "read"
-    },
-    "events": [
-      "check_run",
-      "check_suite",
-      "commit_comment",
-      "create",
-      "delete",
-      "deployment",
-      "deployment_status",
-      "fork",
-      "gollum",
-      "issues",
-      "issue_comment",
-      "label",
-      "member",
-      "membership",
-      "milestone",
-      "organization",
-      "page_build",
-      "project",
-      "project_card",
-      "project_column",
-      "public",
-      "pull_request",
-      "pull_request_review",
-      "pull_request_review_comment",
-      "push",
-      "release",
-      "repository",
-      "status",
-      "team",
-      "team_add",
-      "watch"
-    ],
-    "created_at": 1557949058,
-    "updated_at": 1557949058,
-    "single_file_name": null
-  },
-  "repository_selection": "selected",
-  "repositories_added": [
-    {
-      "id": 119,
-      "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=",
-      "name": "Space",
-      "full_name": "Codertocat/Space",
-      "private": false
-    }
-  ],
-  "repositories_removed": [],
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

issue_comment

-

- Activity related to an issue or pull request comment. The type of activity - is specified in the action property of the payload object. - For more information, see the "issue comments" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed on the comment. Can be one of - created, edited, or deleted. -
changesobject - The changes to the comment if the action was edited. -
changes[body][from]string - The previous version of the body if the action was - edited. -
issueobject - The - issue - the comment belongs to. -
commentobject - The - comment - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "created",
-  "issue": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
-    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1",
-    "id": 10,
-    "node_id": "MDU6SXNzdWUxMA==",
-    "number": 1,
-    "title": "Spelling error in the README file",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "labels": [
-      {
-        "id": 941,
-        "node_id": "MDU6TGFiZWw5NDE=",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug",
-        "name": "bug",
-        "color": "d73a4a",
-        "default": true
-      }
-    ],
-    "state": "open",
-    "locked": false,
-    "assignee": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "assignees": [
-      {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      }
-    ],
-    "milestone": {
-      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
-      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
-      "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
-      "id": 2,
-      "node_id": "MDk6TWlsZXN0b25lMg==",
-      "number": 1,
-      "title": "v1.0",
-      "description": "Add new space flight simulator",
-      "creator": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "open_issues": 1,
-      "closed_issues": 0,
-      "state": "closed",
-      "created_at": "2019-05-15T19:37:52Z",
-      "updated_at": "2019-05-15T19:37:53Z",
-      "due_on": "2019-05-23T00:00:00Z",
-      "closed_at": "2019-05-15T19:37:53Z"
-    },
-    "comments": 0,
-    "created_at": "2019-05-15T19:37:53Z",
-    "updated_at": "2019-05-15T19:37:55Z",
-    "closed_at": null,
-    "author_association": "OWNER",
-    "body": "It looks like you accidently spelled 'commit' with two 't's."
-  },
-  "comment": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2",
-    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
-    "id": 2,
-    "node_id": "MDEyOklzc3VlQ29tbWVudDI=",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "created_at": "2019-05-15T19:37:55Z",
-    "updated_at": "2019-05-15T19:37:55Z",
-    "author_association": "OWNER",
-    "body": "You are totally right! I'll get this fixed right away."
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:37:50Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 1,
-    "license": null,
-    "forks": 0,
-    "open_issues": 1,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

issues

-

- Activity related to an issue. The type of activity is specified in the - action property of the payload object. For more information, - see the "issues" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of opened, - edited, deleted, pinned, - unpinned, closed, reopened, - assigned, unassigned, - labeled, unlabeled, locked, - unlocked, transferred, - milestoned, or demilestoned. -
issueobject - The - issue - itself. -
changesobject - The changes to the issue if the action was edited. -
changes[title][from]string - The previous version of the title if the action was - edited. -
changes[body][from]string - The previous version of the body if the action was - edited. -
assigneeobject - The optional user who was assigned or unassigned from the issue. -
labelobjectThe optional label that was added or removed from the issue.
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example when someone edits an issue -

-
-
{
-  "action": "edited",
-  "issue": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
-    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1",
-    "id": 10,
-    "node_id": "MDU6SXNzdWUxMA==",
-    "number": 1,
-    "title": "Spelling error in the README file",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "labels": [
-      {
-        "id": 941,
-        "node_id": "MDU6TGFiZWw5NDE=",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug",
-        "name": "bug",
-        "color": "d73a4a",
-        "default": true
-      }
-    ],
-    "state": "open",
-    "locked": false,
-    "assignee": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "assignees": [
-      {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      }
-    ],
-    "milestone": {
-      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
-      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
-      "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
-      "id": 2,
-      "node_id": "MDk6TWlsZXN0b25lMg==",
-      "number": 1,
-      "title": "v1.0",
-      "description": "Add new space flight simulator",
-      "creator": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "open_issues": 1,
-      "closed_issues": 0,
-      "state": "closed",
-      "created_at": "2019-05-15T19:37:52Z",
-      "updated_at": "2019-05-15T19:37:53Z",
-      "due_on": "2019-05-23T00:00:00Z",
-      "closed_at": "2019-05-15T19:37:53Z"
-    },
-    "comments": 0,
-    "created_at": "2019-05-15T19:37:53Z",
-    "updated_at": "2019-05-15T19:37:54Z",
-    "closed_at": null,
-    "author_association": "OWNER",
-    "body": "It looks like you accidently spelled 'commit' with two 't's."
-  },
-  "changes": {},
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:37:50Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 1,
-    "license": null,
-    "forks": 0,
-    "open_issues": 1,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

label

-

- Activity related to a label. The type of activity is specified in the - action property of the payload object. For more information, - see the "labels" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be created, - edited, or deleted. -
labelobjectThe label that was added.
changesobject - The changes to the label if the action was edited. -
changes[name][from]string - The previous version of the name if the action was - edited. -
changes[color][from]string - The previous version of the color if the action was - edited. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "deleted",
-  "label": {
-    "id": 965,
-    "node_id": "MDU6TGFiZWw5NjU=",
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix",
-    "name": ":bug: Bugfix",
-    "color": "cceeaa",
-    "default": false
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:25Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

member

-

- Activity related to repository collaborators. The type of activity is - specified in the action property of the payload object. For - more information, see the "collaborators" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: -
    -
  • - added - A user accepts an invitation to a - repository. -
  • -
  • - removed - A user is removed as a collaborator in a - repository. -
  • -
  • - edited - A user's collaborator permissions have - changed. -
  • -
-
memberobject - The - user - that was added. -
changesobject - The changes to the collaborator permissions if the action was - edited. -
changes[old_permission][from]string - The previous permissions of the collaborator if the action was - edited. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "added",
-  "member": {
-    "login": "Hacktocat",
-    "id": 5,
-    "node_id": "MDQ6VXNlcjU=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/5?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Hacktocat",
-    "html_url": "https://octocoders.github.io/Hacktocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

membership

-

- Activity related to team membership. The type of activity is specified in - the action property of the payload object. For more - information, see the "team members" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be added or - removed. -
scopestring - The scope of the membership. Currently, can only be - team. -
memberobject - The - user - that was added or removed. -
teamobject - The - team - for the membership. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "removed",
-  "scope": "team",
-  "member": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "team": {
-    "name": "github",
-    "id": 3,
-    "node_id": "MDQ6VGVhbTM=",
-    "slug": "github",
-    "description": "Open-source team",
-    "privacy": "secret",
-    "url": "https://octocoders.github.io/api/v3/teams/3",
-    "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github",
-    "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}",
-    "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos",
-    "permission": "pull"
-  },
-  "organization": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
-    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
-    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
-    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
-    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
-    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "description": ""
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  }
-}
-
-
-

meta

-

- The webhook this event is configured on was deleted. This event will only - listen for changes to the particular hook the event is installed on. - Therefore, it must be selected for each hook that you'd like to receive - meta events for. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstringThe action performed. Can be deleted.
hook_idintegerThe id of the modified webhook.
hookobject - The modified webhook. This will contain different keys based on the - type of webhook it is: repository, organization, business, app, or - GitHub Marketplace. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "deleted",
-  "hook_id": 101047067,
-  "hook": {
-    "type": "Repository",
-    "id": 101047067,
-    "name": "web",
-    "active": true,
-    "events": [
-      "meta"
-    ],
-    "config": {
-      "content_type": "json",
-      "insecure_ssl": "0",
-      "url": "http://example.com/hook"
-    },
-    "updated_at": "2019-04-10T03:57:12Z",
-    "created_at": "2019-04-10T03:57:12Z"
-  },
-  "repository": {
-    "id": 135493233,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "owner": {
-      "login": "Codertocat",
-      "id": 21031067,
-      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/Codertocat",
-      "html_url": "https://github.com/Codertocat",
-      "followers_url": "https://api.github.com/users/Codertocat/followers",
-      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-      "repos_url": "https://api.github.com/users/Codertocat/repos",
-      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "private": false,
-    "html_url": "https://github.com/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://api.github.com/repos/Codertocat/Hello-World",
-    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2018-05-30T20:18:04Z",
-    "updated_at": "2018-05-30T20:18:50Z",
-    "pushed_at": "2018-05-30T20:18:48Z",
-    "git_url": "git://github.com/Codertocat/Hello-World.git",
-    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
-    "clone_url": "https://github.com/Codertocat/Hello-World.git",
-    "svn_url": "https://github.com/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 1,
-    "license": null,
-    "forks": 0,
-    "open_issues": 1,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 21031067,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

milestone

-

- Activity related to milestones. The type of activity is specified in the - action property of the payload object. For more information, - see the "milestones" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of created, - closed, opened, edited, or - deleted. -
milestoneobjectThe milestone itself.
changesobject - The changes to the milestone if the action was edited. -
changes[description][from]string - The previous version of the description if the action was - edited. -
changes[due_on][from]string - The previous version of the due date if the action was - edited. -
changes[title][from]string - The previous version of the title if the action was - edited. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "created",
-  "milestone": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
-    "id": 2,
-    "node_id": "MDk6TWlsZXN0b25lMg==",
-    "number": 1,
-    "title": "v1.0",
-    "description": "Add new space flight simulator",
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "open_issues": 0,
-    "closed_issues": 0,
-    "state": "open",
-    "created_at": "2019-05-15T19:37:52Z",
-    "updated_at": "2019-05-15T19:37:52Z",
-    "due_on": "2019-05-23T00:00:00Z",
-    "closed_at": null
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:37:50Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

organization

-

- Activity related to an organization and its members. The type of activity - is specified in the action property of the payload object. - For more information, see the "organizations" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: created, - deleted, renamed, - member_added, member_removed, or - member_invited. -
invitationobject - The invitation for the user or email if the action is - member_invited. -
membershipobject - The membership between the user and the organization. Not present - when the action is member_invited. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "member_added",
-  "membership": {
-    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat",
-    "state": "active",
-    "role": "member",
-    "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
-    "user": {
-      "login": "Hacktocat",
-      "id": 5,
-      "node_id": "MDQ6VXNlcjU=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/5?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Hacktocat",
-      "html_url": "https://octocoders.github.io/Hacktocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events",
-      "type": "User",
-      "site_admin": false
-    }
-  },
-  "organization": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
-    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
-    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
-    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
-    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
-    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "description": ""
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

page_build

-

- Represents an attempted build of a GitHub Pages site, whether successful - or not. A push to a GitHub Pages enabled branch (gh-pages for - project pages, the default branch for user and organization pages) - triggers this event. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
idintegerThe unique identifier of the page build.
buildobject - The - List GitHub Pages builds - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "id": 7,
-  "build": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7",
-    "status": "built",
-    "error": {
-      "message": null
-    },
-    "pusher": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "commit": "3648135c2986115284ae152d90459473b15fd19c",
-    "duration": 6917,
-    "created_at": "2019-05-15T19:38:15Z",
-    "updated_at": "2019-05-15T19:38:22Z"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:19Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

ping

-

- When you create a new webhook, we'll send you a simple - ping event to let you know you've set up the webhook - correctly. This event isn't stored so it isn't retrievable via the - Events API - endpoint. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
zenstringRandom string of GitHub zen.
hook_idintegerThe ID of the webhook that triggered the ping.
hookobject - The - webhook configuration. -
hook[app_id]integer - When you register a new GitHub App, GitHub Enterprise Server sends a - ping event to the webhook URL you specified during - registration. The event contains the app_id, which is - required for - authenticating - an app. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "zen": "Non-blocking is better than blocking.",
-  "hook_id": 30,
-  "hook": {
-    "type": "Repository",
-    "id": 30,
-    "name": "web",
-    "active": true,
-    "events": [
-      "*"
-    ],
-    "config": {
-      "content_type": "json",
-      "url": "https://smee.io/YEbF2t8kjvPAn7Ck",
-      "insecure_ssl": "0"
-    },
-    "updated_at": "2019-05-15T19:38:17Z",
-    "created_at": "2019-05-15T19:38:17Z",
-    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30",
-    "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test",
-    "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings",
-    "last_response": {
-      "code": null,
-      "status": "unused",
-      "message": null
-    }
-  },
-  "repository": {
-    "id": 120,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
-    "name": "Hello-World",
-    "full_name": "Octocoders/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Octocoders",
-      "id": 6,
-      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-      "html_url": "https://octocoders.github.io/Octocoders",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-      "type": "Organization",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "description": null,
-    "fork": true,
-    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
-    "created_at": "2019-05-15T19:38:10Z",
-    "updated_at": "2019-05-15T19:38:14Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": false,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

project_card

-

- Activity related to project cards. The type of activity is specified in - the action property of the payload object. For more - information, see the "project cards" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed on the project card. Can be - created, edited, moved, - converted, or deleted. -
changesobject - The changes to the project card if the action was - edited or converted. -
changes[note][from]string - The previous version of the note if the action was - edited or converted. -
after_idinteger - The id of the card that this card now follows if the action was - "moved". Will be null if it is the first card in a - column. -
project_cardobject - The - project card - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "created",
-  "project_card": {
-    "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8",
-    "project_url": "https://octocoders.github.io/api/v3/projects/6",
-    "column_url": "https://octocoders.github.io/api/v3/projects/columns/8",
-    "column_id": 8,
-    "id": 8,
-    "node_id": "MDExOlByb2plY3RDYXJkOA==",
-    "note": "Work that can be completed in one hour or less.",
-    "archived": false,
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "created_at": "2019-05-15T19:39:01Z",
-    "updated_at": "2019-05-15T19:39:01Z"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:27Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

project_column

-

- Activity related to columns in a project board. The type of activity is - specified in the action property of the payload object. For - more information, see the "project columns" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed on the project column. Can be one of - created, edited, moved or - deleted. -
changesobject - The changes to the project column if the action was - edited. -
changes[name][from]string - The previous version of the name if the action was - edited. -
after_idinteger - The id of the column that this column now follows if the action was - "moved". Will be null if it is the first column in a - project. -
project_columnobject - The - project column - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "created",
-  "project_column": {
-    "url": "https://octocoders.github.io/api/v3/projects/columns/8",
-    "project_url": "https://octocoders.github.io/api/v3/projects/6",
-    "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards",
-    "id": 8,
-    "node_id": "MDEzOlByb2plY3RDb2x1bW44",
-    "name": "Small bugfixes",
-    "created_at": "2019-05-15T19:39:01Z",
-    "updated_at": "2019-05-15T19:39:01Z"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:27Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

project

-

- Activity related to project boards. The type of activity is specified in - the action property of the payload object. For more - information, see the "projects" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed on the project. Can be one of - created, edited, closed, - reopened, or deleted. -
changesobject - The changes to the project if the action was edited. -
changes[name][from]string - The previous version of the name if the action was - edited. -
changes[body][from]string - The previous version of the body if the action was - edited. -
projectobject - The - project - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "created",
-  "project": {
-    "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "url": "https://octocoders.github.io/api/v3/projects/6",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1",
-    "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns",
-    "id": 6,
-    "node_id": "MDc6UHJvamVjdDY=",
-    "name": "Space 2.0",
-    "body": "Project tasks for a trip to Space",
-    "number": 1,
-    "state": "open",
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "created_at": "2019-05-15T19:38:27Z",
-    "updated_at": "2019-05-15T19:38:27Z"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:27Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

public

-

- When a private repository is made public. Without a doubt: the best GitHub - Enterprise Server event. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:25Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

pull_request

-

- Activity related to pull requests. The type of activity is specified in - the action property of the payload object. For more - information, see the "pull requests" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: -
    -
  • assigned
  • -
  • - closed: If the action is closed and - the merged key is false, the pull - request was closed with unmerged commits. If the action is - closed and the merged key is - true, the pull request was merged. -
  • -
  • converted_to_draft
  • -
  • edited
  • -
  • labeled
  • -
  • locked
  • -
  • opened
  • -
  • ready_for_review
  • -
  • reopened
  • -
  • review_request_removed
  • -
  • review_requested
  • -
  • - synchronize: Triggered when a pull request's head - branch is updated. For example, when the head branch is updated - from the base branch, when new commits are pushed to the head - branch, or when the base branch is changed. -
  • -
  • unassigned
  • -
  • unlabeled
  • -
  • unlocked
  • -
-
numberintegerThe pull request number.
changesobject - The changes to the comment if the action was edited. -
changes[title][from]string - The previous version of the title if the action was - edited. -
changes[body][from]string - The previous version of the body if the action was - edited. -
pull_requestobject - The - pull request - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-

- Deliveries for review_requested and - review_request_removed events will have an additional field - called requested_reviewer. -

-
-
{
-  "action": "opened",
-  "number": 2,
-  "pull_request": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-    "id": 2,
-    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
-    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
-    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
-    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
-    "number": 2,
-    "state": "open",
-    "locked": false,
-    "title": "Update the README with new information.",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "body": "This is a pretty simple change that we need to pull into master.",
-    "created_at": "2019-05-15T19:38:02Z",
-    "updated_at": "2019-05-15T19:38:02Z",
-    "closed_at": null,
-    "merged_at": null,
-    "merge_commit_sha": null,
-    "assignee": null,
-    "assignees": [],
-    "requested_reviewers": [],
-    "requested_teams": [],
-    "labels": [],
-    "milestone": null,
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
-    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
-    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
-    "head": {
-      "label": "Codertocat:changes",
-      "ref": "changes",
-      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "base": {
-      "label": "Codertocat:master",
-      "ref": "master",
-      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "_links": {
-      "self": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
-      },
-      "html": {
-        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
-      },
-      "issue": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
-      },
-      "comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
-      },
-      "review_comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
-      },
-      "review_comment": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
-      },
-      "commits": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
-      },
-      "statuses": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
-      }
-    },
-    "author_association": "OWNER",
-    "draft": false,
-    "merged": false,
-    "mergeable": null,
-    "rebaseable": null,
-    "mergeable_state": "unknown",
-    "merged_by": null,
-    "comments": 0,
-    "review_comments": 0,
-    "maintainer_can_modify": false,
-    "commits": 1,
-    "additions": 1,
-    "deletions": 1,
-    "changed_files": 1
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- pull_request_review -

-

- Activity related to pull request reviews. The type of activity is - specified in the action property of the payload object. For - more information, see the "pull request reviews" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: -
    -
  • - submitted - A pull request review is submitted into - a non-pending state. -
  • -
  • - edited - The body of a review has been edited. -
  • -
  • dismissed - A review has been dismissed.
  • -
-
pull_requestobject - The - pull request - the review pertains to. -
reviewobjectThe review that was affected.
changes[body][from]string - The previous version of the body if the action was - edited. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "submitted",
-  "review": {
-    "id": 2,
-    "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "body": null,
-    "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "submitted_at": "2019-05-15T19:38:08Z",
-    "state": "commented",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2",
-    "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-    "author_association": "OWNER",
-    "_links": {
-      "html": {
-        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2"
-      },
-      "pull_request": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
-      }
-    }
-  },
-  "pull_request": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-    "id": 2,
-    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
-    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
-    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
-    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
-    "number": 2,
-    "state": "open",
-    "locked": false,
-    "title": "Update the README with new information.",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "body": "This is a pretty simple change that we need to pull into master.",
-    "created_at": "2019-05-15T19:38:02Z",
-    "updated_at": "2019-05-15T19:38:08Z",
-    "closed_at": null,
-    "merged_at": null,
-    "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f",
-    "assignee": null,
-    "assignees": [],
-    "requested_reviewers": [],
-    "requested_teams": [],
-    "labels": [],
-    "milestone": null,
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
-    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
-    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
-    "head": {
-      "label": "Codertocat:changes",
-      "ref": "changes",
-      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "base": {
-      "label": "Codertocat:master",
-      "ref": "master",
-      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "_links": {
-      "self": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
-      },
-      "html": {
-        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
-      },
-      "issue": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
-      },
-      "comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
-      },
-      "review_comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
-      },
-      "review_comment": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
-      },
-      "commits": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
-      },
-      "statuses": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
-      }
-    },
-    "author_association": "OWNER"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- pull_request_review_comment -

-

- Activity related to pull request review comments in the pull request's - unified diff. The type of activity is specified in the - action property of the payload object. For more information, - see the "pull request review comments" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed on the comment. Can be one of - created, edited, or deleted. -
changesobject - The changes to the comment if the action was edited. -
changes[body][from]string - The previous version of the body if the action was - edited. -
pull_requestobject - The - pull request - the comment belongs to. -
commentobject - The - comment - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "created",
-  "comment": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2",
-    "pull_request_review_id": 2,
-    "id": 2,
-    "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=",
-    "diff_hunk": "@@ -1 +1 @@\n-# Hello-World",
-    "path": "README.md",
-    "position": 1,
-    "original_position": 1,
-    "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "body": "Maybe you should use more emoji on this line.",
-    "created_at": "2019-05-15T19:38:07Z",
-    "updated_at": "2019-05-15T19:38:08Z",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2",
-    "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-    "author_association": "OWNER",
-    "_links": {
-      "self": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2"
-      },
-      "html": {
-        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2"
-      },
-      "pull_request": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
-      }
-    }
-  },
-  "pull_request": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-    "id": 2,
-    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
-    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
-    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
-    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
-    "number": 2,
-    "state": "open",
-    "locked": false,
-    "title": "Update the README with new information.",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "body": "This is a pretty simple change that we need to pull into master.",
-    "created_at": "2019-05-15T19:38:02Z",
-    "updated_at": "2019-05-15T19:38:08Z",
-    "closed_at": null,
-    "merged_at": null,
-    "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f",
-    "assignee": null,
-    "assignees": [],
-    "requested_reviewers": [],
-    "requested_teams": [],
-    "labels": [],
-    "milestone": null,
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
-    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
-    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
-    "head": {
-      "label": "Codertocat:changes",
-      "ref": "changes",
-      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "base": {
-      "label": "Codertocat:master",
-      "ref": "master",
-      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "_links": {
-      "self": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
-      },
-      "html": {
-        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
-      },
-      "issue": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
-      },
-      "comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
-      },
-      "review_comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
-      },
-      "review_comment": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
-      },
-      "commits": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
-      },
-      "statuses": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
-      }
-    },
-    "author_association": "OWNER"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

push

-

One or more commits are pushed to a repository branch or tag.

-
-

- Note: You will not receive a webhook for this event - when you push more than three tags at once. -

-
-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
refstring - The full - git ref - that was pushed. Example: refs/heads/main. -
beforestring - The SHA of the most recent commit on ref before the - push. -
afterstring - The SHA of the most recent commit on ref after the - push. -
commitsarray - An array of commit objects describing the pushed commits. (The array - includes a maximum of 20 commits. If necessary, you can use the - Commits API - to fetch additional commits. This limit is applied to timeline - events only and isn't applied to webhook deliveries.) -
commits[][id]stringThe SHA of the commit.
commits[][timestamp]stringThe ISO 8601 timestamp of the commit.
commits[][message]stringThe commit message.
commits[][author]objectThe git author of the commit.
commits[][author][name]stringThe git author's name.
commits[][author][email]stringThe git author's email address.
commits[][url]urlURL that points to the commit API resource.
commits[][distinct]boolean - Whether this commit is distinct from any that have been pushed - before. -
commits[][added]arrayAn array of files added in the commit.
commits[][modified]arrayAn array of files modified by the commit.
commits[][removed]arrayAn array of files removed in the commit.
pusherobjectThe user who pushed the commits.
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "ref": "refs/tags/simple-tag",
-  "before": "4544205a385319fd846d5df4ed2e3b8173529d78",
-  "after": "0000000000000000000000000000000000000000",
-  "created": false,
-  "deleted": true,
-  "forced": false,
-  "base_ref": null,
-  "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000",
-  "commits": [],
-  "head_commit": null,
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "name": "Codertocat",
-      "email": "Codertocat@Octocoders.io",
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": 1557949027,
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": 1557949103,
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master",
-    "stargazers": 0,
-    "master_branch": "master"
-  },
-  "pusher": {
-    "name": "Codertocat",
-    "email": "Codertocat@Octocoders.io"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

release

-

- Activity related to a release. The type of activity is specified in the - action property of the payload object. For more information, - see the "releases" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: -
    -
  • - published: a release, pre-release, or draft of a - release is published -
  • -
  • - unpublished: a release or pre-release is deleted -
  • -
  • - created: a draft is saved, or a release or - pre-release is published without previously being saved as a - draft -
  • -
  • - edited: a release, pre-release, or draft release is - edited -
  • -
  • - deleted: a release, pre-release, or draft release - is deleted -
  • -
  • prereleased: a pre-release is created
  • -
  • - released: a release or draft of a release is - published, or a pre-release is changed to a release -
  • -
-
changes[body][from]string - The previous version of the body if the action was - edited. -
changes[name][from]string - The previous version of the name if the action was - edited. -
releaseobject - The - release - object. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "published",
-  "release": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2",
-    "assets_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2/assets",
-    "upload_url": "https://octocoders.github.io/api/uploads/repos/Codertocat/Hello-World/releases/2/assets{?name,label}",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/releases/tag/0.0.1",
-    "id": 2,
-    "node_id": "MDc6UmVsZWFzZTI=",
-    "tag_name": "0.0.1",
-    "target_commitish": "master",
-    "name": null,
-    "draft": false,
-    "author": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "prerelease": false,
-    "created_at": "2019-05-15T19:37:08Z",
-    "published_at": "2019-05-15T19:38:20Z",
-    "assets": [],
-    "tarball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tarball/0.0.1",
-    "zipball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/zipball/0.0.1",
-    "body": null
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:19Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- repository_dispatch -

-

- This event occurs when a GitHub App sends a POST request to - the "Create a repository dispatch event" endpoint. -

-

Availability

- -

- Webhook payload example -

-
-
{
-  "action": "on-demand-test",
-  "branch": "master",
-  "client_payload": {
-    "unit": false,
-    "integration": true
-  },
-  "repository": {
-    "id": 17273051,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==",
-    "name": "octo-repo",
-    "full_name": "octo-org/octo-repo",
-    "private": true,
-    "owner": {
-      "login": "octo-org",
-      "id": 6811672,
-      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
-      "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/octo-org",
-      "html_url": "https://github.com/octo-org",
-      "followers_url": "https://api.github.com/users/octo-org/followers",
-      "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
-      "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
-      "organizations_url": "https://api.github.com/users/octo-org/orgs",
-      "repos_url": "https://api.github.com/users/octo-org/repos",
-      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/octo-org/received_events",
-      "type": "Organization",
-      "site_admin": false
-    },
-    "html_url": "https://github.com/octo-org/octo-repo",
-    "description": "My first repo on GitHub!",
-    "fork": false,
-    "url": "https://api.github.com/repos/octo-org/octo-repo",
-    "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
-    "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
-    "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
-    "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
-    "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
-    "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
-    "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
-    "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
-    "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
-    "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
-    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
-    "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
-    "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
-    "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
-    "created_at": "2014-02-28T02:42:51Z",
-    "updated_at": "2018-10-10T15:58:51Z",
-    "pushed_at": "2018-10-10T15:58:47Z",
-    "git_url": "git://github.com/octo-org/octo-repo.git",
-    "ssh_url": "git@github.com:octo-org/octo-repo.git",
-    "clone_url": "https://github.com/octo-org/octo-repo.git",
-    "svn_url": "https://github.com/octo-org/octo-repo",
-    "homepage": "",
-    "size": 59,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "JavaScript",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 23,
-    "license": null,
-    "forks": 1,
-    "open_issues": 23,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "organization": {
-    "login": "octo-org",
-    "id": 6811672,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
-    "url": "https://api.github.com/orgs/octo-org",
-    "repos_url": "https://api.github.com/orgs/octo-org/repos",
-    "events_url": "https://api.github.com/orgs/octo-org/events",
-    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
-    "issues_url": "https://api.github.com/orgs/octo-org/issues",
-    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
-    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
-    "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
-    "description": "Working better together!"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 21031067,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 375706,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzc1NzA2"
-  }
-}
-
-
-

repository

-

- Activity related to a repository. The type of activity is specified in the - action property of the payload object. For more information, - see the "repositories" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. This can be one of: -
    -
  • created - A repository is created.
  • -
  • deleted - A repository is deleted.
  • -
  • archived - A repository is archived.
  • -
  • unarchived - A repository is unarchived.
  • -
  • - anonymous_access_enabled - A repository is - enabled for anonymous Git access, anonymous_access_disabled - A repository is - disabled for anonymous Git access -
  • -
  • - edited - A repository's information is edited. -
  • -
  • renamed - A repository is renamed.
  • -
  • transferred - A repository is transferred.
  • -
  • publicized - A repository is made public.
  • -
  • privatized - A repository is made private.
  • -
-
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "publicized",
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:25Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- security_advisory -

-

- Activity related to a security advisory. A security advisory provides - information about security-related vulnerabilities in software on GitHub. - The security advisory dataset also powers the GitHub security alerts, see - "About alerts for vulnerable dependencies." -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. The action can be one of - published, updated, - performed, or withdrawn for all new - events. -
security_advisoryobject - The details of the security advisory, including summary, - description, and severity. -
-

- Webhook payload example -

-
-
{
-  "action": "published",
-  "security_advisory": {
-    "ghsa_id": "GHSA-rf4j-j272-fj86",
-    "summary": "Moderate severity vulnerability that affects django",
-    "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.",
-    "severity": "moderate",
-    "identifiers": [
-      {
-        "value": "GHSA-rf4j-j272-fj86",
-        "type": "GHSA"
-      },
-      {
-        "value": "CVE-2018-6188",
-        "type": "CVE"
-      }
-    ],
-    "references": [
-      {
-        "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188"
-      }
-    ],
-    "published_at": "2018-10-03T21:13:54Z",
-    "updated_at": "2018-10-03T21:13:54Z",
-    "withdrawn_at": null,
-    "vulnerabilities": [
-      {
-        "package": {
-          "ecosystem": "pip",
-          "name": "django"
-        },
-        "severity": "moderate",
-        "vulnerable_version_range": ">= 2.0.0, < 2.0.2",
-        "first_patched_version": {
-          "identifier": "2.0.2"
-        }
-      },
-      {
-        "package": {
-          "ecosystem": "pip",
-          "name": "django"
-        },
-        "severity": "moderate",
-        "vulnerable_version_range": ">= 1.11.8, < 1.11.10",
-        "first_patched_version": {
-          "identifier": "1.11.10"
-        }
-      }
-    ]
-  }
-}
-
-
-

star

-

- Activity related to a repository being starred. The type of activity is - specified in the action property of the payload object. For - more information, see the "starring" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed. Can be created or - deleted. -
starred_atstring - The time the star was created. This is a timestamp in - ISO 8601 - format: YYYY-MM-DDTHH:MM:SSZ. Will be - null for the deleted action. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "created",
-  "starred_at": "2019-05-15T15:20:40Z",
-  "repository": {
-    "id": 186853002,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 21031067,
-      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/Codertocat",
-      "html_url": "https://github.com/Codertocat",
-      "followers_url": "https://api.github.com/users/Codertocat/followers",
-      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-      "repos_url": "https://api.github.com/users/Codertocat/repos",
-      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://github.com/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://api.github.com/repos/Codertocat/Hello-World",
-    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T15:19:25Z",
-    "updated_at": "2019-05-15T15:20:40Z",
-    "pushed_at": "2019-05-15T15:20:33Z",
-    "git_url": "git://github.com/Codertocat/Hello-World.git",
-    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
-    "clone_url": "https://github.com/Codertocat/Hello-World.git",
-    "svn_url": "https://github.com/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 1,
-    "watchers_count": 1,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 1,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 21031067,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

status

-

- When the status of a Git commit changes. The type of activity is specified - in the action property of the payload object. For more - information, see the "statuses" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
idintegerThe unique identifier of the status.
shastringThe Commit SHA.
statestring - The new state. Can be pending, success, - failure, or error. -
descriptionstringThe optional human-readable description added to the status.
target_urlstringThe optional link added to the status.
branchesarray - An array of branch objects containing the status' SHA. Each branch - contains the given SHA, but the SHA may or may not be the head of - the branch. The array includes a maximum of 10 branches. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "id": 2,
-  "sha": "4544205a385319fd846d5df4ed2e3b8173529d78",
-  "name": "Codertocat/Hello-World",
-  "target_url": null,
-  "context": "default",
-  "description": null,
-  "state": "success",
-  "commit": {
-    "sha": "4544205a385319fd846d5df4ed2e3b8173529d78",
-    "node_id": "MDY6Q29tbWl0MTE4OjQ1NDQyMDVhMzg1MzE5ZmQ4NDZkNWRmNGVkMmUzYjgxNzM1MjlkNzg=",
-    "commit": {
-      "author": {
-        "name": "Codertocat",
-        "email": "Codertocat@Octocoders.io",
-        "date": "2019-05-15T19:37:08Z"
-      },
-      "committer": {
-        "name": "GitHub Enterprise",
-        "email": "noreply@octocoders.github.io",
-        "date": "2019-05-15T19:37:08Z"
-      },
-      "message": "Initial commit",
-      "tree": {
-        "sha": "1b13fc88733f95cc8cb16170f6990ef30d78acf4",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees/1b13fc88733f95cc8cb16170f6990ef30d78acf4"
-      },
-      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits/4544205a385319fd846d5df4ed2e3b8173529d78",
-      "comment_count": 1,
-      "verification": {
-        "verified": false,
-        "reason": "unsigned",
-        "signature": null,
-        "payload": null
-      }
-    },
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78/comments",
-    "author": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "committer": null,
-    "parents": []
-  },
-  "branches": [
-    {
-      "name": "master",
-      "commit": {
-        "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/78a96099c3f442d7f6e8d1a7d07090091993e65a"
-      },
-      "protected": false
-    },
-    {
-      "name": "changes",
-      "commit": {
-        "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/14977a7b5485400124827221a04bfb474bcd72d1"
-      },
-      "protected": false
-    },
-    {
-      "name": "gh-pages",
-      "commit": {
-        "sha": "3648135c2986115284ae152d90459473b15fd19c",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/3648135c2986115284ae152d90459473b15fd19c"
-      },
-      "protected": false
-    }
-  ],
-  "created_at": "2019-05-15T19:38:21+00:00",
-  "updated_at": "2019-05-15T19:38:21+00:00",
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:19Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

team

-

- Activity related to an organization's team. The type of activity is - specified in the action property of the payload object. For - more information, see the "teams" REST API. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of created, - deleted, edited, - added_to_repository, or - removed_from_repository. -
teamobjectThe team itself.
changesobject - The changes to the team if the action was edited. -
changes[description][from]string - The previous version of the description if the action was - edited. -
changes[name][from]string - The previous version of the name if the action was - edited. -
changes[privacy][from]string - The previous version of the team's privacy if the action was - edited. -
changes[repository][permissions][from][admin]boolean - The previous version of the team member's - admin permission on a repository, if the action was - edited. -
changes[repository][permissions][from][pull]boolean - The previous version of the team member's - pull permission on a repository, if the action was - edited. -
changes[repository][permissions][from][push]boolean - The previous version of the team member's - push permission on a repository, if the action was - edited. -
repositoryobject - The repository that was added or removed from to the team's purview - if the action was added_to_repository, - removed_from_repository, or edited. For - edited actions, repository also contains - the team's new permission levels for the repository. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-

team_add

-

- When a - repository is added to a team. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
teamobject - The - team - that was modified. Note: Older events may not - include this in the payload. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "team": {
-    "name": "github",
-    "id": 3,
-    "node_id": "MDQ6VGVhbTM=",
-    "slug": "github",
-    "description": "Open-source team",
-    "privacy": "secret",
-    "url": "https://octocoders.github.io/api/v3/teams/3",
-    "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github",
-    "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}",
-    "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos",
-    "permission": "pull"
-  },
-  "repository": {
-    "id": 120,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
-    "name": "Hello-World",
-    "full_name": "Octocoders/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Octocoders",
-      "id": 6,
-      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-      "html_url": "https://octocoders.github.io/Octocoders",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-      "type": "Organization",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "description": null,
-    "fork": true,
-    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
-    "created_at": "2019-05-15T19:38:10Z",
-    "updated_at": "2019-05-15T19:38:14Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": false,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "organization": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
-    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
-    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
-    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
-    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
-    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "description": ""
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-    "html_url": "https://octocoders.github.io/Octocoders",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-    "type": "Organization",
-    "site_admin": false
-  }
-}
-
-
-

user

-

When a user is created or deleted.

-

Availability

- -

- Webhook payload example -

-

watch

-

- When someone stars a repository. The type of activity is specified in the - action property of the payload object. For more information, - see the "starring" REST API. -

-

- The event’s actor is the - user who - starred a repository, and the event’s repository is the - repository - that was starred. -

-

Availability

- -

- Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Currently, can only be - started. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured for - and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- Webhook payload example -

-
-
{
-  "action": "started",
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:09Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 1,
-    "watchers_count": 1,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 1,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-
-
diff --git a/cache/ghes-222/webhook-events-and-payloads.html b/cache/ghes-222/webhook-events-and-payloads.html deleted file mode 100644 index aeea60eb0..000000000 --- a/cache/ghes-222/webhook-events-and-payloads.html +++ /dev/null @@ -1,16349 +0,0 @@ -
- -
-
- Article version -
-
- - Enterprise Server 2.22 -
-
- -
-
-
-
-

- In this article -

- -
-
-

Webhook events and payloads

-
-

- For each webhook event, you can review when the event occurs, an example - payload, and descriptions about the payload object parameters. -

-
-
-
-
-
-

- When configuring a webhook, you can use the UI or API to choose which - events will send you payloads. Only subscribing to the specific events - you plan on handling limits the number of HTTP requests to your server. - You can also subscribe to all current and future events. By default, - webhooks are only subscribed to the push event. You can change the list - of subscribed events anytime. -

-

- You can create webhooks that subscribe to the events listed on this - page. Each webhook event includes a description of the webhook - properties and an example payload. For more information, see "Creating webhooks." -

-

- - Webhook payload object common properties -

-

- Each webhook event payload also contains properties unique to the event. - You can find the unique properties in the individual event type - sections. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - Most webhook payloads contain an action property that - contains the specific activity that triggered the event. -
senderobject - The user that triggered the event. This property is included in - every webhook payload. -
repositoryobject - The - repository - where the event occurred. Webhook payloads contain the - repository property when the event occurs from - activity in a repository. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. For more information, see "Building GitHub App." -
-

- The unique properties for a webhook event are the same properties you'll - find in the payload property when using the - Events API. One exception is the push event. The - unique properties of the push event webhook payload and the - payload property in the Events API differ. The webhook - payload contains more detailed information. -

-
-

- Note: Payloads are capped at 25 MB. If your event - generates a larger payload, a webhook will not be fired. This may - happen, for example, on a create event if many branches - or tags are pushed at once. We suggest monitoring your payload size to - ensure delivery. -

-
-

- - Delivery headers -

-

- HTTP POST payloads that are delivered to your webhook's configured URL - endpoint will contain several special headers: -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
HeaderDescription
X-GitHub-EventName of the event that triggered the delivery.
X-GitHub-Delivery - A - GUID - to identify the delivery. -
X-GitHub-Enterprise-Version - The version of the GitHub Enterprise Server instance that sent the - HTTP POST payload. -
X-GitHub-Enterprise-Host - The hostname of the GitHub Enterprise Server instance that sent - the HTTP POST payload. -
X-Hub-Signature - This header is sent if the webhook is configured with a - secret. This is the HMAC hex digest of the request body, and is - generated using the SHA-1 hash function and the - secret as the HMAC key. -
-

- Also, the User-Agent for the requests will have the prefix - GitHub-Hookshot/. -

-

- - Example delivery -

-
> POST /payload HTTP/2
-
-> Host: localhost:4567
-> X-GitHub-Delivery: 72d3162e-cc78-11e3-81ab-4c9367dc0958
-> X-GitHub-Enterprise-Version: 2.15.0
-> X-GitHub-Enterprise-Host: example.com
-> X-Hub-Signature: sha1=7d38cdd689735b008b3c702edd92eea23791c5f6
-> User-Agent: GitHub-Hookshot/044aadd
-> Content-Type: application/json
-> Content-Length: 6615
-> X-GitHub-Event: issues
-
-> {
->   "action": "opened",
->   "issue": {
->     "url": "http(s)://[hostname]/api/v3/repos/octocat/Hello-World/issues/1347",
->     "number": 1347,
->     ...
->   },
->   "repository" : {
->     "id": 1296269,
->     "full_name": "octocat/Hello-World",
->     "owner": {
->       "login": "octocat",
->       "id": 1,
->       ...
->     },
->     ...
->   },
->   "sender": {
->     "login": "octocat",
->     "id": 1,
->     ...
->   }
-> }
-

- - check_run -

-

- Check run activity has occurred. The type of activity is specified in - the action property of the payload object. For more - information, see the "check runs" REST API. -

-
-

- Note: The Checks API only looks for pushes in the - repository where the check suite or check run were created. Pushes to - a branch in a forked repository are not detected and return an empty - pull_requests array and a null value for - head_branch. -

-
-

- - Availability -

-
    -
  • - Repository webhooks only receive payloads for the - created and completed event types in a - repository -
  • -
  • - Organization webhooks only receive payloads for the - created and completed event types in - repositories -
  • -
  • - GitHub Apps with the checks:read permission receive - payloads for the created and - completed events that occur in the repository where the - app is installed. The app must have the - checks:write permission to receive the - rerequested and requested_action event - types. The rerequested and - requested_action event type payloads are only sent to the - GitHub App being requested. GitHub Apps with the - checks:write are automatically subscribed to this webhook - event. -
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed. Can be one of: -
    -
  • created - A new check run was created.
  • -
  • - completed - The status of the check - run is completed. -
  • -
  • - rerequested - Someone requested to re-run your - check run from the pull request UI. See "About status checks" for more details about the GitHub UI. When you receive a - rerequested action, you'll need to - create a new check run. Only the GitHub App that someone requests to re-run the - check will receive the rerequested payload. -
  • -
  • - requested_action - Someone requested an action - your app provides to be taken. Only the GitHub App someone - requests to perform an action will receive the - requested_action payload. To learn more about - check runs and requested actions, see "Check runs and requested actions." -
  • -
-
check_runobject - The - check_run. -
check_run[status]string - The current status of the check run. Can be queued, - in_progress, or completed. -
check_run[conclusion]string - The result of the completed check run. Can be one of - success, failure, neutral, - cancelled, timed_out, - action_required or stale. This value - will be null until the check run has - completed. -
check_run[name]stringThe name of the check run.
check_run[check_suite][id]integerThe id of the check suite that this check run is part of.
check_run[check_suite][pull_requests]array - An array of pull requests that match this check suite. A pull - request matches a check suite if they have the same - head_sha and head_branch. When the check - suite's head_branch is in a forked repository it will - be null and the pull_requests array will - be empty. -
requested_actionobjectThe action requested by the user.
requested_action[identifier]string - The integrator reference of the action requested by the user. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "check_run": {
-    "id": 2,
-    "node_id": "MDg6Q2hlY2tSdW4y",
-    "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "external_id": "",
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2",
-    "details_url": "https://octocoders.io",
-    "status": "queued",
-    "conclusion": null,
-    "started_at": "2019-05-15T19:39:04Z",
-    "completed_at": null,
-    "output": {
-      "title": null,
-      "summary": null,
-      "text": null,
-      "annotations_count": 0,
-      "annotations_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2/annotations"
-    },
-    "name": "Octocoders-linter",
-    "check_suite": {
-      "id": 9,
-      "node_id": "MDEwOkNoZWNrU3VpdGU5",
-      "head_branch": "changes",
-      "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "status": "queued",
-      "conclusion": null,
-      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9",
-      "before": "4544205a385319fd846d5df4ed2e3b8173529d78",
-      "after": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "pull_requests": [
-        {
-          "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-          "id": 2,
-          "number": 2,
-          "head": {
-            "ref": "changes",
-            "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-            "repo": {
-              "id": 118,
-              "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-              "name": "Hello-World"
-            }
-          },
-          "base": {
-            "ref": "master",
-            "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-            "repo": {
-              "id": 118,
-              "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-              "name": "Hello-World"
-            }
-          }
-        }
-      ],
-      "app": {
-        "id": 2,
-        "node_id": "MDM6QXBwMg==",
-        "owner": {
-          "login": "Octocoders",
-          "id": 6,
-          "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-          "html_url": "https://octocoders.github.io/Octocoders",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-          "type": "Organization",
-          "site_admin": false
-        },
-        "name": "octocoders-linter",
-        "description": "",
-        "external_url": "https://octocoders.io",
-        "html_url": "https://octocoders.github.io/github-apps/octocoders-linter",
-        "created_at": "2019-05-15T15:41:35Z",
-        "updated_at": "2019-05-15T15:41:35Z",
-        "permissions": {
-          "administration": "write",
-          "checks": "write",
-          "contents": "write",
-          "deployments": "write",
-          "issues": "write",
-          "metadata": "read",
-          "pages": "write",
-          "pull_requests": "write",
-          "repository_hooks": "write",
-          "repository_projects": "write",
-          "vulnerability_alerts": "read",
-          "statuses": "write",
-          "members": "write",
-          "organization_user_blocking": "write",
-          "organization_projects": "write",
-          "team_discussions": "write",
-          "organization_hooks": "write",
-          "repository_pre_receive_hooks": "write",
-          "organization_pre_receive_hooks": "write"
-        },
-        "events": [
-          "check_run",
-          "check_suite",
-          "commit_comment",
-          "create",
-          "delete",
-          "deployment",
-          "deployment_status",
-          "fork",
-          "gollum",
-          "issues",
-          "issue_comment",
-          "label",
-          "member",
-          "membership",
-          "milestone",
-          "organization",
-          "page_build",
-          "project",
-          "project_card",
-          "project_column",
-          "public",
-          "pull_request",
-          "pull_request_review",
-          "pull_request_review_comment",
-          "push",
-          "release",
-          "repository",
-          "status",
-          "team",
-          "team_add",
-          "watch"
-        ]
-      },
-      "created_at": "2019-05-15T19:38:27Z",
-      "updated_at": "2019-05-15T19:38:27Z"
-    },
-    "app": {
-      "id": 2,
-      "node_id": "MDM6QXBwMg==",
-      "owner": {
-        "login": "Octocoders",
-        "id": 6,
-        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-        "html_url": "https://octocoders.github.io/Octocoders",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-        "type": "Organization",
-        "site_admin": false
-      },
-      "name": "octocoders-linter",
-      "description": "",
-      "external_url": "https://octocoders.io",
-      "html_url": "https://octocoders.github.io/github-apps/octocoders-linter",
-      "created_at": "2019-05-15T15:41:35Z",
-      "updated_at": "2019-05-15T15:41:35Z",
-      "permissions": {
-        "administration": "write",
-        "checks": "write",
-        "contents": "write",
-        "deployments": "write",
-        "issues": "write",
-        "metadata": "read",
-        "pages": "write",
-        "pull_requests": "write",
-        "repository_hooks": "write",
-        "repository_projects": "write",
-        "vulnerability_alerts": "read",
-        "statuses": "write",
-        "members": "write",
-        "organization_user_blocking": "write",
-        "organization_projects": "write",
-        "team_discussions": "write",
-        "organization_hooks": "write",
-        "repository_pre_receive_hooks": "write",
-        "organization_pre_receive_hooks": "write"
-      },
-      "events": [
-        "check_run",
-        "check_suite",
-        "commit_comment",
-        "create",
-        "delete",
-        "deployment",
-        "deployment_status",
-        "fork",
-        "gollum",
-        "issues",
-        "issue_comment",
-        "label",
-        "member",
-        "membership",
-        "milestone",
-        "organization",
-        "page_build",
-        "project",
-        "project_card",
-        "project_column",
-        "public",
-        "pull_request",
-        "pull_request_review",
-        "pull_request_review_comment",
-        "push",
-        "release",
-        "repository",
-        "status",
-        "team",
-        "team_add",
-        "watch"
-      ]
-    },
-    "pull_requests": [
-      {
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-        "id": 2,
-        "number": 2,
-        "head": {
-          "ref": "changes",
-          "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-          "repo": {
-            "id": 118,
-            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-            "name": "Hello-World"
-          }
-        },
-        "base": {
-          "ref": "master",
-          "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-          "repo": {
-            "id": 118,
-            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-            "name": "Hello-World"
-          }
-        }
-      }
-    ]
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:27Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - check_suite -

-

- Check suite activity has occurred. The type of activity is specified in - the action property of the payload object. For more - information, see the "check suites" REST API. -

-
-

- Note: The Checks API only looks for pushes in the - repository where the check suite or check run were created. Pushes to - a branch in a forked repository are not detected and return an empty - pull_requests array and a null value for - head_branch. -

-
-

- - Availability -

-
    -
  • - Repository webhooks only receive payloads for the - completed event types in a repository -
  • -
  • - Organization webhooks only receive payloads for the - completed event types in repositories -
  • -
  • - GitHub Apps with the checks:read permission receive - payloads for the created and - completed events that occur in the repository where the - app is installed. The app must have the - checks:write permission to receive the - requested and rerequested event types. The - requested and rerequested event type - payloads are only sent to the GitHub App being requested. GitHub Apps - with the checks:write are automatically subscribed to - this webhook event. -
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed. Can be: -
    -
  • - completed - All check runs in a check suite have - completed. -
  • -
  • - requested - Occurs when new code is pushed to the - app's repository. When you receive the - requested action events, you'll need to - create a new check run. -
  • -
  • - rerequested - Occurs when someone requests to - re-run the entire check suite from the pull request UI. When - you receive the rerequested action events, you'll - need to - create a new check run. See "About status checks" for more details about the GitHub UI. -
  • -
-
check_suiteobject - The - check_suite. -
check_suite[head_branch]stringThe head branch name the changes are on.
check_suite[head_sha]stringThe SHA of the most recent commit for this check suite.
check_suite[status]string - The summary status for all check runs that are part of the check - suite. Can be requested, in_progress, or - completed. -
check_suite[conclusion]string - The summary conclusion for all check runs that are part of the - check suite. Can be one of success, - failure, neutral, - cancelled, timed_out, - action_required or stale. This value - will be null until the check run has - completed. -
check_suite[url]stringURL that points to the check suite API resource.
check_suite[pull_requests]array - An array of pull requests that match this check suite. A pull - request matches a check suite if they have the same - head_sha and head_branch. When the check - suite's head_branch is in a forked repository it will - be null and the pull_requests array will - be empty. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "completed",
-  "check_suite": {
-    "id": 9,
-    "node_id": "MDEwOkNoZWNrU3VpdGU5",
-    "head_branch": "changes",
-    "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "status": "completed",
-    "conclusion": "success",
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9",
-    "before": "4544205a385319fd846d5df4ed2e3b8173529d78",
-    "after": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "pull_requests": [
-      {
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-        "id": 2,
-        "number": 2,
-        "head": {
-          "ref": "changes",
-          "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-          "repo": {
-            "id": 118,
-            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-            "name": "Hello-World"
-          }
-        },
-        "base": {
-          "ref": "master",
-          "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-          "repo": {
-            "id": 118,
-            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-            "name": "Hello-World"
-          }
-        }
-      }
-    ],
-    "app": {
-      "id": 2,
-      "node_id": "MDM6QXBwMg==",
-      "owner": {
-        "login": "Octocoders",
-        "id": 6,
-        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-        "html_url": "https://octocoders.github.io/Octocoders",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-        "type": "Organization",
-        "site_admin": false
-      },
-      "name": "octocoders-linter",
-      "description": "",
-      "external_url": "https://octocoders.io",
-      "html_url": "https://octocoders.github.io/github-apps/octocoders-linter",
-      "created_at": "2019-05-15T15:41:35Z",
-      "updated_at": "2019-05-15T15:41:35Z",
-      "permissions": {
-        "administration": "write",
-        "checks": "write",
-        "contents": "write",
-        "deployments": "write",
-        "issues": "write",
-        "metadata": "read",
-        "pages": "write",
-        "pull_requests": "write",
-        "repository_hooks": "write",
-        "repository_projects": "write",
-        "vulnerability_alerts": "read",
-        "statuses": "write",
-        "members": "write",
-        "organization_user_blocking": "write",
-        "organization_projects": "write",
-        "team_discussions": "write",
-        "organization_hooks": "write",
-        "repository_pre_receive_hooks": "write",
-        "organization_pre_receive_hooks": "write"
-      },
-      "events": [
-        "check_run",
-        "check_suite",
-        "commit_comment",
-        "create",
-        "delete",
-        "deployment",
-        "deployment_status",
-        "fork",
-        "gollum",
-        "issues",
-        "issue_comment",
-        "label",
-        "member",
-        "membership",
-        "milestone",
-        "organization",
-        "page_build",
-        "project",
-        "project_card",
-        "project_column",
-        "public",
-        "pull_request",
-        "pull_request_review",
-        "pull_request_review_comment",
-        "push",
-        "release",
-        "repository",
-        "status",
-        "team",
-        "team_add",
-        "watch"
-      ]
-    },
-    "created_at": "2019-05-15T19:38:27Z",
-    "updated_at": "2019-05-15T19:39:09Z",
-    "latest_check_runs_count": 1,
-    "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs",
-    "head_commit": {
-      "id": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea",
-      "message": "Update README.md",
-      "timestamp": "2019-05-15T19:38:01Z",
-      "author": {
-        "name": "Codertocat",
-        "email": "Codertocat@Octocoders.io"
-      },
-      "committer": {
-        "name": "Codertocat",
-        "email": "Codertocat@Octocoders.io"
-      }
-    }
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:27Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - code_scanning_alert -

-

- Activity related to code scanning alerts in a repository. The type of - activity is specified in the action property of the payload object. For - more information, see "About code scanning." -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • - GitHub Apps with the security_events :read permission -
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. This can be one of - created, reopened_by_user, - closed_by_user, fixed, - appeared_in_branch, or reopened. -
alertobjectThe code scanning alert involved in the event.
refstring - The Git reference of the code scanning alert. When the action is - reopened_by_user or closed_by_user, the - event was triggered by the sender and this value will - be empty. -
commit_oidstring - The commit SHA of the code scanning alert. When the action is - reopened_by_user or closed_by_user, the - event was triggered by the sender and this value will - be empty. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobject - If the action is reopened_by_user or - closed_by_user, the sender object will - be the user that triggered the event. The - sender object is empty for all other actions. -
-

- - Webhook payload example -

-
-
{
-  "action": "reopened",
-  "alert": {
-    "number": 10,
-    "created_at": "2020-07-22T14:06:31Z",
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/code-scanning/alerts/10",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/security/code-scanning/10",
-    "instances": [
-      {
-        "ref": "refs/heads/main",
-        "analysis_key": ".github/workflows/workflow.yml:upload",
-        "environment": "{}",
-        "state": "open"
-      }
-    ],
-    "state": "open",
-    "dismissed_by": null,
-    "dismissed_at": null,
-    "dismissed_reason": null,
-    "rule": {
-      "id": "Style/FrozenStringLiteralComment",
-      "severity": "note",
-      "description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default."
-    },
-    "tool": {
-      "name": "Rubocop",
-      "version": null
-    }
-  },
-  "ref": "refs/heads/main",
-  "commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795",
-  "repository": {
-    "id": 186853002,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 21031067,
-      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T15:19:25Z",
-    "updated_at": "2019-05-15T15:19:27Z",
-    "pushed_at": "2019-05-15T15:20:32Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "main"
-  },
-  "organization": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
-    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
-    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
-    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
-    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
-    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "description": ""
-  }
-}
-
-
-

- - commit_comment -

-

- A commit comment is created. The type of activity is specified in the - action property of the payload object. For more - information, see the "commit comment" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the contents permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstringThe action performed. Can be created.
commentobject - The - commit comment - resource. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "comment": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments/2",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78#commitcomment-2",
-    "id": 2,
-    "node_id": "MDEzOkNvbW1pdENvbW1lbnQy",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "position": null,
-    "line": null,
-    "path": null,
-    "commit_id": "4544205a385319fd846d5df4ed2e3b8173529d78",
-    "created_at": "2019-05-15T19:38:09Z",
-    "updated_at": "2019-05-15T19:38:09Z",
-    "author_association": "OWNER",
-    "body": "This is a really good change! :+1:"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - content_reference -

-

- A new content reference is created. A new content reference - is created when the body or comment of an issue or pull request includes - a URL that matches a configured content reference domain. For more - information, see "Using content attachments" to learn more about content references and attachments. -

-

- Webhook events are triggered based on the specificity of the domain you - register. For example, if you register a subdomain - (https://subdomain.example.com) then only URLs for the - subdomain trigger this event. If you register a domain - (https://example.com) then URLs for domain and all - subdomains trigger this event. See "Create a content attachment" to create a new content attachment. -

-

- - Availability -

-
    -
  • - GitHub Apps with the content_references:write permission -
  • -
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "content_reference": {
-    "id": 17,
-    "node_id": "MDE2OkNvbnRlbnRSZWZlcmVuY2UxNjA5",
-    "reference": "https://errors.ai/"
-  },
-  "repository": {
-    "id": 145551601,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxNDU1NTE2MDE=",
-    "name": "hello-world",
-    "full_name": "octocoders/hello-world",
-    "private": true,
-    "owner": {
-      "login": "Codertocat",
-      "id": 7718702,
-      "node_id": "MDQ6VXNlcjc3MTg3MDI=",
-      "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/Codertocat",
-      "html_url": "https://github.com/Codertocat",
-      "followers_url": "https://api.github.com/users/Codertocat/followers",
-      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-      "repos_url": "https://api.github.com/users/Codertocat/repos",
-      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": true
-    },
-    "html_url": "https://github.com/Codertocat/hello-world",
-    "description": null,
-    "fork": false,
-    "url": "https://api.github.com/repos/Codertocat/hello-world",
-    "forks_url": "https://api.github.com/repos/Codertocat/hello-world/forks",
-    "keys_url": "https://api.github.com/repos/Codertocat/hello-world/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/Codertocat/hello-world/teams",
-    "hooks_url": "https://api.github.com/repos/Codertocat/hello-world/hooks",
-    "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/Codertocat/hello-world/events",
-    "assignees_url": "https://api.github.com/repos/Codertocat/hello-world/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/Codertocat/hello-world/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/Codertocat/hello-world/tags",
-    "blobs_url": "https://api.github.com/repos/Codertocat/hello-world/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/Codertocat/hello-world/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/Codertocat/hello-world/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/Codertocat/hello-world/languages",
-    "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world/stargazers",
-    "contributors_url": "https://api.github.com/repos/Codertocat/hello-world/contributors",
-    "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world/subscribers",
-    "subscription_url": "https://api.github.com/repos/Codertocat/hello-world/subscription",
-    "commits_url": "https://api.github.com/repos/Codertocat/hello-world/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/Codertocat/hello-world/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/Codertocat/hello-world/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/Codertocat/hello-world/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/Codertocat/hello-world/merges",
-    "archive_url": "https://api.github.com/repos/Codertocat/hello-world/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/Codertocat/hello-world/downloads",
-    "issues_url": "https://api.github.com/repos/Codertocat/hello-world/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/Codertocat/hello-world/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/Codertocat/hello-world/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/Codertocat/hello-world/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/Codertocat/hello-world/labels{/name}",
-    "releases_url": "https://api.github.com/repos/Codertocat/hello-world/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/Codertocat/hello-world/deployments",
-    "created_at": "2018-08-21T10:58:58Z",
-    "updated_at": "2018-08-21T10:59:01Z",
-    "pushed_at": "2018-08-21T10:59:00Z",
-    "git_url": "git://github.com/Codertocat/hello-world.git",
-    "ssh_url": "git@github.com:Codertocat/hello-world.git",
-    "clone_url": "https://github.com/Codertocat/hello-world.git",
-    "svn_url": "https://github.com/Codertocat/hello-world",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 7718702,
-    "node_id": "MDQ6VXNlcjc3MTg3MDI=",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": true
-  },
-  "installation": {
-    "id": 371641,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzcxNjQx"
-  }
-}
-
-
-

- - create -

-

- A Git branch or tag is created. For more information, see the "Git data" REST API. -

-
-

- Note: You will not receive a webhook for this event - when you push more than three tags at once. -

-
-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the contents permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
refstring - The - git ref - resource. -
ref_typestring - The type of Git ref object created in the repository. Can be - either branch or tag. -
master_branchstring - The name of the repository's default branch (usually - master). -
descriptionstringThe repository's current description.
pusher_typestring - The pusher type for the event. Can be either user or - a deploy key. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "ref": "simple-tag",
-  "ref_type": "tag",
-  "master_branch": "master",
-  "description": null,
-  "pusher_type": "user",
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:22Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - delete -

-

- A Git branch or tag is deleted. For more information, see the "Git data" REST API. -

-
-

- Note: You will not receive a webhook for this event - when you delete more than three tags at once. -

-
-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the contents permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
refstring - The - git ref - resource. -
ref_typestring - The type of Git ref oject deleted in the repository. Can be - branch or tag. -
pusher_typestring - The pusher type for the event. Can be either user or - a deploy key. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "ref": "simple-tag",
-  "ref_type": "tag",
-  "pusher_type": "user",
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - deploy_key -

-

- A deploy key is added or removed from a repository. The type of activity - is specified in the action property of the payload object. - For more information, see the "Deploy keys" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed. Can be either created or - deleted. -
keyobject - The - deploy key - resource. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "key": {
-    "id": 100,
-    "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQConScVc7ouWWgwcjneNnJ4PScDkkwEjuDL5leLIUU5aIg13dH55/f4aqKUSvfcLUOKJ0a8073tFqMbR9rfvLAhLGeStKxmYApJXpzVkphauu7kfNW8kQNi1fI4kmHyOpQ+dKtoonzjZAT4L9AV3FlVTOfRq3U8wJ2RPwU+4EtOpMKUF+wcoDJ5ONlKBOW6uAeBt/guBiu6r3awDClDGRo4Q2YCmMceiAyoiuXcr2mFNSyzTqU1f20fftFwucV/VqnxlJjZvZ/zhlfB+v+UgQN11pJJ5vChZ7bzyRtIRRsjxbTReyWxqVZ5hEle5sm1oAR97abW9zTWfwIABgClKo+z",
-    "url": "https://api.github.com/repos/Codertocat/Hello-World/keys/100",
-    "title": "hey-its-a-deploy-key",
-    "verified": true,
-    "created_at": "2019-04-02T17:37:07Z",
-    "read_only": true
-  },
-  "repository": {
-    "id": 135493233,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "owner": {
-      "login": "Codertocat",
-      "id": 21031067,
-      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/Codertocat",
-      "html_url": "https://github.com/Codertocat",
-      "followers_url": "https://api.github.com/users/Codertocat/followers",
-      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-      "repos_url": "https://api.github.com/users/Codertocat/repos",
-      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "private": false,
-    "html_url": "https://github.com/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://api.github.com/repos/Codertocat/Hello-World",
-    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2018-05-30T20:18:04Z",
-    "updated_at": "2018-05-30T20:18:50Z",
-    "pushed_at": "2018-05-30T20:18:48Z",
-    "git_url": "git://github.com/Codertocat/Hello-World.git",
-    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
-    "clone_url": "https://github.com/Codertocat/Hello-World.git",
-    "svn_url": "https://github.com/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 1,
-    "license": null,
-    "forks": 0,
-    "open_issues": 1,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 21031067,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - deployment -

-

- A deployment is created. The type of activity is specified in the - action property of the payload object. For more - information, see the "deployment" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the deployments permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstringThe action performed. Can be created.
deploymentobject - The - deployment. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "deployment": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
-    "id": 2,
-    "node_id": "MDEwOkRlcGxveW1lbnQy",
-    "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-    "ref": "master",
-    "task": "deploy",
-    "payload": {},
-    "original_environment": "production",
-    "environment": "production",
-    "description": null,
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "created_at": "2019-05-15T19:38:20Z",
-    "updated_at": "2019-05-15T19:38:20Z",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses",
-    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:19Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - deployment_status -

-

- A deployment is created. The type of activity is specified in the - action property of the payload object. For more - information, see the "deployment statuses" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the deployments permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstringThe action performed. Can be created.
deployment_statusobject - The - deployment status. -
deployment_status["state"]string - The new state. Can be pending, success, - failure, or error. -
deployment_status["target_url"]stringThe optional link added to the status.
deployment_status["description"]string - The optional human-readable description added to the status. -
deploymentobject - The - deployment - that this status is associated with. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "deployment_status": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2",
-    "id": 2,
-    "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy",
-    "state": "success",
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "description": "",
-    "environment": "production",
-    "target_url": "",
-    "created_at": "2019-05-15T19:38:21Z",
-    "updated_at": "2019-05-15T19:38:21Z",
-    "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
-    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
-  },
-  "deployment": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
-    "id": 2,
-    "node_id": "MDEwOkRlcGxveW1lbnQy",
-    "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-    "ref": "master",
-    "task": "deploy",
-    "payload": {},
-    "original_environment": "production",
-    "environment": "production",
-    "description": null,
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "created_at": "2019-05-15T19:38:20Z",
-    "updated_at": "2019-05-15T19:38:21Z",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses",
-    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:19Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - enterprise -

-

- A site or repository administrator enables or disables anonymous Git - read access. See "Allowing admins to enable anonymous Git read access to public - repositories" for more details. This event is not available in the Events API. -

-

- - Availability -

-
    -
  • - GitHub Enterprise webhooks. For more information, "Global webhooks." -
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed. Can be - anonymous_access_enabled or - anonymous_access_disabled. -
-

- - Webhook payload example -

-
-
{
-  "action": "anonymous_access_enabled",
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://avatars.octocoders.github.io/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": true
-  }
-}
-
-
-

- - fork -

-

- A user forks a repository. For more information, see the "forks" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the contents permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
forkeeobject - The created - repository - resource. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "forkee": {
-    "id": 120,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
-    "name": "Hello-World",
-    "full_name": "Octocoders/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Octocoders",
-      "id": 6,
-      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-      "html_url": "https://octocoders.github.io/Octocoders",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-      "type": "Organization",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "description": null,
-    "fork": true,
-    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
-    "created_at": "2019-05-15T19:38:10Z",
-    "updated_at": "2019-05-15T19:38:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": false,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master",
-    "public": true
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-    "html_url": "https://octocoders.github.io/Octocoders",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-    "type": "Organization",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - github_app_authorization -

-

- When someone revokes their authorization of a GitHub App, this event - occurs. A GitHub App receives this webhook by default and cannot - unsubscribe from this event. -

-

- Anyone can revoke their authorization of a GitHub App from their - GitHub account settings page. Revoking the authorization of a GitHub App does not uninstall the - GitHub App. You should program your GitHub App so that when it receives - this webhook, it stops calling the API on behalf of the person who - revoked the token. If your GitHub App continues to use a revoked access - token, it will receive the 401 Bad Credentials error. For - details about user-to-server requests, which require GitHub App - authorization, see "Identifying and authorizing users for GitHub Apps." -

-

- - Availability -

-
    -
  • GitHub Apps
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstringThe action performed. Can be revoked.
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "revoked",
-  "sender": {
-    "login": "octocat",
-    "id": 1,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://github.com/images/error/octocat_happy.gif",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/octocat",
-    "html_url": "https://github.com/octocat",
-    "followers_url": "https://api.github.com/users/octocat/followers",
-    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/octocat/orgs",
-    "repos_url": "https://api.github.com/users/octocat/repos",
-    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/octocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - gollum -

-

- A wiki page is created or updated. For more information, see the "About wikis". -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the contents permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
pagesarrayThe pages that were updated.
pages[][page_name]stringThe name of the page.
pages[][title]stringThe current page title.
pages[][action]string - The action that was performed on the page. Can be - created or edited. -
pages[][sha]stringThe latest commit SHA of the page.
pages[][html_url]stringPoints to the HTML wiki page.
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "pages": [
-    {
-      "page_name": "Home",
-      "title": "Home",
-      "summary": null,
-      "action": "edited",
-      "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385",
-      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home"
-    }
-  ],
-  "repository": {
-    "id": 122,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://avatars.octocoders.github.io/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "private": false,
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2018-10-04T18:29:19Z",
-    "updated_at": "2018-10-04T18:29:21Z",
-    "pushed_at": "2018-10-04T18:29:59Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "rachmari",
-    "id": 3,
-    "node_id": "MDQ6VXNlcjM=",
-    "avatar_url": "https://avatars.octocoders.github.io/u/3?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/rachmari",
-    "html_url": "https://octocoders.github.io/rachmari",
-    "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events",
-    "type": "User",
-    "site_admin": true
-  }
-}
-
-
-

- - installation -

-

- Activity related to a GitHub App installation. The type of activity is - specified in the action property of the payload object. For - more information, see the "GitHub App installation" REST API. -

-

- - Availability -

-
    -
  • GitHub Apps
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: -
    -
  • created - Someone installs a GitHub App.
  • -
  • deleted - Someone uninstalls a GitHub App
  • -
  • - suspend - Someone suspends a GitHub App - installation. -
  • -
  • - unsuspend - Someone unsuspends a GitHub App - installation. -
  • -
  • - new_permissions_accepted - Someone accepts new - permissions for a GitHub App installation. When a GitHub App - owner requests new permissions, the person who installed the - GitHub App must accept the new permissions request. -
  • -
-
repositoriesarray - An array of repository objects that the installation can access. -
installationobjectThe GitHub App installation.
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "deleted",
-  "installation": {
-    "id": 5,
-    "account": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat",
-      "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat",
-      "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers",
-      "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs",
-      "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos",
-      "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "repository_selection": "selected",
-    "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens",
-    "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories",
-    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5",
-    "app_id": 2,
-    "target_id": 4,
-    "target_type": "User",
-    "permissions": {
-      "administration": "write",
-      "checks": "write",
-      "contents": "write",
-      "deployments": "write",
-      "issues": "write",
-      "pages": "write",
-      "pull_requests": "write",
-      "repository_hooks": "write",
-      "repository_projects": "write",
-      "statuses": "write",
-      "repository_pre_receive_hooks": "write",
-      "metadata": "read",
-      "vulnerability_alerts": "read"
-    },
-    "events": [
-      "check_run",
-      "check_suite",
-      "commit_comment",
-      "create",
-      "delete",
-      "deployment",
-      "deployment_status",
-      "fork",
-      "gollum",
-      "issues",
-      "issue_comment",
-      "label",
-      "member",
-      "membership",
-      "milestone",
-      "organization",
-      "page_build",
-      "project",
-      "project_card",
-      "project_column",
-      "public",
-      "pull_request",
-      "pull_request_review",
-      "pull_request_review_comment",
-      "push",
-      "release",
-      "repository",
-      "status",
-      "team",
-      "team_add",
-      "watch"
-    ],
-    "created_at": "2019-05-15T19:37:38.000Z",
-    "updated_at": "2019-05-15T19:37:38.000Z",
-    "single_file_name": null
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat",
-    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat",
-    "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers",
-    "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs",
-    "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos",
-    "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - installation_repositories -

-

- Activity related to repositories being added to a GitHub App - installation. The type of activity is specified in the - action property of the payload object. For more - information, see the "GitHub App installation" REST API. -

-

- - Availability -

-
    -
  • GitHub Apps
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be either added or - removed. -
repository_selectionstring - The choice of repositories the installation is on. Can be either - selected or all. -
repositories_addedarray - An array of repository objects, which were added to the - installation. -
repositories_removedarray - An array of repository objects, which were removed from the - installation. -
installationobjectThe GitHub App installation.
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "added",
-  "installation": {
-    "id": 5,
-    "account": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "repository_selection": "selected",
-    "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens",
-    "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories",
-    "html_url": "https://octocoders.github.io/settings/installations/5",
-    "app_id": 2,
-    "target_id": 4,
-    "target_type": "User",
-    "permissions": {
-      "administration": "write",
-      "repository_pre_receive_hooks": "write",
-      "statuses": "write",
-      "repository_projects": "write",
-      "repository_hooks": "write",
-      "pull_requests": "write",
-      "pages": "write",
-      "issues": "write",
-      "deployments": "write",
-      "contents": "write",
-      "checks": "write",
-      "vulnerability_alerts": "read",
-      "metadata": "read"
-    },
-    "events": [
-      "check_run",
-      "check_suite",
-      "commit_comment",
-      "create",
-      "delete",
-      "deployment",
-      "deployment_status",
-      "fork",
-      "gollum",
-      "issues",
-      "issue_comment",
-      "label",
-      "member",
-      "membership",
-      "milestone",
-      "organization",
-      "page_build",
-      "project",
-      "project_card",
-      "project_column",
-      "public",
-      "pull_request",
-      "pull_request_review",
-      "pull_request_review_comment",
-      "push",
-      "release",
-      "repository",
-      "status",
-      "team",
-      "team_add",
-      "watch"
-    ],
-    "created_at": 1557949058,
-    "updated_at": 1557949058,
-    "single_file_name": null
-  },
-  "repository_selection": "selected",
-  "repositories_added": [
-    {
-      "id": 119,
-      "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=",
-      "name": "Space",
-      "full_name": "Codertocat/Space",
-      "private": false
-    }
-  ],
-  "repositories_removed": [],
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - issue_comment -

-

- Activity related to an issue or pull request comment. The type of - activity is specified in the action property of the payload - object. For more information, see the "issue comments" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the issues permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed on the comment. Can be one of - created, edited, or - deleted. -
changesobject - The changes to the comment if the action was edited. -
changes[body][from]string - The previous version of the body if the action was - edited. -
issueobject - The - issue - the comment belongs to. -
commentobject - The - comment - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "issue": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
-    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1",
-    "id": 10,
-    "node_id": "MDU6SXNzdWUxMA==",
-    "number": 1,
-    "title": "Spelling error in the README file",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "labels": [
-      {
-        "id": 941,
-        "node_id": "MDU6TGFiZWw5NDE=",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug",
-        "name": "bug",
-        "color": "d73a4a",
-        "default": true
-      }
-    ],
-    "state": "open",
-    "locked": false,
-    "assignee": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "assignees": [
-      {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      }
-    ],
-    "milestone": {
-      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
-      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
-      "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
-      "id": 2,
-      "node_id": "MDk6TWlsZXN0b25lMg==",
-      "number": 1,
-      "title": "v1.0",
-      "description": "Add new space flight simulator",
-      "creator": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "open_issues": 1,
-      "closed_issues": 0,
-      "state": "closed",
-      "created_at": "2019-05-15T19:37:52Z",
-      "updated_at": "2019-05-15T19:37:53Z",
-      "due_on": "2019-05-23T00:00:00Z",
-      "closed_at": "2019-05-15T19:37:53Z"
-    },
-    "comments": 0,
-    "created_at": "2019-05-15T19:37:53Z",
-    "updated_at": "2019-05-15T19:37:55Z",
-    "closed_at": null,
-    "author_association": "OWNER",
-    "body": "It looks like you accidently spelled 'commit' with two 't's."
-  },
-  "comment": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2",
-    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
-    "id": 2,
-    "node_id": "MDEyOklzc3VlQ29tbWVudDI=",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "created_at": "2019-05-15T19:37:55Z",
-    "updated_at": "2019-05-15T19:37:55Z",
-    "author_association": "OWNER",
-    "body": "You are totally right! I'll get this fixed right away."
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:37:50Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 1,
-    "license": null,
-    "forks": 0,
-    "open_issues": 1,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - issues -

-

- Activity related to an issue. The type of activity is specified in the - action property of the payload object. For more - information, see the "issues" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the issues permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of opened, - edited, deleted, pinned, - unpinned, closed, reopened, - assigned, unassigned, - labeled, unlabeled, locked, - unlocked, transferred, - milestoned, or demilestoned. -
issueobject - The - issue - itself. -
changesobject - The changes to the issue if the action was edited. -
changes[title][from]string - The previous version of the title if the action was - edited. -
changes[body][from]string - The previous version of the body if the action was - edited. -
assigneeobject - The optional user who was assigned or unassigned from the issue. -
labelobject - The optional label that was added or removed from the issue. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example when someone edits an issue -

-
-
{
-  "action": "edited",
-  "issue": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
-    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1",
-    "id": 10,
-    "node_id": "MDU6SXNzdWUxMA==",
-    "number": 1,
-    "title": "Spelling error in the README file",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "labels": [
-      {
-        "id": 941,
-        "node_id": "MDU6TGFiZWw5NDE=",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug",
-        "name": "bug",
-        "color": "d73a4a",
-        "default": true
-      }
-    ],
-    "state": "open",
-    "locked": false,
-    "assignee": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "assignees": [
-      {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      }
-    ],
-    "milestone": {
-      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
-      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
-      "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
-      "id": 2,
-      "node_id": "MDk6TWlsZXN0b25lMg==",
-      "number": 1,
-      "title": "v1.0",
-      "description": "Add new space flight simulator",
-      "creator": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "open_issues": 1,
-      "closed_issues": 0,
-      "state": "closed",
-      "created_at": "2019-05-15T19:37:52Z",
-      "updated_at": "2019-05-15T19:37:53Z",
-      "due_on": "2019-05-23T00:00:00Z",
-      "closed_at": "2019-05-15T19:37:53Z"
-    },
-    "comments": 0,
-    "created_at": "2019-05-15T19:37:53Z",
-    "updated_at": "2019-05-15T19:37:54Z",
-    "closed_at": null,
-    "author_association": "OWNER",
-    "body": "It looks like you accidently spelled 'commit' with two 't's."
-  },
-  "changes": {},
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:37:50Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 1,
-    "license": null,
-    "forks": 0,
-    "open_issues": 1,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - label -

-

- Activity related to a label. The type of activity is specified in the - action property of the payload object. For more - information, see the "labels" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the metadata permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be created, - edited, or deleted. -
labelobjectThe label that was added.
changesobject - The changes to the label if the action was edited. -
changes[name][from]string - The previous version of the name if the action was - edited. -
changes[color][from]string - The previous version of the color if the action was - edited. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "deleted",
-  "label": {
-    "id": 965,
-    "node_id": "MDU6TGFiZWw5NjU=",
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix",
-    "name": ":bug: Bugfix",
-    "color": "cceeaa",
-    "default": false
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:25Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - member -

-

- Activity related to repository collaborators. The type of activity is - specified in the action property of the payload object. For - more information, see the "collaborators" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the members permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: -
    -
  • - added - A user accepts an invitation to a - repository. -
  • -
  • - removed - A user is removed as a collaborator in - a repository. -
  • -
  • - edited - A user's collaborator permissions have - changed. -
  • -
-
memberobject - The - user - that was added. -
changesobject - The changes to the collaborator permissions if the action was - edited. -
changes[old_permission][from]string - The previous permissions of the collaborator if the action was - edited. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "added",
-  "member": {
-    "login": "Hacktocat",
-    "id": 5,
-    "node_id": "MDQ6VXNlcjU=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/5?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Hacktocat",
-    "html_url": "https://octocoders.github.io/Hacktocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - membership -

-

- Activity related to team membership. The type of activity is specified - in the action property of the payload object. For more - information, see the "team members" REST API. -

-

- - Availability -

-
    -
  • Organization webhooks
  • -
  • GitHub Apps with the members permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be added or - removed. -
scopestring - The scope of the membership. Currently, can only be - team. -
memberobject - The - user - that was added or removed. -
teamobject - The - team - for the membership. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "removed",
-  "scope": "team",
-  "member": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "team": {
-    "name": "github",
-    "id": 3,
-    "node_id": "MDQ6VGVhbTM=",
-    "slug": "github",
-    "description": "Open-source team",
-    "privacy": "secret",
-    "url": "https://octocoders.github.io/api/v3/teams/3",
-    "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github",
-    "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}",
-    "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos",
-    "permission": "pull"
-  },
-  "organization": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
-    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
-    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
-    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
-    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
-    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "description": ""
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  }
-}
-
-
-

- - meta -

-

- The webhook this event is configured on was deleted. This event will - only listen for changes to the particular hook the event is installed - on. Therefore, it must be selected for each hook that you'd like to - receive meta events for. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstringThe action performed. Can be deleted.
hook_idintegerThe id of the modified webhook.
hookobject - The modified webhook. This will contain different keys based on - the type of webhook it is: repository, organization, business, - app, or GitHub Marketplace. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "deleted",
-  "hook_id": 101047067,
-  "hook": {
-    "type": "Repository",
-    "id": 101047067,
-    "name": "web",
-    "active": true,
-    "events": [
-      "meta"
-    ],
-    "config": {
-      "content_type": "json",
-      "insecure_ssl": "0",
-      "url": "http://example.com/hook"
-    },
-    "updated_at": "2019-04-10T03:57:12Z",
-    "created_at": "2019-04-10T03:57:12Z"
-  },
-  "repository": {
-    "id": 135493233,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "owner": {
-      "login": "Codertocat",
-      "id": 21031067,
-      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/Codertocat",
-      "html_url": "https://github.com/Codertocat",
-      "followers_url": "https://api.github.com/users/Codertocat/followers",
-      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-      "repos_url": "https://api.github.com/users/Codertocat/repos",
-      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "private": false,
-    "html_url": "https://github.com/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://api.github.com/repos/Codertocat/Hello-World",
-    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2018-05-30T20:18:04Z",
-    "updated_at": "2018-05-30T20:18:50Z",
-    "pushed_at": "2018-05-30T20:18:48Z",
-    "git_url": "git://github.com/Codertocat/Hello-World.git",
-    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
-    "clone_url": "https://github.com/Codertocat/Hello-World.git",
-    "svn_url": "https://github.com/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 1,
-    "license": null,
-    "forks": 0,
-    "open_issues": 1,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 21031067,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - milestone -

-

- Activity related to milestones. The type of activity is specified in the - action property of the payload object. For more - information, see the "milestones" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the pull_requests permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of created, - closed, opened, edited, or - deleted. -
milestoneobjectThe milestone itself.
changesobject - The changes to the milestone if the action was - edited. -
changes[description][from]string - The previous version of the description if the action was - edited. -
changes[due_on][from]string - The previous version of the due date if the action was - edited. -
changes[title][from]string - The previous version of the title if the action was - edited. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "milestone": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
-    "id": 2,
-    "node_id": "MDk6TWlsZXN0b25lMg==",
-    "number": 1,
-    "title": "v1.0",
-    "description": "Add new space flight simulator",
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "open_issues": 0,
-    "closed_issues": 0,
-    "state": "open",
-    "created_at": "2019-05-15T19:37:52Z",
-    "updated_at": "2019-05-15T19:37:52Z",
-    "due_on": "2019-05-23T00:00:00Z",
-    "closed_at": null
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:37:50Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - organization -

-

- Activity related to an organization and its members. The type of - activity is specified in the action property of the payload - object. For more information, see the "organizations" REST API. -

-

- - Availability -

-
    -
  • - GitHub Enterprise webhooks only receive created and - deleted events. For more information, "Global webhooks. -
  • -
  • - Organization webhooks only receive the deleted, - added, removed, renamed, and - invited events -
  • -
  • GitHub Apps with the members permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: - created, deleted, renamed, - member_added, member_removed, or - member_invited. -
invitationobject - The invitation for the user or email if the action is - member_invited. -
membershipobject - The membership between the user and the organization. Not present - when the action is member_invited. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "member_added",
-  "membership": {
-    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat",
-    "state": "active",
-    "role": "member",
-    "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
-    "user": {
-      "login": "Hacktocat",
-      "id": 5,
-      "node_id": "MDQ6VXNlcjU=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/5?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Hacktocat",
-      "html_url": "https://octocoders.github.io/Hacktocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events",
-      "type": "User",
-      "site_admin": false
-    }
-  },
-  "organization": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
-    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
-    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
-    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
-    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
-    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "description": ""
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - page_build -

-

- Represents an attempted build of a GitHub Pages site, whether successful - or not. A push to a GitHub Pages enabled branch (gh-pages - for project pages, the default branch for user and organization pages) - triggers this event. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the pages permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
idintegerThe unique identifier of the page build.
buildobject - The - List GitHub Pages builds - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "id": 7,
-  "build": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7",
-    "status": "built",
-    "error": {
-      "message": null
-    },
-    "pusher": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "commit": "3648135c2986115284ae152d90459473b15fd19c",
-    "duration": 6917,
-    "created_at": "2019-05-15T19:38:15Z",
-    "updated_at": "2019-05-15T19:38:22Z"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:19Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - ping -

-

- When you create a new webhook, we'll send you a simple - ping event to let you know you've set up the webhook - correctly. This event isn't stored so it isn't retrievable via the - Events API - endpoint. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • - GitHub Apps receive a ping event with an app_id used to - register the app -
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
zenstringRandom string of GitHub zen.
hook_idintegerThe ID of the webhook that triggered the ping.
hookobject - The - webhook configuration. -
hook[app_id]integer - When you register a new GitHub App, GitHub Enterprise Server sends - a ping event to the webhook URL you specified - during registration. The event contains the app_id, - which is required for - authenticating - an app. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "zen": "Non-blocking is better than blocking.",
-  "hook_id": 30,
-  "hook": {
-    "type": "Repository",
-    "id": 30,
-    "name": "web",
-    "active": true,
-    "events": [
-      "*"
-    ],
-    "config": {
-      "content_type": "json",
-      "url": "https://smee.io/YEbF2t8kjvPAn7Ck",
-      "insecure_ssl": "0"
-    },
-    "updated_at": "2019-05-15T19:38:17Z",
-    "created_at": "2019-05-15T19:38:17Z",
-    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30",
-    "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test",
-    "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings",
-    "last_response": {
-      "code": null,
-      "status": "unused",
-      "message": null
-    }
-  },
-  "repository": {
-    "id": 120,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
-    "name": "Hello-World",
-    "full_name": "Octocoders/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Octocoders",
-      "id": 6,
-      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-      "html_url": "https://octocoders.github.io/Octocoders",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-      "type": "Organization",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "description": null,
-    "fork": true,
-    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
-    "created_at": "2019-05-15T19:38:10Z",
-    "updated_at": "2019-05-15T19:38:14Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": false,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - project_card -

-

- Activity related to project cards. The type of activity is specified in - the action property of the payload object. For more - information, see the "project cards" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • - GitHub Apps with the repository_projects or - organization_projects permission -
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed on the project card. Can be - created, edited, moved, - converted, or deleted. -
changesobject - The changes to the project card if the action was - edited or converted. -
changes[note][from]string - The previous version of the note if the action was - edited or converted. -
after_idinteger - The id of the card that this card now follows if the action was - "moved". Will be null if it is the first card in a - column. -
project_cardobject - The - project card - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "project_card": {
-    "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8",
-    "project_url": "https://octocoders.github.io/api/v3/projects/6",
-    "column_url": "https://octocoders.github.io/api/v3/projects/columns/8",
-    "column_id": 8,
-    "id": 8,
-    "node_id": "MDExOlByb2plY3RDYXJkOA==",
-    "note": "Work that can be completed in one hour or less.",
-    "archived": false,
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "created_at": "2019-05-15T19:39:01Z",
-    "updated_at": "2019-05-15T19:39:01Z"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:27Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - project_column -

-

- Activity related to columns in a project board. The type of activity is - specified in the action property of the payload object. For - more information, see the "project columns" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • - GitHub Apps with the repository_projects or - organization_projects permission -
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed on the project column. Can be one of - created, edited, moved or - deleted. -
changesobject - The changes to the project column if the action was - edited. -
changes[name][from]string - The previous version of the name if the action was - edited. -
after_idinteger - The id of the column that this column now follows if the action - was "moved". Will be null if it is the first column - in a project. -
project_columnobject - The - project column - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "project_column": {
-    "url": "https://octocoders.github.io/api/v3/projects/columns/8",
-    "project_url": "https://octocoders.github.io/api/v3/projects/6",
-    "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards",
-    "id": 8,
-    "node_id": "MDEzOlByb2plY3RDb2x1bW44",
-    "name": "Small bugfixes",
-    "created_at": "2019-05-15T19:39:01Z",
-    "updated_at": "2019-05-15T19:39:01Z"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:27Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - project -

-

- Activity related to project boards. The type of activity is specified in - the action property of the payload object. For more - information, see the "projects" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • - GitHub Apps with the repository_projects or - organization_projects permission -
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed on the project. Can be one of - created, edited, closed, - reopened, or deleted. -
changesobject - The changes to the project if the action was edited. -
changes[name][from]string - The previous version of the name if the action was - edited. -
changes[body][from]string - The previous version of the body if the action was - edited. -
projectobject - The - project - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "project": {
-    "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "url": "https://octocoders.github.io/api/v3/projects/6",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1",
-    "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns",
-    "id": 6,
-    "node_id": "MDc6UHJvamVjdDY=",
-    "name": "Space 2.0",
-    "body": "Project tasks for a trip to Space",
-    "number": 1,
-    "state": "open",
-    "creator": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "created_at": "2019-05-15T19:38:27Z",
-    "updated_at": "2019-05-15T19:38:27Z"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:27Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - public -

-

- When a private repository is made public. Without a doubt: the best - GitHub Enterprise Server event. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the metadata permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:25Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - pull_request -

-

- Activity related to pull requests. The type of activity is specified in - the action property of the payload object. For more - information, see the "pull requests" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the pull_requests permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: -
    -
  • assigned
  • -
  • - closed: If the action is closed and - the merged key is false, the pull - request was closed with unmerged commits. If the action is - closed and the merged key is - true, the pull request was merged. -
  • -
  • converted_to_draft
  • -
  • edited
  • -
  • labeled
  • -
  • locked
  • -
  • opened
  • -
  • ready_for_review
  • -
  • reopened
  • -
  • review_request_removed
  • -
  • review_requested
  • -
  • - synchronize: Triggered when a pull request's head - branch is updated. For example, when the head branch is - updated from the base branch, when new commits are pushed to - the head branch, or when the base branch is changed. -
  • -
  • unassigned
  • -
  • unlabeled
  • -
  • unlocked
  • -
-
numberintegerThe pull request number.
changesobject - The changes to the comment if the action was edited. -
changes[title][from]string - The previous version of the title if the action was - edited. -
changes[body][from]string - The previous version of the body if the action was - edited. -
pull_requestobject - The - pull request - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-

- Deliveries for review_requested and - review_request_removed events will have an additional field - called requested_reviewer. -

-
-
{
-  "action": "opened",
-  "number": 2,
-  "pull_request": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-    "id": 2,
-    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
-    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
-    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
-    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
-    "number": 2,
-    "state": "open",
-    "locked": false,
-    "title": "Update the README with new information.",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "body": "This is a pretty simple change that we need to pull into master.",
-    "created_at": "2019-05-15T19:38:02Z",
-    "updated_at": "2019-05-15T19:38:02Z",
-    "closed_at": null,
-    "merged_at": null,
-    "merge_commit_sha": null,
-    "assignee": null,
-    "assignees": [],
-    "requested_reviewers": [],
-    "requested_teams": [],
-    "labels": [],
-    "milestone": null,
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
-    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
-    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
-    "head": {
-      "label": "Codertocat:changes",
-      "ref": "changes",
-      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "base": {
-      "label": "Codertocat:master",
-      "ref": "master",
-      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "_links": {
-      "self": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
-      },
-      "html": {
-        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
-      },
-      "issue": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
-      },
-      "comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
-      },
-      "review_comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
-      },
-      "review_comment": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
-      },
-      "commits": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
-      },
-      "statuses": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
-      }
-    },
-    "author_association": "OWNER",
-    "draft": false,
-    "merged": false,
-    "mergeable": null,
-    "rebaseable": null,
-    "mergeable_state": "unknown",
-    "merged_by": null,
-    "comments": 0,
-    "review_comments": 0,
-    "maintainer_can_modify": false,
-    "commits": 1,
-    "additions": 1,
-    "deletions": 1,
-    "changed_files": 1
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - pull_request_review -

-

- Activity related to pull request reviews. The type of activity is - specified in the action property of the payload object. For - more information, see the "pull request reviews" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the pull_requests permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: -
    -
  • - submitted - A pull request review is submitted - into a non-pending state. -
  • -
  • - edited - The body of a review has been edited. -
  • -
  • dismissed - A review has been dismissed.
  • -
-
pull_requestobject - The - pull request - the review pertains to. -
reviewobjectThe review that was affected.
changes[body][from]string - The previous version of the body if the action was - edited. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "submitted",
-  "review": {
-    "id": 2,
-    "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "body": null,
-    "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "submitted_at": "2019-05-15T19:38:08Z",
-    "state": "commented",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2",
-    "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-    "author_association": "OWNER",
-    "_links": {
-      "html": {
-        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2"
-      },
-      "pull_request": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
-      }
-    }
-  },
-  "pull_request": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-    "id": 2,
-    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
-    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
-    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
-    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
-    "number": 2,
-    "state": "open",
-    "locked": false,
-    "title": "Update the README with new information.",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "body": "This is a pretty simple change that we need to pull into master.",
-    "created_at": "2019-05-15T19:38:02Z",
-    "updated_at": "2019-05-15T19:38:08Z",
-    "closed_at": null,
-    "merged_at": null,
-    "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f",
-    "assignee": null,
-    "assignees": [],
-    "requested_reviewers": [],
-    "requested_teams": [],
-    "labels": [],
-    "milestone": null,
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
-    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
-    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
-    "head": {
-      "label": "Codertocat:changes",
-      "ref": "changes",
-      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "base": {
-      "label": "Codertocat:master",
-      "ref": "master",
-      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "_links": {
-      "self": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
-      },
-      "html": {
-        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
-      },
-      "issue": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
-      },
-      "comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
-      },
-      "review_comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
-      },
-      "review_comment": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
-      },
-      "commits": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
-      },
-      "statuses": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
-      }
-    },
-    "author_association": "OWNER"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - pull_request_review_comment -

-

- Activity related to pull request review comments in the pull request's - unified diff. The type of activity is specified in the - action property of the payload object. For more - information, see the "pull request review comments" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the pull_requests permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed on the comment. Can be one of - created, edited, or - deleted. -
changesobject - The changes to the comment if the action was edited. -
changes[body][from]string - The previous version of the body if the action was - edited. -
pull_requestobject - The - pull request - the comment belongs to. -
commentobject - The - comment - itself. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "comment": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2",
-    "pull_request_review_id": 2,
-    "id": 2,
-    "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=",
-    "diff_hunk": "@@ -1 +1 @@\n-# Hello-World",
-    "path": "README.md",
-    "position": 1,
-    "original_position": 1,
-    "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "body": "Maybe you should use more emoji on this line.",
-    "created_at": "2019-05-15T19:38:07Z",
-    "updated_at": "2019-05-15T19:38:08Z",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2",
-    "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-    "author_association": "OWNER",
-    "_links": {
-      "self": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2"
-      },
-      "html": {
-        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2"
-      },
-      "pull_request": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
-      }
-    }
-  },
-  "pull_request": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
-    "id": 2,
-    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
-    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
-    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
-    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
-    "number": 2,
-    "state": "open",
-    "locked": false,
-    "title": "Update the README with new information.",
-    "user": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "body": "This is a pretty simple change that we need to pull into master.",
-    "created_at": "2019-05-15T19:38:02Z",
-    "updated_at": "2019-05-15T19:38:08Z",
-    "closed_at": null,
-    "merged_at": null,
-    "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f",
-    "assignee": null,
-    "assignees": [],
-    "requested_reviewers": [],
-    "requested_teams": [],
-    "labels": [],
-    "milestone": null,
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
-    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
-    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
-    "head": {
-      "label": "Codertocat:changes",
-      "ref": "changes",
-      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "base": {
-      "label": "Codertocat:master",
-      "ref": "master",
-      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-      "user": {
-        "login": "Codertocat",
-        "id": 4,
-        "node_id": "MDQ6VXNlcjQ=",
-        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-        "gravatar_id": "",
-        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-        "html_url": "https://octocoders.github.io/Codertocat",
-        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-        "type": "User",
-        "site_admin": false
-      },
-      "repo": {
-        "id": 118,
-        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-        "name": "Hello-World",
-        "full_name": "Codertocat/Hello-World",
-        "private": false,
-        "owner": {
-          "login": "Codertocat",
-          "id": 4,
-          "node_id": "MDQ6VXNlcjQ=",
-          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-          "gravatar_id": "",
-          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-          "html_url": "https://octocoders.github.io/Codertocat",
-          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-          "type": "User",
-          "site_admin": false
-        },
-        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "description": null,
-        "fork": false,
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-        "created_at": "2019-05-15T19:37:07Z",
-        "updated_at": "2019-05-15T19:37:10Z",
-        "pushed_at": "2019-05-15T19:38:03Z",
-        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-        "homepage": null,
-        "size": 0,
-        "stargazers_count": 0,
-        "watchers_count": 0,
-        "language": null,
-        "has_issues": true,
-        "has_projects": true,
-        "has_downloads": true,
-        "has_wiki": true,
-        "has_pages": true,
-        "forks_count": 0,
-        "mirror_url": null,
-        "archived": false,
-        "disabled": false,
-        "open_issues_count": 2,
-        "license": null,
-        "forks": 0,
-        "open_issues": 2,
-        "watchers": 0,
-        "default_branch": "master"
-      }
-    },
-    "_links": {
-      "self": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
-      },
-      "html": {
-        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
-      },
-      "issue": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
-      },
-      "comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
-      },
-      "review_comments": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
-      },
-      "review_comment": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
-      },
-      "commits": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
-      },
-      "statuses": {
-        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
-      }
-    },
-    "author_association": "OWNER"
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:37:10Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - push -

-

One or more commits are pushed to a repository branch or tag.

-
-

- Note: You will not receive a webhook for this event - when you push more than three tags at once. -

-
-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the contents permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
refstring - The full - git ref - that was pushed. Example: refs/heads/main or - refs/tags/v3.14.1. -
beforestring - The SHA of the most recent commit on ref before the - push. -
afterstring - The SHA of the most recent commit on ref after the - push. -
createdbooleanWhether this push created the ref.
deletedbooleanWhether this push deleted the ref.
forcedbooleanWhether this push was a force push of the ref.
head_commitobject - For pushes where after is or points to a commit - object, an expanded representation of that commit. For pushes - where after refers to an annotated tag object, an - expanded representation of the commit pointed to by the annotated - tag. -
comparestring - URL that shows the changes in this ref update, from - the before commit to the after commit. - For a newly created ref that is directly based on the - default branch, this is the comparison between the head of the - default branch and the after commit. Otherwise, this - shows all commits until the after commit. -
commitsarray - An array of commit objects describing the pushed commits. (Pushed - commits are all commits that are included in the - compare between the before commit and - the after commit.) The array includes a maximum of 20 - commits. If necessary, you can use the - Commits API - to fetch additional commits. This limit is applied to timeline - events only and isn't applied to webhook deliveries. -
commits[][id]stringThe SHA of the commit.
commits[][timestamp]stringThe ISO 8601 timestamp of the commit.
commits[][message]stringThe commit message.
commits[][author]objectThe git author of the commit.
commits[][author][name]stringThe git author's name.
commits[][author][email]stringThe git author's email address.
commits[][url]urlURL that points to the commit API resource.
commits[][distinct]boolean - Whether this commit is distinct from any that have been pushed - before. -
commits[][added]arrayAn array of files added in the commit.
commits[][modified]arrayAn array of files modified by the commit.
commits[][removed]arrayAn array of files removed in the commit.
pusherobjectThe user who pushed the commits.
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "ref": "refs/tags/simple-tag",
-  "before": "4544205a385319fd846d5df4ed2e3b8173529d78",
-  "after": "0000000000000000000000000000000000000000",
-  "created": false,
-  "deleted": true,
-  "forced": false,
-  "base_ref": null,
-  "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000",
-  "commits": [],
-  "head_commit": null,
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "name": "Codertocat",
-      "email": "Codertocat@Octocoders.io",
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": 1557949027,
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": 1557949103,
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master",
-    "stargazers": 0,
-    "master_branch": "master"
-  },
-  "pusher": {
-    "name": "Codertocat",
-    "email": "Codertocat@Octocoders.io"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - release -

-

- Activity related to a release. The type of activity is specified in the - action property of the payload object. For more - information, see the "releases" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the contents permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of: -
    -
  • - published: a release, pre-release, or draft of a - release is published -
  • -
  • - unpublished: a release or pre-release is deleted -
  • -
  • - created: a draft is saved, or a release or - pre-release is published without previously being saved as a - draft -
  • -
  • - edited: a release, pre-release, or draft release - is edited -
  • -
  • - deleted: a release, pre-release, or draft release - is deleted -
  • -
  • prereleased: a pre-release is created
  • -
  • - released: a release or draft of a release is - published, or a pre-release is changed to a release -
  • -
-
changes[body][from]string - The previous version of the body if the action was - edited. -
changes[name][from]string - The previous version of the name if the action was - edited. -
releaseobject - The - release - object. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "published",
-  "release": {
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2",
-    "assets_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2/assets",
-    "upload_url": "https://octocoders.github.io/api/uploads/repos/Codertocat/Hello-World/releases/2/assets{?name,label}",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/releases/tag/0.0.1",
-    "id": 2,
-    "node_id": "MDc6UmVsZWFzZTI=",
-    "tag_name": "0.0.1",
-    "target_commitish": "master",
-    "name": null,
-    "draft": false,
-    "author": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "prerelease": false,
-    "created_at": "2019-05-15T19:37:08Z",
-    "published_at": "2019-05-15T19:38:20Z",
-    "assets": [],
-    "tarball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tarball/0.0.1",
-    "zipball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/zipball/0.0.1",
-    "body": null
-  },
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:19Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - repository_dispatch -

-

- This event occurs when a GitHub App sends a POST request to - the "Create a repository dispatch event" endpoint. -

-

- - Availability -

-
    -
  • - GitHub Apps must have the contents permission to receive - this webhook. -
  • -
-

- - Webhook payload example -

-
-
{
-  "action": "on-demand-test",
-  "branch": "master",
-  "client_payload": {
-    "unit": false,
-    "integration": true
-  },
-  "repository": {
-    "id": 17273051,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==",
-    "name": "octo-repo",
-    "full_name": "octo-org/octo-repo",
-    "private": true,
-    "owner": {
-      "login": "octo-org",
-      "id": 6811672,
-      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
-      "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/octo-org",
-      "html_url": "https://github.com/octo-org",
-      "followers_url": "https://api.github.com/users/octo-org/followers",
-      "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
-      "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
-      "organizations_url": "https://api.github.com/users/octo-org/orgs",
-      "repos_url": "https://api.github.com/users/octo-org/repos",
-      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/octo-org/received_events",
-      "type": "Organization",
-      "site_admin": false
-    },
-    "html_url": "https://github.com/octo-org/octo-repo",
-    "description": "My first repo on GitHub!",
-    "fork": false,
-    "url": "https://api.github.com/repos/octo-org/octo-repo",
-    "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
-    "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
-    "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
-    "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
-    "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
-    "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
-    "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
-    "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
-    "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
-    "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
-    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
-    "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
-    "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
-    "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
-    "created_at": "2014-02-28T02:42:51Z",
-    "updated_at": "2018-10-10T15:58:51Z",
-    "pushed_at": "2018-10-10T15:58:47Z",
-    "git_url": "git://github.com/octo-org/octo-repo.git",
-    "ssh_url": "git@github.com:octo-org/octo-repo.git",
-    "clone_url": "https://github.com/octo-org/octo-repo.git",
-    "svn_url": "https://github.com/octo-org/octo-repo",
-    "homepage": "",
-    "size": 59,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "JavaScript",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 23,
-    "license": null,
-    "forks": 1,
-    "open_issues": 23,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "organization": {
-    "login": "octo-org",
-    "id": 6811672,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
-    "url": "https://api.github.com/orgs/octo-org",
-    "repos_url": "https://api.github.com/orgs/octo-org/repos",
-    "events_url": "https://api.github.com/orgs/octo-org/events",
-    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
-    "issues_url": "https://api.github.com/orgs/octo-org/issues",
-    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
-    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
-    "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
-    "description": "Working better together!"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 21031067,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 375706,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzc1NzA2"
-  }
-}
-
-
-

- - repository -

-

- Activity related to a repository. The type of activity is specified in - the action property of the payload object. For more - information, see the "repositories" REST API. -

-

- - Availability -

-
    -
  • - Repository webhooks receive all event types except - deleted -
  • -
  • Organization webhooks
  • -
  • - GitHub Apps with the metadata permission receive all - event types except deleted -
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. This can be one of: -
    -
  • created - A repository is created.
  • -
  • deleted - A repository is deleted.
  • -
  • archived - A repository is archived.
  • -
  • unarchived - A repository is unarchived.
  • -
  • - anonymous_access_enabled - A repository is - enabled for anonymous Git access, anonymous_access_disabled - A repository is - disabled for anonymous Git access -
  • -
  • - edited - A repository's information is edited. -
  • -
  • renamed - A repository is renamed.
  • -
  • transferred - A repository is transferred.
  • -
  • publicized - A repository is made public.
  • -
  • privatized - A repository is made private.
  • -
-
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "publicized",
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:25Z",
-    "pushed_at": "2019-05-15T19:38:23Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - security_advisory -

-

- Activity related to a security advisory. A security advisory provides - information about security-related vulnerabilities in software on - GitHub. The security advisory dataset also powers the GitHub security - alerts, see "About alerts for vulnerable dependencies." -

-

- - Availability -

-
    -
  • GitHub Apps with the security_events permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. The action can be one of - published, updated, - performed, or withdrawn for all new - events. -
security_advisoryobject - The details of the security advisory, including summary, - description, and severity. -
-

- - Webhook payload example -

-
-
{
-  "action": "published",
-  "security_advisory": {
-    "ghsa_id": "GHSA-rf4j-j272-fj86",
-    "summary": "Moderate severity vulnerability that affects django",
-    "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.",
-    "severity": "moderate",
-    "identifiers": [
-      {
-        "value": "GHSA-rf4j-j272-fj86",
-        "type": "GHSA"
-      },
-      {
-        "value": "CVE-2018-6188",
-        "type": "CVE"
-      }
-    ],
-    "references": [
-      {
-        "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188"
-      }
-    ],
-    "published_at": "2018-10-03T21:13:54Z",
-    "updated_at": "2018-10-03T21:13:54Z",
-    "withdrawn_at": null,
-    "vulnerabilities": [
-      {
-        "package": {
-          "ecosystem": "pip",
-          "name": "django"
-        },
-        "severity": "moderate",
-        "vulnerable_version_range": ">= 2.0.0, < 2.0.2",
-        "first_patched_version": {
-          "identifier": "2.0.2"
-        }
-      },
-      {
-        "package": {
-          "ecosystem": "pip",
-          "name": "django"
-        },
-        "severity": "moderate",
-        "vulnerable_version_range": ">= 1.11.8, < 1.11.10",
-        "first_patched_version": {
-          "identifier": "1.11.10"
-        }
-      }
-    ]
-  }
-}
-
-
-

- - star -

-

- Activity related to a repository being starred. The type of activity is - specified in the action property of the payload object. For - more information, see the "starring" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action performed. Can be created or - deleted. -
starred_atstring - The time the star was created. This is a timestamp in - ISO 8601 - format: YYYY-MM-DDTHH:MM:SSZ. Will be - null for the deleted action. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "created",
-  "starred_at": "2019-05-15T15:20:40Z",
-  "repository": {
-    "id": 186853002,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 21031067,
-      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/Codertocat",
-      "html_url": "https://github.com/Codertocat",
-      "followers_url": "https://api.github.com/users/Codertocat/followers",
-      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-      "repos_url": "https://api.github.com/users/Codertocat/repos",
-      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://github.com/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://api.github.com/repos/Codertocat/Hello-World",
-    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T15:19:25Z",
-    "updated_at": "2019-05-15T15:20:40Z",
-    "pushed_at": "2019-05-15T15:20:33Z",
-    "git_url": "git://github.com/Codertocat/Hello-World.git",
-    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
-    "clone_url": "https://github.com/Codertocat/Hello-World.git",
-    "svn_url": "https://github.com/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 1,
-    "watchers_count": 1,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 1,
-    "default_branch": "master"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 21031067,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - status -

-

- When the status of a Git commit changes. The type of activity is - specified in the action property of the payload object. For - more information, see the "statuses" REST API. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the statuses permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
idintegerThe unique identifier of the status.
shastringThe Commit SHA.
statestring - The new state. Can be pending, success, - failure, or error. -
descriptionstring - The optional human-readable description added to the status. -
target_urlstringThe optional link added to the status.
branchesarray - An array of branch objects containing the status' SHA. Each branch - contains the given SHA, but the SHA may or may not be the head of - the branch. The array includes a maximum of 10 branches. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "id": 2,
-  "sha": "4544205a385319fd846d5df4ed2e3b8173529d78",
-  "name": "Codertocat/Hello-World",
-  "target_url": null,
-  "context": "default",
-  "description": null,
-  "state": "success",
-  "commit": {
-    "sha": "4544205a385319fd846d5df4ed2e3b8173529d78",
-    "node_id": "MDY6Q29tbWl0MTE4OjQ1NDQyMDVhMzg1MzE5ZmQ4NDZkNWRmNGVkMmUzYjgxNzM1MjlkNzg=",
-    "commit": {
-      "author": {
-        "name": "Codertocat",
-        "email": "Codertocat@Octocoders.io",
-        "date": "2019-05-15T19:37:08Z"
-      },
-      "committer": {
-        "name": "GitHub Enterprise",
-        "email": "noreply@octocoders.github.io",
-        "date": "2019-05-15T19:37:08Z"
-      },
-      "message": "Initial commit",
-      "tree": {
-        "sha": "1b13fc88733f95cc8cb16170f6990ef30d78acf4",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees/1b13fc88733f95cc8cb16170f6990ef30d78acf4"
-      },
-      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits/4544205a385319fd846d5df4ed2e3b8173529d78",
-      "comment_count": 1,
-      "verification": {
-        "verified": false,
-        "reason": "unsigned",
-        "signature": null,
-        "payload": null
-      }
-    },
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78",
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78/comments",
-    "author": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "committer": null,
-    "parents": []
-  },
-  "branches": [
-    {
-      "name": "master",
-      "commit": {
-        "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/78a96099c3f442d7f6e8d1a7d07090091993e65a"
-      },
-      "protected": false
-    },
-    {
-      "name": "changes",
-      "commit": {
-        "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/14977a7b5485400124827221a04bfb474bcd72d1"
-      },
-      "protected": false
-    },
-    {
-      "name": "gh-pages",
-      "commit": {
-        "sha": "3648135c2986115284ae152d90459473b15fd19c",
-        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/3648135c2986115284ae152d90459473b15fd19c"
-      },
-      "protected": false
-    }
-  ],
-  "created_at": "2019-05-15T19:38:21+00:00",
-  "updated_at": "2019-05-15T19:38:21+00:00",
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:15Z",
-    "pushed_at": "2019-05-15T19:38:19Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 1,
-    "open_issues": 2,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - team -

-

- Activity related to an organization's team. The type of activity is - specified in the action property of the payload object. For - more information, see the "teams" REST API. -

-

- - Availability -

-
    -
  • Organization webhooks
  • -
  • GitHub Apps with the members permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Can be one of created, - deleted, edited, - added_to_repository, or - removed_from_repository. -
teamobjectThe team itself.
changesobject - The changes to the team if the action was edited. -
changes[description][from]string - The previous version of the description if the action was - edited. -
changes[name][from]string - The previous version of the name if the action was - edited. -
changes[privacy][from]string - The previous version of the team's privacy if the action was - edited. -
changes[repository][permissions][from][admin]boolean - The previous version of the team member's - admin permission on a repository, if the action was - edited. -
changes[repository][permissions][from][pull]boolean - The previous version of the team member's - pull permission on a repository, if the action was - edited. -
changes[repository][permissions][from][push]boolean - The previous version of the team member's - push permission on a repository, if the action was - edited. -
repositoryobject - The repository that was added or removed from to the team's - purview if the action was added_to_repository, - removed_from_repository, or edited. For - edited actions, repository also contains - the team's new permission levels for the repository. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "added_to_repository",
-  "team": {
-    "name": "github",
-    "id": 3,
-    "node_id": "MDQ6VGVhbTM=",
-    "slug": "github",
-    "description": "Open-source team",
-    "privacy": "secret",
-    "url": "https://octocoders.github.io/api/v3/teams/3",
-    "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github",
-    "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}",
-    "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos",
-    "permission": "pull"
-  },
-  "repository": {
-    "id": 120,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
-    "name": "Hello-World",
-    "full_name": "Octocoders/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Octocoders",
-      "id": 6,
-      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-      "html_url": "https://octocoders.github.io/Octocoders",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-      "type": "Organization",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "description": null,
-    "fork": true,
-    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
-    "created_at": "2019-05-15T19:38:10Z",
-    "updated_at": "2019-05-15T19:38:14Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": false,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master",
-    "permissions": {
-      "pull": true,
-      "push": false,
-      "admin": false
-    }
-  },
-  "organization": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
-    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
-    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
-    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
-    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
-    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "description": ""
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - team_add -

-

- When a - repository is added to a team. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the members permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
teamobject - The - team - that was modified. Note: Older events may not - include this in the payload. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "team": {
-    "name": "github",
-    "id": 3,
-    "node_id": "MDQ6VGVhbTM=",
-    "slug": "github",
-    "description": "Open-source team",
-    "privacy": "secret",
-    "url": "https://octocoders.github.io/api/v3/teams/3",
-    "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github",
-    "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}",
-    "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos",
-    "permission": "pull"
-  },
-  "repository": {
-    "id": 120,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
-    "name": "Hello-World",
-    "full_name": "Octocoders/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Octocoders",
-      "id": 6,
-      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-      "html_url": "https://octocoders.github.io/Octocoders",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-      "type": "Organization",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "description": null,
-    "fork": true,
-    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
-    "created_at": "2019-05-15T19:38:10Z",
-    "updated_at": "2019-05-15T19:38:14Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "Ruby",
-    "has_issues": false,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 0,
-    "license": null,
-    "forks": 0,
-    "open_issues": 0,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "organization": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
-    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
-    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
-    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
-    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
-    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "description": ""
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Octocoders",
-    "id": 6,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Octocoders",
-    "html_url": "https://octocoders.github.io/Octocoders",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
-    "type": "Organization",
-    "site_admin": false
-  }
-}
-
-
-

- - user -

-

When a user is created or deleted.

-

- - Availability -

-
    -
  • - GitHub Enterprise webhooks. For more information, "Global webhooks." -
  • -
-

- - Webhook payload example -

-
-
{
-  "user": {
-    "login": "Snowtocat",
-    "id": 16,
-    "node_id": "MDQ6VXNlcjE2",
-    "avatar_url": "https://octocoders.github.io/avatars/u/16?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Snowtocat",
-    "html_url": "https://octocoders.github.io/Snowtocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "action": "created",
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Snowtocat",
-    "id": 16,
-    "node_id": "MDQ6VXNlcjE2",
-    "avatar_url": "https://octocoders.github.io/avatars/u/16?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Snowtocat",
-    "html_url": "https://octocoders.github.io/Snowtocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events",
-    "type": "User",
-    "site_admin": false
-  }
-}
-
-
-

- - watch -

-

- When someone stars a repository. The type of activity is specified in - the action property of the payload object. For more - information, see the "starring" REST API. -

-

- The event’s actor is the - user who - starred a repository, and the event’s repository is the - repository - that was starred. -

-

- - Availability -

-
    -
  • Repository webhooks
  • -
  • Organization webhooks
  • -
  • GitHub Apps with the metadata permission
  • -
-

- - Webhook payload object -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyTypeDescription
actionstring - The action that was performed. Currently, can only be - started. -
repositoryobject - The - repository - where the event occurred. -
organizationobject - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. -
installationobject - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. -
senderobjectThe user that triggered the event.
-

- - Webhook payload example -

-
-
{
-  "action": "started",
-  "repository": {
-    "id": 118,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
-    "name": "Hello-World",
-    "full_name": "Codertocat/Hello-World",
-    "private": false,
-    "owner": {
-      "login": "Codertocat",
-      "id": 4,
-      "node_id": "MDQ6VXNlcjQ=",
-      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-      "gravatar_id": "",
-      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-      "html_url": "https://octocoders.github.io/Codertocat",
-      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-      "type": "User",
-      "site_admin": false
-    },
-    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "description": null,
-    "fork": false,
-    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
-    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
-    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
-    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
-    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
-    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
-    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
-    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
-    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
-    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
-    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
-    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
-    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
-    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
-    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
-    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
-    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
-    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
-    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
-    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
-    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
-    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
-    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
-    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
-    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
-    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
-    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
-    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
-    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
-    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
-    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
-    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
-    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
-    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
-    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
-    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
-    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
-    "created_at": "2019-05-15T19:37:07Z",
-    "updated_at": "2019-05-15T19:38:09Z",
-    "pushed_at": "2019-05-15T19:38:03Z",
-    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
-    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
-    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
-    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
-    "homepage": null,
-    "size": 0,
-    "stargazers_count": 1,
-    "watchers_count": 1,
-    "language": null,
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": true,
-    "forks_count": 0,
-    "mirror_url": null,
-    "archived": false,
-    "disabled": false,
-    "open_issues_count": 2,
-    "license": null,
-    "forks": 0,
-    "open_issues": 2,
-    "watchers": 1,
-    "default_branch": "master"
-  },
-  "enterprise": {
-    "id": 1,
-    "slug": "github",
-    "name": "GitHub",
-    "node_id": "MDg6QnVzaW5lc3Mx",
-    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
-    "description": null,
-    "website_url": null,
-    "html_url": "https://octocoders.github.io/businesses/github",
-    "created_at": "2019-05-14T19:31:12Z",
-    "updated_at": "2019-05-14T19:31:12Z"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 4,
-    "node_id": "MDQ6VXNlcjQ=",
-    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
-    "gravatar_id": "",
-    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
-    "html_url": "https://octocoders.github.io/Codertocat",
-    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
-    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
-    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
-    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
-    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
-    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "installation": {
-    "id": 5,
-    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
-  }
-}
-
-
-

- - workflow_dispatch -

-

- This event occurs when someone triggers a workflow run on GitHub or - sends a POST request to the "Create a workflow dispatch event" endpoint. For more information, see "Events that trigger workflows." -

-

- - Availability -

-
    -
  • - GitHub Apps must have the contents permission to receive - this webhook. -
  • -
-

- - Webhook payload example -

-
-
{
-  "inputs": {
-    "name": "Mona the Octocat"
-  },
-  "ref": "refs/heads/master",
-  "repository": {
-    "id": 17273051,
-    "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==",
-    "name": "octo-repo",
-    "full_name": "octo-org/octo-repo",
-    "private": true,
-    "owner": {
-      "login": "octo-org",
-      "id": 6811672,
-      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
-      "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
-      "gravatar_id": "",
-      "url": "https://api.github.com/users/octo-org",
-      "html_url": "https://github.com/octo-org",
-      "followers_url": "https://api.github.com/users/octo-org/followers",
-      "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
-      "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
-      "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
-      "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
-      "organizations_url": "https://api.github.com/users/octo-org/orgs",
-      "repos_url": "https://api.github.com/users/octo-org/repos",
-      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
-      "received_events_url": "https://api.github.com/users/octo-org/received_events",
-      "type": "Organization",
-      "site_admin": false
-    },
-    "html_url": "https://github.com/octo-org/octo-repo",
-    "description": "My first repo on GitHub!",
-    "fork": false,
-    "url": "https://api.github.com/repos/octo-org/octo-repo",
-    "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
-    "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
-    "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
-    "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
-    "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
-    "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
-    "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
-    "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
-    "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
-    "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
-    "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
-    "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
-    "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
-    "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
-    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
-    "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
-    "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
-    "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
-    "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
-    "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
-    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
-    "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
-    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
-    "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
-    "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
-    "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
-    "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
-    "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
-    "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
-    "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
-    "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
-    "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
-    "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
-    "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
-    "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
-    "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
-    "created_at": "2014-02-28T02:42:51Z",
-    "updated_at": "2018-10-10T15:58:51Z",
-    "pushed_at": "2018-10-10T15:58:47Z",
-    "git_url": "git://github.com/octo-org/octo-repo.git",
-    "ssh_url": "git@github.com:octo-org/octo-repo.git",
-    "clone_url": "https://github.com/octo-org/octo-repo.git",
-    "svn_url": "https://github.com/octo-org/octo-repo",
-    "homepage": "",
-    "size": 59,
-    "stargazers_count": 0,
-    "watchers_count": 0,
-    "language": "JavaScript",
-    "has_issues": true,
-    "has_projects": true,
-    "has_downloads": true,
-    "has_wiki": true,
-    "has_pages": false,
-    "forks_count": 1,
-    "mirror_url": null,
-    "archived": false,
-    "open_issues_count": 23,
-    "license": null,
-    "forks": 1,
-    "open_issues": 23,
-    "watchers": 0,
-    "default_branch": "master"
-  },
-  "organization": {
-    "login": "octo-org",
-    "id": 6811672,
-    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
-    "url": "https://api.github.com/orgs/octo-org",
-    "repos_url": "https://api.github.com/orgs/octo-org/repos",
-    "events_url": "https://api.github.com/orgs/octo-org/events",
-    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
-    "issues_url": "https://api.github.com/orgs/octo-org/issues",
-    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
-    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
-    "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
-    "description": "Working better together!"
-  },
-  "sender": {
-    "login": "Codertocat",
-    "id": 21031067,
-    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
-    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
-    "gravatar_id": "",
-    "url": "https://api.github.com/users/Codertocat",
-    "html_url": "https://github.com/Codertocat",
-    "followers_url": "https://api.github.com/users/Codertocat/followers",
-    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
-    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
-    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
-    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
-    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
-    "repos_url": "https://api.github.com/users/Codertocat/repos",
-    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
-    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
-    "type": "User",
-    "site_admin": false
-  },
-  "workflow": ".github/workflows/hello-world-workflow.yml"
-}
-
-
-
-
-
diff --git a/cache/ghes-30/webhook-events-and-payloads.html b/cache/ghes-34/webhook-events-and-payloads.html similarity index 85% rename from cache/ghes-30/webhook-events-and-payloads.html rename to cache/ghes-34/webhook-events-and-payloads.html index d00e02404..1337d1866 100644 --- a/cache/ghes-30/webhook-events-and-payloads.html +++ b/cache/ghes-34/webhook-events-and-payloads.html @@ -5,7 +5,7 @@

In this article

@@ -16,11 +16,9 @@

-
- Webhook payload object common properties -
+ Webhook payload object common properties
@@ -31,7 +29,7 @@

-
check_run
+ branch_protection_rule
@@ -41,9 +39,7 @@

  • -
    - -
    +
    cache_sync
  • @@ -52,11 +48,7 @@

  • -
    - -
    +
    check_run
  • @@ -65,9 +57,7 @@

  • -
    - -
    +
    check_suite
  • @@ -76,9 +66,7 @@

  • -
    - -
    +
    code_scanning_alert
  • @@ -87,9 +75,7 @@

  • -
    - -
    +
    commit_comment
  • @@ -98,9 +84,7 @@

  • -
    - -
    +
    create
  • @@ -109,9 +93,7 @@

  • -
    - -
    +
    delete
  • @@ -120,9 +102,7 @@

  • -
    - -
    +
    deploy_key
  • @@ -131,9 +111,7 @@

  • -
    - -
    +
    deployment
  • @@ -142,9 +120,7 @@

  • -
    - -
    +
    deployment_status
  • @@ -153,9 +129,7 @@

  • -
    - -
    +
    enterprise
  • @@ -164,13 +138,7 @@

  • -
    - -
    +
    fork
  • @@ -180,7 +148,7 @@

    -
    gollum
    + github_app_authorization
    @@ -190,9 +158,7 @@

  • -
    - -
    +
    gollum
  • @@ -201,13 +167,7 @@

  • -
    - -
    +
    installation
  • @@ -217,7 +177,9 @@

    -
    issue_comment
    + installation_repositories
    @@ -227,9 +189,7 @@

  • -
    - -
    +
    issue_comment
  • @@ -238,9 +198,7 @@

  • -
    - -
    +
    issues
  • @@ -249,9 +207,7 @@

  • -
    - -
    +
    label
  • @@ -260,9 +216,7 @@

  • -
    - -
    +
    member
  • @@ -271,9 +225,7 @@

  • -
    - -
    +
    membership
  • @@ -282,9 +234,7 @@

  • -
    - -
    +
    meta
  • @@ -293,9 +243,7 @@

  • -
    - -
    +
    milestone
  • @@ -304,9 +252,7 @@

  • -
    - -
    +
    organization
  • @@ -315,9 +261,7 @@

  • -
    - -
    +
    package
  • @@ -326,9 +270,7 @@

  • -
    - -
    +
    page_build
  • @@ -337,9 +279,7 @@

  • -
    - -
    +
    ping
  • @@ -348,9 +288,7 @@

  • -
    - -
    +
    project
  • @@ -359,9 +297,7 @@

  • -
    - -
    +
    project_card
  • @@ -370,9 +306,7 @@

  • -
    - -
    +
    project_column
  • @@ -381,11 +315,7 @@

  • -
    - -
    +
    public
  • @@ -394,13 +324,7 @@

  • -
    - -
    +
    pull_request
  • @@ -409,9 +333,7 @@

  • -
    - -
    +
    pull_request_review
  • @@ -421,7 +343,9 @@

    -
    release
    + pull_request_review_comment
    @@ -432,9 +356,9 @@

    -
    - repository_dispatch -
    + pull_request_review_thread
    @@ -444,9 +368,7 @@

  • -
    - -
    +
    push
  • @@ -455,9 +377,7 @@

  • -
    - -
    +
    release
  • @@ -466,9 +386,7 @@

  • -
    - -
    +
    repository_dispatch
  • @@ -477,9 +395,7 @@

  • -
    - -
    +
    repository
  • @@ -489,7 +405,7 @@

    -
    team
    + secret_scanning_alert
    @@ -499,9 +415,7 @@

  • -
    - -
    +
    security_advisory
  • @@ -510,9 +424,7 @@

  • -
    - -
    +
    star
  • @@ -521,9 +433,7 @@

  • -
    - -
    +
    status
  • @@ -532,9 +442,7 @@

  • -
    - -
    +
    team
  • @@ -543,9 +451,52 @@

  • -
    - -
    +
    team_add
    +
    +
    +
  • + + + + + + -

    - + app's repository. When you receive the requested action events, you'll need to create a new check run. @@ -1653,10 +2262,10 @@

    you receive the rerequested action events, you'll need to create a new check run. See "About status checks" for more details about the GitHub UI. @@ -1668,7 +2277,7 @@

    object The - check_suite. @@ -1716,10 +2325,19 @@

    An array of pull requests that match this check suite. A pull request matches a check suite if they have the same - head_sha and head_branch. When the check - suite's head_branch is in a forked repository it will - be null and the pull_requests array will - be empty. + head_branch.

    Note: +
      +
    • + The head_sha of the check suite can differ from + the sha of the pull request if subsequent pushes + are made into the PR. +
    • +
    • + When the check suite's head_branch is in a forked + repository it will be null and the + pull_requests array will be empty. +
    • +
    @@ -1728,7 +2346,7 @@

    The repository where the event occurred. @@ -1740,7 +2358,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -1764,8 +2382,8 @@

    -

    - + }, "name": "octocoders-linter", "description": "", - "external_url": "https://octocoders.github.io", + "external_url": "https://octocoders.io", "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", "created_at": "2019-05-15T15:41:35Z", "updated_at": "2019-05-15T15:41:35Z", @@ -1918,11 +2536,11 @@

    "timestamp": "2019-05-15T19:38:01Z", "author": { "name": "Codertocat", - "email": "Codertocat@octocoders.github.io" + "email": "Codertocat@Octocoders.io" }, "committer": { "name": "Codertocat", - "email": "Codertocat@octocoders.github.io" + "email": "Codertocat@Octocoders.io" } } }, @@ -2084,12 +2702,12 @@

    Activity related to code scanning alerts in a repository. The type of activity is specified in the action property of the payload object. For more information, see "About code scanning."

    -

    - + GitHub Apps with the security_events :read permission -

    - + The repository where the event occurred. @@ -2200,7 +2818,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -2224,13 +2842,14 @@

    If the action is reopened_by_user or closed_by_user, the sender object will be the user that triggered the event. The - sender object is empty for all other actions. + sender object is github-enterprise for + all other actions. -

    - + A commit comment is created. The type of activity is specified in the action property of the payload object. For more information, see the "commit comment" REST API.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the contents permission
  • -

    - + The commit comment resource. @@ -2502,7 +3121,7 @@

    The repository where the event occurred. @@ -2514,7 +3133,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -2538,8 +3157,8 @@

    -

    - + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } } - - -

    - - content_reference -

    -

    - A new content reference is created. A new content reference - is created when the body or comment of an issue or pull request includes - a URL that matches a configured content reference domain. For more - information, see "Using content attachments" to learn more about content references and attachments. -

    -

    - Webhook events are triggered based on the specificity of the domain you - register. For example, if you register a subdomain - (https://subdomain.example.com) then only URLs for the - subdomain trigger this event. If you register a domain - (https://example.com) then URLs for domain and all - subdomains trigger this event. See "Create a content attachment" to create a new content attachment. -

    -

    - - Availability -

    -
      -
    • - GitHub Apps with the content_references:write permission -
    • -
    -

    - - Webhook payload example -

    -
    -
    {
    -  "action": "created",
    -  "content_reference": {
    -    "id": 17,
    -    "node_id": "MDE2OkNvbnRlbnRSZWZlcmVuY2UxNjA5",
    -    "reference": "https://errors.ai/"
    -  },
    -  "repository": {
    -    "id": 145551601,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxNDU1NTE2MDE=",
    -    "name": "hello-world",
    -    "full_name": "octocoders/hello-world",
    -    "private": true,
    -    "owner": {
    -      "login": "Codertocat",
    -      "id": 7718702,
    -      "node_id": "MDQ6VXNlcjc3MTg3MDI=",
    -      "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4",
    -      "gravatar_id": "",
    -      "url": "https://api.github.com/users/Codertocat",
    -      "html_url": "https://github.com/Codertocat",
    -      "followers_url": "https://api.github.com/users/Codertocat/followers",
    -      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    -      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    -      "repos_url": "https://api.github.com/users/Codertocat/repos",
    -      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": true
    -    },
    -    "html_url": "https://github.com/Codertocat/hello-world",
    -    "description": null,
    -    "fork": false,
    -    "url": "https://api.github.com/repos/Codertocat/hello-world",
    -    "forks_url": "https://api.github.com/repos/Codertocat/hello-world/forks",
    -    "keys_url": "https://api.github.com/repos/Codertocat/hello-world/keys{/key_id}",
    -    "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world/collaborators{/collaborator}",
    -    "teams_url": "https://api.github.com/repos/Codertocat/hello-world/teams",
    -    "hooks_url": "https://api.github.com/repos/Codertocat/hello-world/hooks",
    -    "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world/issues/events{/number}",
    -    "events_url": "https://api.github.com/repos/Codertocat/hello-world/events",
    -    "assignees_url": "https://api.github.com/repos/Codertocat/hello-world/assignees{/user}",
    -    "branches_url": "https://api.github.com/repos/Codertocat/hello-world/branches{/branch}",
    -    "tags_url": "https://api.github.com/repos/Codertocat/hello-world/tags",
    -    "blobs_url": "https://api.github.com/repos/Codertocat/hello-world/git/blobs{/sha}",
    -    "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world/git/tags{/sha}",
    -    "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world/git/refs{/sha}",
    -    "trees_url": "https://api.github.com/repos/Codertocat/hello-world/git/trees{/sha}",
    -    "statuses_url": "https://api.github.com/repos/Codertocat/hello-world/statuses/{sha}",
    -    "languages_url": "https://api.github.com/repos/Codertocat/hello-world/languages",
    -    "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world/stargazers",
    -    "contributors_url": "https://api.github.com/repos/Codertocat/hello-world/contributors",
    -    "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world/subscribers",
    -    "subscription_url": "https://api.github.com/repos/Codertocat/hello-world/subscription",
    -    "commits_url": "https://api.github.com/repos/Codertocat/hello-world/commits{/sha}",
    -    "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world/git/commits{/sha}",
    -    "comments_url": "https://api.github.com/repos/Codertocat/hello-world/comments{/number}",
    -    "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world/issues/comments{/number}",
    -    "contents_url": "https://api.github.com/repos/Codertocat/hello-world/contents/{+path}",
    -    "compare_url": "https://api.github.com/repos/Codertocat/hello-world/compare/{base}...{head}",
    -    "merges_url": "https://api.github.com/repos/Codertocat/hello-world/merges",
    -    "archive_url": "https://api.github.com/repos/Codertocat/hello-world/{archive_format}{/ref}",
    -    "downloads_url": "https://api.github.com/repos/Codertocat/hello-world/downloads",
    -    "issues_url": "https://api.github.com/repos/Codertocat/hello-world/issues{/number}",
    -    "pulls_url": "https://api.github.com/repos/Codertocat/hello-world/pulls{/number}",
    -    "milestones_url": "https://api.github.com/repos/Codertocat/hello-world/milestones{/number}",
    -    "notifications_url": "https://api.github.com/repos/Codertocat/hello-world/notifications{?since,all,participating}",
    -    "labels_url": "https://api.github.com/repos/Codertocat/hello-world/labels{/name}",
    -    "releases_url": "https://api.github.com/repos/Codertocat/hello-world/releases{/id}",
    -    "deployments_url": "https://api.github.com/repos/Codertocat/hello-world/deployments",
    -    "created_at": "2018-08-21T10:58:58Z",
    -    "updated_at": "2018-08-21T10:59:01Z",
    -    "pushed_at": "2018-08-21T10:59:00Z",
    -    "git_url": "git://github.com/Codertocat/hello-world.git",
    -    "ssh_url": "git@github.com:Codertocat/hello-world.git",
    -    "clone_url": "https://github.com/Codertocat/hello-world.git",
    -    "svn_url": "https://github.com/Codertocat/hello-world",
    -    "homepage": null,
    -    "size": 0,
    -    "stargazers_count": 0,
    -    "watchers_count": 0,
    -    "language": null,
    -    "has_issues": true,
    -    "has_projects": true,
    -    "has_downloads": true,
    -    "has_wiki": true,
    -    "has_pages": false,
    -    "forks_count": 0,
    -    "mirror_url": null,
    -    "archived": false,
    -    "open_issues_count": 2,
    -    "license": null,
    -    "forks": 0,
    -    "open_issues": 2,
    -    "watchers": 0,
    -    "default_branch": "master"
    -  },
    -  "sender": {
    -    "login": "Codertocat",
    -    "id": 7718702,
    -    "node_id": "MDQ6VXNlcjc3MTg3MDI=",
    -    "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4",
    -    "gravatar_id": "",
    -    "url": "https://api.github.com/users/Codertocat",
    -    "html_url": "https://github.com/Codertocat",
    -    "followers_url": "https://api.github.com/users/Codertocat/followers",
    -    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    -    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    -    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    -    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    -    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    -    "repos_url": "https://api.github.com/users/Codertocat/repos",
    -    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    -    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    -    "type": "User",
    -    "site_admin": true
    -  },
    -  "installation": {
    -    "id": 371641,
    -    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzcxNjQx"
    -  }
    -}
     

    @@ -2968,7 +3371,7 @@

    A Git branch or tag is created. For more information, see the "Git database" REST API.

    @@ -2978,8 +3381,8 @@

    when you create more than three tags at once.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the contents permission
  • -

    - + The git ref resource. @@ -3060,7 +3463,7 @@

    string The name of the repository's default branch (usually - master). + main). @@ -3082,7 +3485,7 @@

    The repository where the event occurred. @@ -3094,7 +3497,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -3118,8 +3521,8 @@

    -

    - +

    A Git branch or tag is deleted. For more information, see the "Git database" REST API.

    @@ -3312,8 +3715,8 @@

    when you delete more than three tags at once.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the contents permission
  • -

    - + The git ref resource. @@ -3385,8 +3788,8 @@

    ref_type string - The type of Git ref oject deleted in the repository. Can be - branch or tag. + The type of Git ref object deleted in the repository. Can be + either branch or tag. @@ -3403,7 +3806,7 @@

    The repository where the event occurred. @@ -3415,7 +3818,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -3439,8 +3842,8 @@

    -

    - + A deploy key is added or removed from a repository. The type of activity is specified in the action property of the payload object. For more information, see the "Deploy keys" REST API.

    -

    - +
  • Repository webhooks
  • Organization webhooks
  • -

    - + The deploy key resource. @@ -3709,7 +4112,7 @@

    The repository where the event occurred. @@ -3721,7 +4124,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -3736,8 +4139,8 @@

    -

    - + "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": null, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 1, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "Codertocat", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} + + +

    + + deployment +

    +

    + A deployment is created. The type of activity is specified in the + action property of the payload object. For more + information, see the "deployment" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the deployments permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstringThe action performed. Can be created.
    deploymentobject + The + deployment. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "deployment": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
    +    "id": 2,
    +    "node_id": "MDEwOkRlcGxveW1lbnQy",
    +    "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +    "ref": "master",
    +    "task": "deploy",
    +    "payload": {},
    +    "original_environment": "production",
    +    "environment": "production",
    +    "description": null,
    +    "creator": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "created_at": "2019-05-15T19:38:20Z",
    +    "updated_at": "2019-05-15T19:38:20Z",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses",
    +    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": "2019-05-15T19:38:19Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
         "has_issues": true,
         "has_projects": true,
         "has_downloads": true,
         "has_wiki": true,
         "has_pages": true,
    -    "forks_count": 0,
    +    "forks_count": 1,
         "mirror_url": null,
         "archived": false,
    -    "open_issues_count": 1,
    +    "disabled": false,
    +    "open_issues_count": 2,
         "license": null,
    -    "forks": 0,
    -    "open_issues": 1,
    +    "forks": 1,
    +    "open_issues": 2,
         "watchers": 0,
         "default_branch": "master"
       },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
       "sender": {
         "login": "Codertocat",
    -    "id": 21031067,
    -    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    -    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
         "gravatar_id": "",
    -    "url": "https://api.github.com/users/Codertocat",
    -    "html_url": "https://github.com/Codertocat",
    -    "followers_url": "https://api.github.com/users/Codertocat/followers",
    -    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    -    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    -    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    -    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    -    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    -    "repos_url": "https://api.github.com/users/Codertocat/repos",
    -    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    -    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
         "type": "User",
         "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
       }
     }
     
    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >deployment + >deployment_status

    A deployment is created. The type of activity is specified in the action property of the payload object. For more information, see the "deploymentdeployments" REST API.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the deployments permission
  • -

    - + string The action performed. Can be created. + + deployment_status + object + + The + deployment status. + + + + deployment_status["state"] + string + + The new state. Can be pending, success, + failure, or error. + + + + deployment_status["target_url"] + string + The optional link added to the status. + + + deployment_status["description"] + string + + The optional human-readable description added to the status. + + deployment object The deployment. + > + that this status is associated with. @@ -3993,7 +4764,7 @@

    The repository where the event occurred. @@ -4005,7 +4776,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -4029,8 +4800,8 @@

    -

    - +

    {
    +  "deployment_status": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2",
    +    "id": 2,
    +    "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy",
    +    "state": "success",
    +    "creator": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "description": "",
    +    "environment": "production",
    +    "target_url": "",
    +    "created_at": "2019-05-15T19:38:21Z",
    +    "updated_at": "2019-05-15T19:38:21Z",
    +    "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
    +    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
    +  },
       "deployment": {
         "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
         "id": 2,
    @@ -4084,7 +4888,7 @@ 

    "site_admin": false }, "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:20Z", + "updated_at": "2019-05-15T19:38:21Z", "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" }, @@ -4198,7 +5002,158 @@

    "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + } +} +

    +
    +

    + + enterprise +

    +

    + A site or repository administrator enables or disables anonymous Git + read access. See "Allowing admins to enable anonymous Git read access to public + repositories" for more details. This event is not available in the Events API. +

    +

    + + Availability +

    + +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action performed. Can be + anonymous_access_enabled or + anonymous_access_disabled. +
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "anonymous_access_enabled",
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://avatars.octocoders.github.io/u/4?",
         "gravatar_id": "",
         "url": "https://octocoders.github.io/api/v3/users/Codertocat",
         "html_url": "https://octocoders.github.io/Codertocat",
    @@ -4212,17 +5167,13 @@ 

    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + "site_admin": true } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >deployment_status + >fork

    - A deployment is created. The type of activity is specified in the - action property of the payload object. For more - information, see the "deploymentsforks" REST API.

    -

    - + -

    - +
    -
    action - string - The action performed. Can be created. - - - deployment_status - object - - The -
    deployment status. - - - - deployment_status["state"] - string - - The new state. Can be pending, success, - failure, or error. - - - - deployment_status["target_url"] - string - The optional link added to the status. - - - deployment_status["description"] - string - - The optional human-readable description added to the status. - - - - deployment + forkee object - The + The created deploymentrepository - that this status is associated with. + resource. @@ -4361,7 +5274,7 @@

    The repository where the event occurred. @@ -4373,7 +5286,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -4397,8 +5310,8 @@

    -

    - +

    {
    -  "deployment_status": {
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2",
    -    "id": 2,
    -    "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy",
    -    "state": "success",
    -    "creator": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    -    },
    -    "description": "",
    -    "environment": "production",
    -    "target_url": "",
    -    "created_at": "2019-05-15T19:38:21Z",
    -    "updated_at": "2019-05-15T19:38:21Z",
    -    "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
    -    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
    -  },
    -  "deployment": {
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
    -    "id": 2,
    -    "node_id": "MDEwOkRlcGxveW1lbnQy",
    -    "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    -    "ref": "master",
    -    "task": "deploy",
    -    "payload": {},
    -    "original_environment": "production",
    -    "environment": "production",
    -    "description": null,
    -    "creator": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +  "forkee": {
    +    "id": 120,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
    +    "name": "Hello-World",
    +    "full_name": "Octocoders/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Octocoders",
    +      "id": 6,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
           "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    +      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +      "html_url": "https://octocoders.github.io/Octocoders",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +      "type": "Organization",
           "site_admin": false
         },
    -    "created_at": "2019-05-15T19:38:20Z",
    -    "updated_at": "2019-05-15T19:38:21Z",
    -    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses",
    -    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
    +    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "description": null,
    +    "fork": true,
    +    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:38:10Z",
    +    "updated_at": "2019-05-15T19:38:10Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": false,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": false,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
    +    "watchers": 0,
    +    "default_branch": "master",
    +    "public": true
       },
       "repository": {
         "id": 118,
    @@ -4556,8 +5495,8 @@ 

    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", + "updated_at": "2019-05-15T19:38:10Z", + "pushed_at": "2019-05-15T19:38:03Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -4566,7 +5505,7 @@

    "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": "Ruby", + "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, @@ -4596,23 +5535,23 @@

    "updated_at": "2019-05-14T19:31:12Z" }, "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", + "url": "https://octocoders.github.io/api/v3/users/Octocoders", + "html_url": "https://octocoders.github.io/Octocoders", + "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", + "type": "Organization", "site_admin": false }, "installation": { @@ -4622,8 +5561,8 @@

    }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >enterprise + >github_app_authorization

    - A site or repository administrator enables or disables anonymous Git - read access. See "Allowing admins to enable anonymous Git read access to public - repositories" for more details. This event is not available in the Events API. + When someone revokes their authorization of a GitHub App, this event + occurs. A GitHub App receives this webhook by default and cannot + unsubscribe from this event.

    -

    - + Anyone can revoke their authorization of a GitHub App from their + GitHub account settings page. Revoking the authorization of a GitHub App does not uninstall the + GitHub App. You should program your GitHub App so that when it receives + this webhook, it stops calling the API on behalf of the person who + revoked the token. If your GitHub App continues to use a revoked access + token, it will receive the 401 Bad Credentials error. For + details about user-to-server requests, which require GitHub App + authorization, see "Identifying and authorizing users for GitHub Apps." +

    +

    + >Availability

    -

    - +
    action string - - The action performed. Can be - anonymous_access_enabled or - anonymous_access_disabled. - + The action performed. Can be revoked. + + + sender + object + The user that triggered the event. -

    - +

    {
    -  "action": "anonymous_access_enabled",
    +  "action": "revoked",
       "sender": {
    -    "login": "Codertocat",
    -    "id": 4,
    -    "node_id": "MDQ6VXNlcjQ=",
    -    "avatar_url": "https://avatars.octocoders.github.io/u/4?",
    +    "login": "octocat",
    +    "id": 1,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://github.com/images/error/octocat_happy.gif",
         "gravatar_id": "",
    -    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -    "html_url": "https://octocoders.github.io/Codertocat",
    -    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "url": "https://api.github.com/users/octocat",
    +    "html_url": "https://github.com/octocat",
    +    "followers_url": "https://api.github.com/users/octocat/followers",
    +    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/octocat/orgs",
    +    "repos_url": "https://api.github.com/users/octocat/repos",
    +    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/octocat/received_events",
         "type": "User",
    -    "site_admin": true
    +    "site_admin": false
       }
     }
     
    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >fork + >gollum

    - A user forks a repository. For more information, see the "forks" REST API. + A wiki page is created or updated. For more information, see "About wikis."

    -

    - +
  • Organization webhooks
  • GitHub Apps with the contents permission
  • -

    - +
    -
    forkee - object + pages + array + The pages that were updated. + + + pages[][page_name] + string + The name of the page. + + + pages[][title] + string + The current page title. + + + pages[][action] + string - The created -
    repository - resource. + The action that was performed on the page. Can be + created or edited. + + pages[][sha] + string + The latest commit SHA of the page. + + + pages[][html_url] + string + Points to the HTML wiki page. + repository object The repository where the event occurred. @@ -4883,7 +5851,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -4907,8 +5875,8 @@

    -

    - +

    {
    -  "forkee": {
    -    "id": 120,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
    -    "name": "Hello-World",
    -    "full_name": "Octocoders/Hello-World",
    -    "private": false,
    -    "owner": {
    -      "login": "Octocoders",
    -      "id": 6,
    -      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    -      "html_url": "https://octocoders.github.io/Octocoders",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    -      "type": "Organization",
    -      "site_admin": false
    -    },
    -    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
    -    "description": null,
    -    "fork": true,
    -    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
    -    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
    -    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
    -    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
    -    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
    -    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
    -    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
    -    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
    -    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
    -    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
    -    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
    -    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
    -    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
    -    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
    -    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
    -    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
    -    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
    -    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
    -    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
    -    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
    -    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
    -    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
    -    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
    -    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
    -    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
    -    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
    -    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
    -    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
    -    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
    -    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
    -    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
    -    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
    -    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
    -    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
    -    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
    -    "created_at": "2019-05-15T19:38:10Z",
    -    "updated_at": "2019-05-15T19:38:10Z",
    -    "pushed_at": "2019-05-15T19:38:03Z",
    -    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
    -    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
    -    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
    -    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
    -    "homepage": null,
    -    "size": 0,
    -    "stargazers_count": 0,
    -    "watchers_count": 0,
    -    "language": null,
    -    "has_issues": false,
    -    "has_projects": true,
    -    "has_downloads": true,
    -    "has_wiki": true,
    -    "has_pages": false,
    -    "forks_count": 0,
    -    "mirror_url": null,
    -    "archived": false,
    -    "disabled": false,
    -    "open_issues_count": 0,
    -    "license": null,
    -    "forks": 0,
    -    "open_issues": 0,
    -    "watchers": 0,
    -    "default_branch": "master",
    -    "public": true
    -  },
    +  "pages": [
    +    {
    +      "page_name": "Home",
    +      "title": "Home",
    +      "summary": null,
    +      "action": "edited",
    +      "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385",
    +      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home"
    +    }
    +  ],
       "repository": {
    -    "id": 118,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "id": 122,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=",
         "name": "Hello-World",
         "full_name": "Codertocat/Hello-World",
    -    "private": false,
         "owner": {
           "login": "Codertocat",
           "id": 4,
           "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "avatar_url": "https://avatars.octocoders.github.io/u/4?",
           "gravatar_id": "",
           "url": "https://octocoders.github.io/api/v3/users/Codertocat",
           "html_url": "https://octocoders.github.io/Codertocat",
    @@ -5051,6 +5933,7 @@ 

    "type": "User", "site_admin": false }, + "private": false, "html_url": "https://octocoders.github.io/Codertocat/Hello-World", "description": null, "fork": false, @@ -5091,9 +5974,9 @@

    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", + "created_at": "2018-10-04T18:29:19Z", + "updated_at": "2018-10-04T18:29:21Z", + "pushed_at": "2018-10-04T18:29:59Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -5108,58 +5991,41 @@

    "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 1, + "forks_count": 0, "mirror_url": null, "archived": false, - "disabled": false, - "open_issues_count": 2, + "open_issues_count": 0, "license": null, - "forks": 1, - "open_issues": 2, + "forks": 0, + "open_issues": 0, "watchers": 0, "default_branch": "master" }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, "sender": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "login": "rachmari", + "id": 3, + "node_id": "MDQ6VXNlcjM=", + "avatar_url": "https://avatars.octocoders.github.io/u/3?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + "url": "https://octocoders.github.io/api/v3/users/rachmari", + "html_url": "https://octocoders.github.io/rachmari", + "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers", + "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos", + "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events", + "type": "User", + "site_admin": true } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >github_app_authorization + >installation

    - When someone revokes their authorization of a GitHub App, this event - occurs. A GitHub App receives this webhook by default and cannot - unsubscribe from this event. -

    -

    - Anyone can revoke their authorization of a GitHub App from their - GitHub account settings page. Revoking the authorization of a GitHub App does not uninstall the - GitHub App. You should program your GitHub App so that when it receives - this webhook, it stops calling the API on behalf of the person who - revoked the token. If your GitHub App continues to use a revoked access - token, it will receive the 401 Bad Credentials error. For - details about user-to-server requests, which require GitHub App - authorization, see "Identifying and authorizing users for GitHub Apps." + Activity related to a GitHub App installation. The type of activity is + specified in the action property of the payload object. For + more information, see the "GitHub App installation" REST API.

    -

    - + -

    - + - - - + + + + + + + + + + + + + + + - - - - - + + + @@ -5266,8 +6152,8 @@

    KeyTypeDescriptionKeyTypeDescription
    actionstring + The action that was performed. Can be one of: +
      +
    • created - Someone installs a GitHub App.
    • +
    • deleted - Someone uninstalls a GitHub App
    • +
    • + suspend - Someone suspends a GitHub App + installation. +
    • +
    • + unsuspend - Someone unsuspends a GitHub App + installation. +
    • +
    • + new_permissions_accepted - Someone accepts new + permissions for a GitHub App installation. When a GitHub App + owner requests new permissions, the person who installed the + GitHub App must accept the new permissions request. +
    • +
    +
    repositoriesarray + An array of repository objects that the installation can access. +
    actionstringThe action performed. Can be revoked.installationobjectThe GitHub App installation.
    sender
    -

    - +

    {
    -  "action": "revoked",
    -  "sender": {
    -    "login": "octocat",
    +  "action": "deleted",
    +  "installation": {
    +    "id": 5,
    +    "account": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat",
    +      "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat",
    +      "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers",
    +      "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs",
    +      "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos",
    +      "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "repository_selection": "selected",
    +    "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens",
    +    "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories",
    +    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5",
    +    "app_id": 2,
    +    "target_id": 4,
    +    "target_type": "User",
    +    "permissions": {
    +      "administration": "write",
    +      "checks": "write",
    +      "contents": "write",
    +      "deployments": "write",
    +      "issues": "write",
    +      "pages": "write",
    +      "pull_requests": "write",
    +      "repository_hooks": "write",
    +      "repository_projects": "write",
    +      "statuses": "write",
    +      "repository_pre_receive_hooks": "write",
    +      "metadata": "read",
    +      "vulnerability_alerts": "read"
    +    },
    +    "events": [
    +      "check_run",
    +      "check_suite",
    +      "commit_comment",
    +      "create",
    +      "delete",
    +      "deployment",
    +      "deployment_status",
    +      "fork",
    +      "gollum",
    +      "issues",
    +      "issue_comment",
    +      "label",
    +      "member",
    +      "membership",
    +      "milestone",
    +      "organization",
    +      "page_build",
    +      "project",
    +      "project_card",
    +      "project_column",
    +      "public",
    +      "pull_request",
    +      "pull_request_review",
    +      "pull_request_review_comment",
    +      "push",
    +      "release",
    +      "repository",
    +      "status",
    +      "team",
    +      "team_add",
    +      "watch"
    +    ],
    +    "created_at": "2019-05-15T19:37:38.000Z",
    +    "updated_at": "2019-05-15T19:37:38.000Z",
    +    "single_file_name": null
    +  },
    +  "enterprise": {
         "id": 1,
    -    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    -    "avatar_url": "https://github.com/images/error/octocat_happy.gif",
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?",
         "gravatar_id": "",
    -    "url": "https://api.github.com/users/octocat",
    -    "html_url": "https://github.com/octocat",
    -    "followers_url": "https://api.github.com/users/octocat/followers",
    -    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    -    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    -    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    -    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    -    "organizations_url": "https://api.github.com/users/octocat/orgs",
    -    "repos_url": "https://api.github.com/users/octocat/repos",
    -    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    -    "received_events_url": "https://api.github.com/users/octocat/received_events",
    +    "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat",
    +    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat",
    +    "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers",
    +    "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs",
    +    "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos",
    +    "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events",
         "type": "User",
         "site_admin": false
       }
     }
     
    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >gollum + >installation_repositories

    - A wiki page is created or updated. For more information, see "About wikis." + Activity related to repositories being added to a GitHub App + installation. The type of activity is specified in the + action property of the payload object. For more + information, see the "GitHub App installation" REST API.

    -

    - + >Availability

    -

    - +
    -
    pages - array - The pages that were updated. - - - pages[][page_name] - string - The name of the page. - - - pages[][title] - string - The current page title. - - - pages[][action] + action string - The action that was performed on the page. Can be - created or edited. + The action that was performed. Can be either added or + removed. - pages[][sha] - string - The latest commit SHA of the page. - - - pages[][html_url] + repository_selection string - Points to the HTML wiki page. + + The choice of repositories the installation is on. Can be either + selected or all. + - repository - object + repositories_added + array - The -
    repository - where the event occurred. + An array of repository objects, which were added to the + installation. - organization - object + repositories_removed + array - Webhook payloads contain the - organization - object when the webhook is configured for an organization or the - event occurs from activity in a repository owned by an - organization. + An array of repository objects, which were removed from the + installation. installation object - - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. - + The GitHub App installation. sender @@ -5472,8 +6421,8 @@

    -

    - + >Webhook payload example

    -
    {
    -  "pages": [
    -    {
    -      "page_name": "Home",
    -      "title": "Home",
    -      "summary": null,
    -      "action": "edited",
    -      "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385",
    -      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home"
    -    }
    -  ],
    -  "repository": {
    -    "id": 122,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=",
    -    "name": "Hello-World",
    -    "full_name": "Codertocat/Hello-World",
    -    "owner": {
    +        
    {
    +  "action": "added",
    +  "installation": {
    +    "id": 5,
    +    "account": {
           "login": "Codertocat",
           "id": 4,
           "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://avatars.octocoders.github.io/u/4?",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
           "gravatar_id": "",
           "url": "https://octocoders.github.io/api/v3/users/Codertocat",
           "html_url": "https://octocoders.github.io/Codertocat",
    @@ -5530,99 +6467,113 @@ 

    "type": "User", "site_admin": false }, - "private": false, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "repository_selection": "selected", + "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", + "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", + "html_url": "https://octocoders.github.io/settings/installations/5", + "app_id": 2, + "target_id": 4, + "target_type": "User", + "permissions": { + "administration": "write", + "repository_pre_receive_hooks": "write", + "statuses": "write", + "repository_projects": "write", + "repository_hooks": "write", + "pull_requests": "write", + "pages": "write", + "issues": "write", + "deployments": "write", + "contents": "write", + "checks": "write", + "vulnerability_alerts": "read", + "metadata": "read" + }, + "events": [ + "check_run", + "check_suite", + "commit_comment", + "create", + "delete", + "deployment", + "deployment_status", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "release", + "repository", + "status", + "team", + "team_add", + "watch" + ], + "created_at": 1557949058, + "updated_at": 1557949058, + "single_file_name": null + }, + "repository_selection": "selected", + "repositories_added": [ + { + "id": 119, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", + "name": "Space", + "full_name": "Codertocat/Space", + "private": false + } + ], + "repositories_removed": [], + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2018-10-04T18:29:19Z", - "updated_at": "2018-10-04T18:29:21Z", - "pushed_at": "2018-10-04T18:29:59Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" }, "sender": { - "login": "rachmari", - "id": 3, - "node_id": "MDQ6VXNlcjM=", - "avatar_url": "https://avatars.octocoders.github.io/u/3?", + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/rachmari", - "html_url": "https://octocoders.github.io/rachmari", - "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers", - "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos", - "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", - "site_admin": true + "site_admin": false } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >installation + >issue_comment

    - Activity related to a GitHub App installation. The type of activity is - specified in the action property of the payload object. For - more information, see the "GitHub App installationaction property of the payload + object. For more information, see the "issue comments" REST API.

    -

    - + >Availability

    -

    - + action string - The action that was performed. Can be one of: - + The action that was performed on the comment. Can be one of + created, edited, or + deleted. + + + + changes + object + + The changes to the comment if the action was edited. + + + + changes[body][from] + string + + The previous version of the body if the action was + edited. + + + + issue + object + + The + issue + the comment belongs to. - repositories - array + comment + object - An array of repository objects that the installation can access. + The + comment + itself. + + + + repository + object + + The + repository + where the event occurred. + + + + organization + object + + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. installation object - The GitHub App installation. + + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. + sender @@ -5749,8 +6746,8 @@

    -

    - +

    {
    -  "action": "deleted",
    -  "installation": {
    -    "id": 5,
    -    "account": {
    +  "action": "created",
    +  "issue": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
    +    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1",
    +    "id": 10,
    +    "node_id": "MDU6SXNzdWUxMA==",
    +    "number": 1,
    +    "title": "Spelling error in the README file",
    +    "user": {
           "login": "Codertocat",
           "id": 4,
           "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
           "gravatar_id": "",
    -      "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat",
    -      "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat",
    -      "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers",
    -      "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs",
    -      "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos",
    -      "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
           "type": "User",
           "site_admin": false
         },
    -    "repository_selection": "selected",
    -    "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens",
    -    "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories",
    -    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5",
    -    "app_id": 2,
    -    "target_id": 4,
    -    "target_type": "User",
    -    "permissions": {
    -      "administration": "write",
    -      "checks": "write",
    -      "contents": "write",
    -      "deployments": "write",
    -      "issues": "write",
    -      "pages": "write",
    -      "pull_requests": "write",
    -      "repository_hooks": "write",
    -      "repository_projects": "write",
    -      "statuses": "write",
    -      "repository_pre_receive_hooks": "write",
    -      "metadata": "read",
    -      "vulnerability_alerts": "read"
    +    "labels": [
    +      {
    +        "id": 941,
    +        "node_id": "MDU6TGFiZWw5NDE=",
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug",
    +        "name": "bug",
    +        "color": "d73a4a",
    +        "default": true
    +      }
    +    ],
    +    "state": "open",
    +    "locked": false,
    +    "assignee": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "assignees": [
    +      {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      }
    +    ],
    +    "milestone": {
    +      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
    +      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
    +      "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
    +      "id": 2,
    +      "node_id": "MDk6TWlsZXN0b25lMg==",
    +      "number": 1,
    +      "title": "v1.0",
    +      "description": "Add new space flight simulator",
    +      "creator": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "open_issues": 1,
    +      "closed_issues": 0,
    +      "state": "closed",
    +      "created_at": "2019-05-15T19:37:52Z",
    +      "updated_at": "2019-05-15T19:37:53Z",
    +      "due_on": "2019-05-23T00:00:00Z",
    +      "closed_at": "2019-05-15T19:37:53Z"
    +    },
    +    "comments": 0,
    +    "created_at": "2019-05-15T19:37:53Z",
    +    "updated_at": "2019-05-15T19:37:55Z",
    +    "closed_at": null,
    +    "author_association": "OWNER",
    +    "body": "It looks like you accidently spelled 'commit' with two 't's."
    +  },
    +  "comment": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2",
    +    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
    +    "id": 2,
    +    "node_id": "MDEyOklzc3VlQ29tbWVudDI=",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "created_at": "2019-05-15T19:37:55Z",
    +    "updated_at": "2019-05-15T19:37:55Z",
    +    "author_association": "OWNER",
    +    "body": "You are totally right! I'll get this fixed right away."
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
         },
    -    "events": [
    -      "check_run",
    -      "check_suite",
    -      "commit_comment",
    -      "create",
    -      "delete",
    -      "deployment",
    -      "deployment_status",
    -      "fork",
    -      "gollum",
    -      "issues",
    -      "issue_comment",
    -      "label",
    -      "member",
    -      "membership",
    -      "milestone",
    -      "organization",
    -      "page_build",
    -      "project",
    -      "project_card",
    -      "project_column",
    -      "public",
    -      "pull_request",
    -      "pull_request_review",
    -      "pull_request_review_comment",
    -      "push",
    -      "release",
    -      "repository",
    -      "status",
    -      "team",
    -      "team_add",
    -      "watch"
    -    ],
    -    "created_at": "2019-05-15T19:37:38.000Z",
    -    "updated_at": "2019-05-15T19:37:38.000Z",
    -    "single_file_name": null
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:37:10Z",
    +    "pushed_at": "2019-05-15T19:37:50Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 1,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 1,
    +    "watchers": 0,
    +    "default_branch": "master"
       },
       "enterprise": {
         "id": 1,
         "slug": "github",
         "name": "GitHub",
         "node_id": "MDg6QnVzaW5lc3Mx",
    -    "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
         "description": null,
         "website_url": null,
    -    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github",
    +    "html_url": "https://octocoders.github.io/businesses/github",
         "created_at": "2019-05-14T19:31:12Z",
         "updated_at": "2019-05-14T19:31:12Z"
       },
    @@ -5870,27 +7040,31 @@ 

    "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >installation_repositories + >issues

    - Activity related to repositories being added to a GitHub App - installation. The type of activity is specified in the + Activity related to an issue. The type of activity is specified in the action property of the payload object. For more information, see the "GitHub App installationissues" REST API.

    -

    - + >Availability

    -

    - + action string - The action that was performed. Can be either added or - removed. + The action that was performed. Can be one of opened, + edited, deleted, pinned, + unpinned, closed, reopened, + assigned, unassigned, + labeled, unlabeled, locked, + unlocked, transferred, + milestoned, or demilestoned. - repository_selection + issue + object + + The + issue + itself. + + + + changes + object + + The changes to the issue if the action was edited. + + + + changes[title][from] string - The choice of repositories the installation is on. Can be either - selected or all. + The previous version of the title if the action was + edited. - repositories_added - array + changes[body][from] + string - An array of repository objects, which were added to the - installation. + The previous version of the body if the action was + edited. - repositories_removed - array + assignee + object - An array of repository objects, which were removed from the - installation. + The optional user who was assigned or unassigned from the issue. + + + + label + object + + The optional label that was added or removed from the issue. + + + + repository + object + + The + repository + where the event occurred. + + + + organization + object + + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. installation object - The GitHub App installation. + + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. + sender @@ -6018,8 +7252,11 @@

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >Webhook payload example + >Webhook payload example when someone edits an issue

    {
    -  "action": "added",
    -  "installation": {
    -    "id": 5,
    -    "account": {
    +  "action": "edited",
    +  "issue": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
    +    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1",
    +    "id": 10,
    +    "node_id": "MDU6SXNzdWUxMA==",
    +    "number": 1,
    +    "title": "Spelling error in the README file",
    +    "user": {
           "login": "Codertocat",
           "id": 4,
           "node_id": "MDQ6VXNlcjQ=",
    @@ -6064,76 +7310,199 @@ 

    "type": "User", "site_admin": false }, - "repository_selection": "selected", - "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", - "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", - "html_url": "https://octocoders.github.io/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "repository_pre_receive_hooks": "write", - "statuses": "write", - "repository_projects": "write", - "repository_hooks": "write", - "pull_requests": "write", - "pages": "write", - "issues": "write", - "deployments": "write", - "contents": "write", - "checks": "write", - "vulnerability_alerts": "read", - "metadata": "read" + "labels": [ + { + "id": 941, + "node_id": "MDU6TGFiZWw5NDE=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" + "assignees": [ + { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } ], - "created_at": 1557949058, - "updated_at": 1557949058, - "single_file_name": null + "milestone": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", + "id": 2, + "node_id": "MDk6TWlsZXN0b25lMg==", + "number": 1, + "title": "v1.0", + "description": "Add new space flight simulator", + "creator": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 1, + "closed_issues": 0, + "state": "closed", + "created_at": "2019-05-15T19:37:52Z", + "updated_at": "2019-05-15T19:37:53Z", + "due_on": "2019-05-23T00:00:00Z", + "closed_at": "2019-05-15T19:37:53Z" + }, + "comments": 0, + "created_at": "2019-05-15T19:37:53Z", + "updated_at": "2019-05-15T19:37:54Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "changes": {}, + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:37:50Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" }, - "repository_selection": "selected", - "repositories_added": [ - { - "id": 119, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", - "name": "Space", - "full_name": "Codertocat/Space", - "private": false - } - ], - "repositories_removed": [], "enterprise": { "id": 1, "slug": "github", @@ -6165,12 +7534,16 @@

    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >issue_comment + >label

    - Activity related to an issue or pull request comment. The type of - activity is specified in the action property of the payload - object. For more information, see the "issue commentsaction property of the payload object. For more + information, see the "labels" REST API.

    -

    - + -

    - + action string - The action that was performed on the comment. Can be one of - created, edited, or - deleted. + The action that was performed. Can be created, + edited, or deleted. + + label + object + The label that was added. + changes object - The changes to the comment if the action was edited. + The changes to the label if the action was edited. - changes[body][from] + changes[name][from] string - The previous version of the body if the action was + The previous version of the name if the action was edited. - issue - object - - The - issue - the comment belongs to. - - - - comment - object + changes[color][from] + string - The - comment - itself. + The previous version of the color if the action was + edited. @@ -6307,7 +7670,7 @@

    The repository where the event occurred. @@ -6319,7 +7682,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -6343,8 +7706,8 @@

    -

    - +

    {
    -  "action": "created",
    -  "issue": {
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
    -    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments",
    -    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events",
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1",
    -    "id": 10,
    -    "node_id": "MDU6SXNzdWUxMA==",
    -    "number": 1,
    -    "title": "Spelling error in the README file",
    -    "user": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    -    },
    -    "labels": [
    -      {
    -        "id": 941,
    -        "node_id": "MDU6TGFiZWw5NDE=",
    -        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug",
    -        "name": "bug",
    -        "color": "d73a4a",
    -        "default": true
    -      }
    -    ],
    -    "state": "open",
    -    "locked": false,
    -    "assignee": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    -    },
    -    "assignees": [
    -      {
    -        "login": "Codertocat",
    -        "id": 4,
    -        "node_id": "MDQ6VXNlcjQ=",
    -        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -        "gravatar_id": "",
    -        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -        "html_url": "https://octocoders.github.io/Codertocat",
    -        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -        "type": "User",
    -        "site_admin": false
    -      }
    -    ],
    -    "milestone": {
    -      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
    -      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
    -      "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
    -      "id": 2,
    -      "node_id": "MDk6TWlsZXN0b25lMg==",
    -      "number": 1,
    -      "title": "v1.0",
    -      "description": "Add new space flight simulator",
    -      "creator": {
    -        "login": "Codertocat",
    -        "id": 4,
    -        "node_id": "MDQ6VXNlcjQ=",
    -        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -        "gravatar_id": "",
    -        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -        "html_url": "https://octocoders.github.io/Codertocat",
    -        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -        "type": "User",
    -        "site_admin": false
    -      },
    -      "open_issues": 1,
    -      "closed_issues": 0,
    -      "state": "closed",
    -      "created_at": "2019-05-15T19:37:52Z",
    -      "updated_at": "2019-05-15T19:37:53Z",
    -      "due_on": "2019-05-23T00:00:00Z",
    -      "closed_at": "2019-05-15T19:37:53Z"
    -    },
    -    "comments": 0,
    -    "created_at": "2019-05-15T19:37:53Z",
    -    "updated_at": "2019-05-15T19:37:55Z",
    -    "closed_at": null,
    -    "author_association": "OWNER",
    -    "body": "It looks like you accidently spelled 'commit' with two 't's."
    -  },
    -  "comment": {
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2",
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2",
    -    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
    -    "id": 2,
    -    "node_id": "MDEyOklzc3VlQ29tbWVudDI=",
    -    "user": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    -    },
    -    "created_at": "2019-05-15T19:37:55Z",
    -    "updated_at": "2019-05-15T19:37:55Z",
    -    "author_association": "OWNER",
    -    "body": "You are totally right! I'll get this fixed right away."
    +  "action": "deleted",
    +  "label": {
    +    "id": 965,
    +    "node_id": "MDU6TGFiZWw5NjU=",
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix",
    +    "name": ":bug: Bugfix",
    +    "color": "cceeaa",
    +    "default": false
       },
       "repository": {
         "id": 118,
    @@ -6594,8 +7805,8 @@ 

    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", + "updated_at": "2019-05-15T19:38:25Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -6604,7 +7815,7 @@

    "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": null, + "language": "Ruby", "has_issues": true, "has_projects": true, "has_downloads": true, @@ -6614,10 +7825,10 @@

    "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 2, "license": null, "forks": 0, - "open_issues": 1, + "open_issues": 2, "watchers": 0, "default_branch": "master" }, @@ -6660,8 +7871,8 @@

    }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >issues + >member

    - Activity related to an issue. The type of activity is specified in the - action property of the payload object. For more - information, see the "issuesaction property of the payload object. For + more information, see the "collaborators" REST API.

    -

    - + -

    - + action string - The action that was performed. Can be one of opened, - edited, deleted, pinned, - unpinned, closed, reopened, - assigned, unassigned, - labeled, unlabeled, locked, - unlocked, transferred, - milestoned, or demilestoned. + The action that was performed. Can be one of: +
      +
    • + added - A user accepts an invitation to a + repository. +
    • +
    • + removed - A user is removed as a collaborator in + a repository. +
    • +
    • + edited - A user's collaborator permissions have + changed. +
    • +
    - issue + member object The -
    issue - itself. + user + that was added. changes object - The changes to the issue if the action was edited. - - - - changes[title][from] - string - - The previous version of the title if the action was + The changes to the collaborator permissions if the action was edited. - changes[body][from] + changes[old_permission][from] string - The previous version of the body if the action was + The previous permissions of the collaborator if the action was edited. - - assignee - object - - The optional user who was assigned or unassigned from the issue. - - - - label - object - - The optional label that was added or removed from the issue. - - repository object The repository where the event occurred. @@ -6825,7 +8021,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -6835,177 +8031,64 @@

    installation - object - - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. - - - - sender - object - The user that triggered the event. - - - -

    - - Webhook payload example when someone edits an issue -

    -
    -
    {
    -  "action": "edited",
    -  "issue": {
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
    -    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments",
    -    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events",
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1",
    -    "id": 10,
    -    "node_id": "MDU6SXNzdWUxMA==",
    -    "number": 1,
    -    "title": "Spelling error in the README file",
    -    "user": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    -    },
    -    "labels": [
    -      {
    -        "id": 941,
    -        "node_id": "MDU6TGFiZWw5NDE=",
    -        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug",
    -        "name": "bug",
    -        "color": "d73a4a",
    -        "default": true
    -      }
    -    ],
    -    "state": "open",
    -    "locked": false,
    -    "assignee": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    -    },
    -    "assignees": [
    -      {
    -        "login": "Codertocat",
    -        "id": 4,
    -        "node_id": "MDQ6VXNlcjQ=",
    -        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -        "gravatar_id": "",
    -        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -        "html_url": "https://octocoders.github.io/Codertocat",
    -        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -        "type": "User",
    -        "site_admin": false
    -      }
    -    ],
    -    "milestone": {
    -      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
    -      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
    -      "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
    -      "id": 2,
    -      "node_id": "MDk6TWlsZXN0b25lMg==",
    -      "number": 1,
    -      "title": "v1.0",
    -      "description": "Add new space flight simulator",
    -      "creator": {
    -        "login": "Codertocat",
    -        "id": 4,
    -        "node_id": "MDQ6VXNlcjQ=",
    -        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -        "gravatar_id": "",
    -        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -        "html_url": "https://octocoders.github.io/Codertocat",
    -        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -        "type": "User",
    -        "site_admin": false
    -      },
    -      "open_issues": 1,
    -      "closed_issues": 0,
    -      "state": "closed",
    -      "created_at": "2019-05-15T19:37:52Z",
    -      "updated_at": "2019-05-15T19:37:53Z",
    -      "due_on": "2019-05-23T00:00:00Z",
    -      "closed_at": "2019-05-15T19:37:53Z"
    -    },
    -    "comments": 0,
    -    "created_at": "2019-05-15T19:37:53Z",
    -    "updated_at": "2019-05-15T19:37:54Z",
    -    "closed_at": null,
    -    "author_association": "OWNER",
    -    "body": "It looks like you accidently spelled 'commit' with two 't's."
    +            object
    +            
    +              The GitHub App installation. Webhook payloads contain the
    +              installation property when the event is configured
    +              for and sent to a GitHub App.
    +            
    +          
    +          
    +            sender
    +            object
    +            The user that triggered the event.
    +          
    +        
    +      
    +      

    + + Webhook payload example +

    +
    +
    {
    +  "action": "added",
    +  "member": {
    +    "login": "Hacktocat",
    +    "id": 5,
    +    "node_id": "MDQ6VXNlcjU=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/5?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Hacktocat",
    +    "html_url": "https://octocoders.github.io/Hacktocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events",
    +    "type": "User",
    +    "site_admin": false
       },
    -  "changes": {},
       "repository": {
         "id": 118,
         "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    @@ -7073,8 +8156,8 @@ 

    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", + "updated_at": "2019-05-15T19:38:15Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -7083,20 +8166,20 @@

    "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": null, + "language": "Ruby", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 0, + "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 2, "license": null, - "forks": 0, - "open_issues": 1, + "forks": 1, + "open_issues": 2, "watchers": 0, "default_branch": "master" }, @@ -7139,8 +8222,8 @@

    }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >label + >membership

    - Activity related to a label. The type of activity is specified in the - action property of the payload object. For more + Activity related to team membership. The type of activity is specified + in the action property of the payload object. For more information, see the "labelsteam members" REST API.

    -

    - + >Availability

      -
    • Repository webhooks
    • Organization webhooks
    • -
    • GitHub Apps with the metadata permission
    • +
    • GitHub Apps with the members permission
    -

    - + action string - The action that was performed. Can be created, - edited, or deleted. - - - - label - object - The label that was added. - - - changes - object - - The changes to the label if the action was edited. + The action that was performed. Can be added or + removed. - changes[name][from] + scope string - The previous version of the name if the action was - edited. + The scope of the membership. Currently, can only be + team. - changes[color][from] - string + member + object - The previous version of the color if the action was - edited. + The + user + that was added or removed. - repository + team object The - repository - where the event occurred. + team + for the membership. @@ -7279,7 +8347,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -7303,8 +8371,8 @@

    -

    - +

    {
    -  "action": "deleted",
    -  "label": {
    -    "id": 965,
    -    "node_id": "MDU6TGFiZWw5NjU=",
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix",
    -    "name": ":bug: Bugfix",
    -    "color": "cceeaa",
    -    "default": false
    -  },
    -  "repository": {
    -    "id": 118,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    -    "name": "Hello-World",
    -    "full_name": "Codertocat/Hello-World",
    -    "private": false,
    -    "owner": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    -    },
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    -    "description": null,
    -    "fork": false,
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    -    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    -    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    -    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    -    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    -    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    -    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    -    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    -    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    -    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    -    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    -    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    -    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    -    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    -    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    -    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    -    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    -    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    -    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    -    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    -    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    -    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    -    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    -    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    -    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    -    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    -    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    -    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    -    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    -    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    -    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    -    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    -    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    -    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    -    "created_at": "2019-05-15T19:37:07Z",
    -    "updated_at": "2019-05-15T19:38:25Z",
    -    "pushed_at": "2019-05-15T19:38:23Z",
    -    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    -    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    -    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    -    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    -    "homepage": null,
    -    "size": 0,
    -    "stargazers_count": 0,
    -    "watchers_count": 0,
    -    "language": "Ruby",
    -    "has_issues": true,
    -    "has_projects": true,
    -    "has_downloads": true,
    -    "has_wiki": true,
    -    "has_pages": true,
    -    "forks_count": 0,
    -    "mirror_url": null,
    -    "archived": false,
    -    "disabled": false,
    -    "open_issues_count": 2,
    -    "license": null,
    -    "forks": 0,
    -    "open_issues": 2,
    -    "watchers": 0,
    -    "default_branch": "master"
    -  },
    -  "enterprise": {
    -    "id": 1,
    -    "slug": "github",
    -    "name": "GitHub",
    -    "node_id": "MDg6QnVzaW5lc3Mx",
    -    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    -    "description": null,
    -    "website_url": null,
    -    "html_url": "https://octocoders.github.io/businesses/github",
    -    "created_at": "2019-05-14T19:31:12Z",
    -    "updated_at": "2019-05-14T19:31:12Z"
    +  "action": "removed",
    +  "scope": "team",
    +  "member": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
       },
       "sender": {
         "login": "Codertocat",
    @@ -7461,15 +8436,50 @@ 

    "type": "User", "site_admin": false }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + "team": { + "name": "github", + "id": 3, + "node_id": "MDQ6VGVhbTM=", + "slug": "github", + "description": "Open-source team", + "privacy": "secret", + "url": "https://octocoders.github.io/api/v3/teams/3", + "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", + "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", + "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", + "permission": "pull" + }, + "organization": { + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", + "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", + "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", + "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", + "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", + "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "description": "" + }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >member + >meta

    - Activity related to repository collaborators. The type of activity is - specified in the action property of the payload object. For - more information, see the "collaborators" REST API. + The webhook this event is configured on was deleted. This event will + only listen for changes to the particular hook the event is installed + on. Therefore, it must be selected for each hook that you'd like to + receive meta events for.

    -

    - +
    • Repository webhooks
    • Organization webhooks
    • -
    • GitHub Apps with the members permission
    -

    - +
    action string - - The action that was performed. Can be one of: -
      -
    • - added - A user accepts an invitation to a - repository. -
    • -
    • - removed - A user is removed as a collaborator in - a repository. -
    • -
    • - edited - A user's collaborator permissions have - changed. -
    • -
    - + The action performed. Can be deleted. - member - object - - The -
    user - that was added. - + hook_id + integer + The id of the modified webhook. - changes + hook object - The changes to the collaborator permissions if the action was - edited. - - - - changes[old_permission][from] - string - - The previous permissions of the collaborator if the action was - edited. + The modified webhook. This will contain different keys based on + the type of webhook it is: repository, organization, business, + app, or GitHub Marketplace. @@ -7606,7 +8586,7 @@

    The repository where the event occurred. @@ -7618,7 +8598,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -7626,15 +8606,6 @@

    organization. - - installation - object - - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. - - sender object @@ -7642,8 +8613,8 @@

    -

    - +

    {
    -  "action": "added",
    -  "member": {
    -    "login": "Hacktocat",
    -    "id": 5,
    -    "node_id": "MDQ6VXNlcjU=",
    -    "avatar_url": "https://octocoders.github.io/avatars/u/5?",
    -    "gravatar_id": "",
    -    "url": "https://octocoders.github.io/api/v3/users/Hacktocat",
    -    "html_url": "https://octocoders.github.io/Hacktocat",
    -    "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers",
    -    "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}",
    -    "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}",
    -    "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}",
    -    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions",
    -    "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs",
    -    "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos",
    -    "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}",
    -    "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events",
    -    "type": "User",
    -    "site_admin": false
    +  "action": "deleted",
    +  "hook_id": 101047067,
    +  "hook": {
    +    "type": "Repository",
    +    "id": 101047067,
    +    "name": "web",
    +    "active": true,
    +    "events": [
    +      "meta"
    +    ],
    +    "config": {
    +      "content_type": "json",
    +      "insecure_ssl": "0",
    +      "url": "http://example.com/hook"
    +    },
    +    "updated_at": "2019-04-10T03:57:12Z",
    +    "created_at": "2019-04-10T03:57:12Z"
       },
       "repository": {
    -    "id": 118,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "id": 135493233,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
         "name": "Hello-World",
         "full_name": "Codertocat/Hello-World",
    -    "private": false,
         "owner": {
           "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
           "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
           "type": "User",
           "site_admin": false
         },
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "private": false,
    +    "html_url": "https://github.com/Codertocat/Hello-World",
         "description": null,
         "fork": false,
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    -    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    -    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    -    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    -    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    -    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    -    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    -    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    -    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    -    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    -    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    -    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    -    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    -    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    -    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    -    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    -    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    -    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    -    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    -    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    -    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    -    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    -    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    -    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    -    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    -    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    -    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    -    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    -    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    -    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    -    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    -    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    -    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    -    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    -    "created_at": "2019-05-15T19:37:07Z",
    -    "updated_at": "2019-05-15T19:38:15Z",
    -    "pushed_at": "2019-05-15T19:38:23Z",
    -    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    -    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    -    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    -    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "url": "https://api.github.com/repos/Codertocat/Hello-World",
    +    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2018-05-30T20:18:04Z",
    +    "updated_at": "2018-05-30T20:18:50Z",
    +    "pushed_at": "2018-05-30T20:18:48Z",
    +    "git_url": "git://github.com/Codertocat/Hello-World.git",
    +    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
    +    "clone_url": "https://github.com/Codertocat/Hello-World.git",
    +    "svn_url": "https://github.com/Codertocat/Hello-World",
         "homepage": null,
         "size": 0,
         "stargazers_count": 0,
         "watchers_count": 0,
    -    "language": "Ruby",
    +    "language": null,
         "has_issues": true,
         "has_projects": true,
         "has_downloads": true,
         "has_wiki": true,
         "has_pages": true,
    -    "forks_count": 1,
    +    "forks_count": 0,
         "mirror_url": null,
         "archived": false,
    -    "disabled": false,
    -    "open_issues_count": 2,
    +    "open_issues_count": 1,
         "license": null,
    -    "forks": 1,
    -    "open_issues": 2,
    +    "forks": 0,
    +    "open_issues": 1,
         "watchers": 0,
         "default_branch": "master"
       },
    -  "enterprise": {
    -    "id": 1,
    -    "slug": "github",
    -    "name": "GitHub",
    -    "node_id": "MDg6QnVzaW5lc3Mx",
    -    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    -    "description": null,
    -    "website_url": null,
    -    "html_url": "https://octocoders.github.io/businesses/github",
    -    "created_at": "2019-05-14T19:31:12Z",
    -    "updated_at": "2019-05-14T19:31:12Z"
    -  },
       "sender": {
         "login": "Codertocat",
    -    "id": 4,
    -    "node_id": "MDQ6VXNlcjQ=",
    -    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "id": 21031067,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
         "gravatar_id": "",
    -    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -    "html_url": "https://octocoders.github.io/Codertocat",
    -    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "url": "https://api.github.com/users/Codertocat",
    +    "html_url": "https://github.com/Codertocat",
    +    "followers_url": "https://api.github.com/users/Codertocat/followers",
    +    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +    "repos_url": "https://api.github.com/users/Codertocat/repos",
    +    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
         "type": "User",
         "site_admin": false
    -  },
    -  "installation": {
    -    "id": 5,
    -    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
       }
     }
     
    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >membership + >milestone

    - Activity related to team membership. The type of activity is specified - in the action property of the payload object. For more + Activity related to milestones. The type of activity is specified in the + action property of the payload object. For more information, see the "team membersmilestones" REST API.

    -

    - + >Availability

      +
    • Repository webhooks
    • Organization webhooks
    • -
    • GitHub Apps with the members permission
    • +
    • GitHub Apps with the pull_requests permission
    -

    - + action string - The action that was performed. Can be added or - removed. + The action that was performed. Can be one of created, + closed, opened (a closed milestone is + re-opened), edited, or deleted. - scope + milestone + object + The milestone itself. + + + changes + object + + The changes to the milestone if the action was + edited. + + + + changes[description][from] string - The scope of the membership. Currently, can only be - team. + The previous version of the description if the action was + edited. - member - object + changes[due_on][from] + string - The - user - that was added or removed. + The previous version of the due date if the action was + edited. - team + changes[title][from] + string + + The previous version of the title if the action was + edited. + + + + repository object The - team - for the membership. + repository + where the event occurred. @@ -7944,7 +8920,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -7968,8 +8944,8 @@

    -

    - +

    {
    -  "action": "removed",
    -  "scope": "team",
    -  "member": {
    -    "login": "Codertocat",
    -    "id": 4,
    -    "node_id": "MDQ6VXNlcjQ=",
    -    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -    "gravatar_id": "",
    -    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -    "html_url": "https://octocoders.github.io/Codertocat",
    -    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -    "type": "User",
    -    "site_admin": false
    +  "action": "created",
    +  "milestone": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
    +    "id": 2,
    +    "node_id": "MDk6TWlsZXN0b25lMg==",
    +    "number": 1,
    +    "title": "v1.0",
    +    "description": "Add new space flight simulator",
    +    "creator": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "open_issues": 0,
    +    "closed_issues": 0,
    +    "state": "open",
    +    "created_at": "2019-05-15T19:37:52Z",
    +    "updated_at": "2019-05-15T19:37:52Z",
    +    "due_on": "2019-05-23T00:00:00Z",
    +    "closed_at": null
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:37:10Z",
    +    "pushed_at": "2019-05-15T19:37:50Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
       },
       "sender": {
         "login": "Codertocat",
    @@ -8033,50 +9131,15 @@ 

    "type": "User", "site_admin": false }, - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >meta + >organization

    - The webhook this event is configured on was deleted. This event will - only listen for changes to the particular hook the event is installed - on. Therefore, it must be selected for each hook that you'd like to - receive meta events for. + Activity related to an organization and its members. The type of + activity is specified in the action property of the payload + object. For more information, see the "organizations" REST API.

    -

    - + >Availability

    -

    - +
    action string - The action performed. Can be deleted. - - - hook_id - integer - The id of the modified webhook. + + The action that was performed. Can be one of: + created, deleted, renamed, + member_added, member_removed, or + member_invited. + - hook + invitation object - The modified webhook. This will contain different keys based on - the type of webhook it is: repository, organization, business, - app, or GitHub Marketplace. + The invitation for the user or email if the action is + member_invited. - repository + membership object - The -
    repository - where the event occurred. + The membership between the user and the organization. Not present + when the action is member_invited. @@ -8195,7 +9266,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -8203,6 +9274,15 @@

    organization. + + installation + object + + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. + + sender object @@ -8210,8 +9290,8 @@

    -

    - +

    {
    -  "action": "deleted",
    -  "hook_id": 101047067,
    -  "hook": {
    -    "type": "Repository",
    -    "id": 101047067,
    -    "name": "web",
    -    "active": true,
    -    "events": [
    -      "meta"
    -    ],
    -    "config": {
    -      "content_type": "json",
    -      "insecure_ssl": "0",
    -      "url": "http://example.com/hook"
    -    },
    -    "updated_at": "2019-04-10T03:57:12Z",
    -    "created_at": "2019-04-10T03:57:12Z"
    -  },
    -  "repository": {
    -    "id": 135493233,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
    -    "name": "Hello-World",
    -    "full_name": "Codertocat/Hello-World",
    -    "owner": {
    -      "login": "Codertocat",
    -      "id": 21031067,
    -      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    -      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +  "action": "member_added",
    +  "membership": {
    +    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat",
    +    "state": "active",
    +    "role": "member",
    +    "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
    +    "user": {
    +      "login": "Hacktocat",
    +      "id": 5,
    +      "node_id": "MDQ6VXNlcjU=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/5?",
           "gravatar_id": "",
    -      "url": "https://api.github.com/users/Codertocat",
    -      "html_url": "https://github.com/Codertocat",
    -      "followers_url": "https://api.github.com/users/Codertocat/followers",
    -      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    -      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    -      "repos_url": "https://api.github.com/users/Codertocat/repos",
    -      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +      "url": "https://octocoders.github.io/api/v3/users/Hacktocat",
    +      "html_url": "https://octocoders.github.io/Hacktocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events",
           "type": "User",
           "site_admin": false
    -    },
    -    "private": false,
    -    "html_url": "https://github.com/Codertocat/Hello-World",
    +    }
    +  },
    +  "organization": {
    +    "login": "Octocoders",
    +    "id": 6,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
    +    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
    +    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
    +    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
    +    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
    +    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +    "description": ""
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
         "description": null,
    -    "fork": false,
    -    "url": "https://api.github.com/repos/Codertocat/Hello-World",
    -    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
    -    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
    -    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    -    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
    -    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
    -    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
    -    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
    -    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
    -    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
    -    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
    -    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
    -    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
    -    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
    -    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
    -    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
    -    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
    -    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
    -    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
    -    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
    -    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
    -    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
    -    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
    -    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
    -    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
    -    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
    -    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
    -    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
    -    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    -    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
    -    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
    -    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
    -    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
    -    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    -    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
    -    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
    -    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
    -    "created_at": "2018-05-30T20:18:04Z",
    -    "updated_at": "2018-05-30T20:18:50Z",
    -    "pushed_at": "2018-05-30T20:18:48Z",
    -    "git_url": "git://github.com/Codertocat/Hello-World.git",
    -    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
    -    "clone_url": "https://github.com/Codertocat/Hello-World.git",
    -    "svn_url": "https://github.com/Codertocat/Hello-World",
    -    "homepage": null,
    -    "size": 0,
    -    "stargazers_count": 0,
    -    "watchers_count": 0,
    -    "language": null,
    -    "has_issues": true,
    -    "has_projects": true,
    -    "has_downloads": true,
    -    "has_wiki": true,
    -    "has_pages": true,
    -    "forks_count": 0,
    -    "mirror_url": null,
    -    "archived": false,
    -    "open_issues_count": 1,
    -    "license": null,
    -    "forks": 0,
    -    "open_issues": 1,
    -    "watchers": 0,
    -    "default_branch": "master"
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
       },
       "sender": {
         "login": "Codertocat",
    -    "id": 21031067,
    -    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    -    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
         "gravatar_id": "",
    -    "url": "https://api.github.com/users/Codertocat",
    -    "html_url": "https://github.com/Codertocat",
    -    "followers_url": "https://api.github.com/users/Codertocat/followers",
    -    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    -    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    -    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    -    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    -    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    -    "repos_url": "https://api.github.com/users/Codertocat/repos",
    -    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    -    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
         "type": "User",
         "site_admin": false
       }
     }
     
    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >milestone + >package

    - Activity related to milestones. The type of activity is specified in the - action property of the payload object. For more - information, see the "milestones" REST API. + Activity related to GitHub Packages. The type of activity is specified + in the action property of the payload object. For more + information, see "Managing packages with GitHub Packages" to learn more about GitHub Packages.

    -

    - +
    • Repository webhooks
    • Organization webhooks
    • -
    • GitHub Apps with the pull_requests permission
    -

    - + action string - The action that was performed. Can be one of created, - closed, opened (a closed milestone is - re-opened), edited, or deleted. + The action that was performed. Can be published or + updated. - milestone - object - The milestone itself. - - - changes + package object - - The changes to the milestone if the action was - edited. - - - - changes[description][from] - string - - The previous version of the description if the action was - edited. - - - - changes[due_on][from] - string - - The previous version of the due date if the action was - edited. - - - - changes[title][from] - string - - The previous version of the title if the action was - edited. - + Information about the package. repository @@ -8505,7 +9493,7 @@

    The repository where the event occurred. @@ -8517,7 +9505,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -8525,15 +9513,6 @@

    organization. - - installation - object - - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. - - sender object @@ -8541,8 +9520,8 @@

    -

    - +

    {
    -  "action": "created",
    -  "milestone": {
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
    -    "id": 2,
    -    "node_id": "MDk6TWlsZXN0b25lMg==",
    -    "number": 1,
    -    "title": "v1.0",
    -    "description": "Add new space flight simulator",
    -    "creator": {
    +  "action": "published",
    +  "package": {
    +    "id": 10696,
    +    "name": "hello-world-npm",
    +    "namespace": "Codertocat/hello-world-npm",
    +    "description": null,
    +    "ecosystem": "docker",
    +    "package_type": "npm",
    +    "html_url": "https://github.com/Codertocat/hello-world-npm/packages/10696",
    +    "created_at": "2019-05-09T23:28:29Z",
    +    "updated_at": "2019-05-09T23:28:29Z",
    +    "owner": {
           "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
           "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
           "type": "User",
           "site_admin": false
         },
    -    "open_issues": 0,
    -    "closed_issues": 0,
    -    "state": "open",
    -    "created_at": "2019-05-15T19:37:52Z",
    -    "updated_at": "2019-05-15T19:37:52Z",
    -    "due_on": "2019-05-23T00:00:00Z",
    -    "closed_at": null
    +    "package_version": {
    +      "id": 24147,
    +      "version": "1.0.0",
    +      "summary": "A simple npm package to demonstrate GitHub Packages",
    +      "name": "sha256:3da1996a8115d7616457760d9920b815241d0a03b34cf5f04e9a0e9d8de37498",
    +      "description": "",
    +      "body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [Github Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
    +      "body_html": "<h1>hello-world-npm</h1>\n<p>This is a simple npm package that demonstrates the <a href=\"https://github.com/features/package\">Github Package Registry</a>.</p>\n<h2>Installation</h2>\n<p><code>$ npm install</code></p>\n<h2>Usage</h2>\n<pre><code>const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n</code></pre>",
    +      "release": {
    +        "url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases/17264286",
    +        "html_url": "https://github.com/Codertocat/hello-world-npm/releases/tag/1.0.0",
    +        "id": 17264286,
    +        "tag_name": "1.0.0",
    +        "target_commitish": "master",
    +        "name": "1.0.0",
    +        "draft": false,
    +        "author": {
    +          "login": "Codertocat",
    +          "id": 21031067,
    +          "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +          "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +          "gravatar_id": "",
    +          "url": "https://api.github.com/users/Codertocat",
    +          "html_url": "https://github.com/Codertocat",
    +          "followers_url": "https://api.github.com/users/Codertocat/followers",
    +          "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +          "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +          "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +          "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +          "repos_url": "https://api.github.com/users/Codertocat/repos",
    +          "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +          "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "prerelease": false,
    +        "created_at": "2019-05-09T23:24:40Z",
    +        "published_at": "2019-05-09T23:26:59Z"
    +      },
    +      "manifest": "{\"_from\":\"\",\"_id\":\"@codertocat/hello-world-npm@1.0.0\",\"_nodeVersion\":\"10.0.0\",\"_npmUser\":{},\"_npmVersion\":\"5.6.0\",\"_shasum\":\"\",\"author\":{\"name\":\"Codertocat\"},\"bugs\":{\"url\":\"https://github.com/Codertocat/hello-world-npm/issues\"},\"description\":\"A simple npm package to demonstrate GitHub Package Registry\",\"dependencies\":null,\"devDependencies\":null,\"peerDependencies\":null,\"dist\":{\"integrity\":\"sha512-CcChRwjJk+pvGVERbgdjc0w5h6HrOs6jK6OJuHmFcmbnGuhiy9tPMtb4WcSSdvwrktAxf96LsJBNqeIHAEHl3A==\",\"shasum\":\"a413c56a12997ca1b56715ebe81d8c6e0ffe6abb\",\"tarball\":\"http://npm.pkg.github.com/@codertocat/hello-world-npm/-/@codertocat/hello-world-npm-1.0.0.tgz\"},\"gitHead\":\"6c62fb45fe66bfb1ea9a66abc38f6a0cc974292b\",\"homepage\":\"https://github.com/Codertocat/hello-world-npm#readme\",\"license\":\"ISC\",\"main\":\"index.js\",\"name\":\"@codertocat/hello-world-npm\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/Codertocat/hello-world-npm.git\"},\"scripts\":{\"test\":\"echo \\\"Error: no test specified\\\" \\u0026\\u0026 exit 1\"},\"version\":\"1.0.0\"}",
    +      "html_url": "https://github.com/Codertocat/hello-world-npm/packages/10696?version=1.0.0",
    +      "tag_name": "1.0.0",
    +      "target_commitish": "master",
    +      "target_oid": "6c62fb45fe66bfb1ea9a66abc38f6a0cc974292b",
    +      "draft": false,
    +      "prerelease": false,
    +      "created_at": "2019-05-09T23:28:29Z",
    +      "updated_at": "2019-05-09T23:28:30Z",
    +      "metadata": [],
    +      "docker_metadata": [],
    +      "package_files": [
    +        {
    +          "download_url": "https://github-production-package-file-4f11e5.s3.amazonaws.com/185882436/3e6d9b00-7288-11e9-9d72-c0df4c711800?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190509%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190509T232830Z&X-Amz-Expires=300&X-Amz-Signature=4b825c49cd93370123a77d0f97a4ebb0d44efb76da46faf1e382f0c668b35819&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=filename%3Dhello-world-npm-1.0.0-npm.tgz&response-content-type=application%2Foctet-stream",
    +          "id": 92167,
    +          "name": "hello-world-npm-1.0.0-npm.tgz",
    +          "sha256": "ba703915435b6ca2ca666b5d8332db34bf9dc37a198ed70d3a5fa5d08b8415c8",
    +          "sha1": "a413c56a12997ca1b56715ebe81d8c6e0ffe6abb",
    +          "md5": "56ebbd5a5a03367f62d0c732bafd3c66",
    +          "content_type": "application/octet-stream",
    +          "state": "uploaded",
    +          "size": 654,
    +          "created_at": "2019-05-09T23:28:30Z",
    +          "updated_at": "2019-05-09T23:28:30Z"
    +        }
    +      ],
    +      "author": {
    +        "login": "Codertocat",
    +        "id": 21031067,
    +        "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +        "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +        "gravatar_id": "",
    +        "url": "https://api.github.com/users/Codertocat",
    +        "html_url": "https://github.com/Codertocat",
    +        "followers_url": "https://api.github.com/users/Codertocat/followers",
    +        "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +        "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +        "repos_url": "https://api.github.com/users/Codertocat/repos",
    +        "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "source_url": "ghcr.io/Codertocat/hello-world-npm/image-1:v1",
    +      "installation_command": "npm install @Codertocat/@1.0.0"
    +    },
    +    "registry": {
    +      "about_url": "https://help.github.com/about-github-packages",
    +      "name": "GitHub npm registry",
    +      "type": "npm",
    +      "url": "https://npm.pkg.github.com/@Codertocat",
    +      "vendor": "GitHub Inc"
    +    }
       },
       "repository": {
    -    "id": 118,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    -    "name": "Hello-World",
    -    "full_name": "Codertocat/Hello-World",
    -    "private": false,
    +    "id": 185882436,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxODU4ODI0MzY=",
    +    "name": "hello-world-npm",
    +    "full_name": "Codertocat/hello-world-npm",
    +    "private": true,
         "owner": {
           "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
           "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
           "type": "User",
           "site_admin": false
         },
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "html_url": "https://github.com/Codertocat/hello-world-npm",
         "description": null,
         "fork": false,
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    -    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    -    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    -    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    -    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    -    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    -    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    -    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    -    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    -    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    -    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    -    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    -    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    -    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    -    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    -    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    -    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    -    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    -    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    -    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    -    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    -    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    -    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    -    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    -    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    -    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    -    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    -    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    -    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    -    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    -    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    -    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    -    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    -    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    -    "created_at": "2019-05-15T19:37:07Z",
    -    "updated_at": "2019-05-15T19:37:10Z",
    -    "pushed_at": "2019-05-15T19:37:50Z",
    -    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    -    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    -    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    -    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "url": "https://api.github.com/repos/Codertocat/hello-world-npm",
    +    "forks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/forks",
    +    "keys_url": "https://api.github.com/repos/Codertocat/hello-world-npm/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world-npm/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/Codertocat/hello-world-npm/teams",
    +    "hooks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/hooks",
    +    "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/Codertocat/hello-world-npm/events",
    +    "assignees_url": "https://api.github.com/repos/Codertocat/hello-world-npm/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/Codertocat/hello-world-npm/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/Codertocat/hello-world-npm/tags",
    +    "blobs_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/Codertocat/hello-world-npm/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/Codertocat/hello-world-npm/languages",
    +    "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world-npm/stargazers",
    +    "contributors_url": "https://api.github.com/repos/Codertocat/hello-world-npm/contributors",
    +    "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world-npm/subscribers",
    +    "subscription_url": "https://api.github.com/repos/Codertocat/hello-world-npm/subscription",
    +    "commits_url": "https://api.github.com/repos/Codertocat/hello-world-npm/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/Codertocat/hello-world-npm/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/Codertocat/hello-world-npm/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/Codertocat/hello-world-npm/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/Codertocat/hello-world-npm/merges",
    +    "archive_url": "https://api.github.com/repos/Codertocat/hello-world-npm/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/Codertocat/hello-world-npm/downloads",
    +    "issues_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/Codertocat/hello-world-npm/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/Codertocat/hello-world-npm/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/Codertocat/hello-world-npm/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/Codertocat/hello-world-npm/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/Codertocat/hello-world-npm/deployments",
    +    "created_at": "2019-05-09T22:53:26Z",
    +    "updated_at": "2019-05-09T23:24:42Z",
    +    "pushed_at": "2019-05-09T23:27:00Z",
    +    "git_url": "git://github.com/Codertocat/hello-world-npm.git",
    +    "ssh_url": "git@github.com:Codertocat/hello-world-npm.git",
    +    "clone_url": "https://github.com/Codertocat/hello-world-npm.git",
    +    "svn_url": "https://github.com/Codertocat/hello-world-npm",
         "homepage": null,
         "size": 0,
         "stargazers_count": 0,
         "watchers_count": 0,
    -    "language": null,
    +    "language": "JavaScript",
         "has_issues": true,
         "has_projects": true,
         "has_downloads": true,
         "has_wiki": true,
    -    "has_pages": true,
    +    "has_pages": false,
         "forks_count": 0,
         "mirror_url": null,
         "archived": false,
    @@ -8696,47 +9765,31 @@ 

    "watchers": 0, "default_branch": "master" }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, "sender": { "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", "type": "User", "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >organization + >page_build

    - Activity related to an organization and its members. The type of - activity is specified in the action property of the payload - object. For more information, see the "organizations" REST API. + Represents an attempted build of a GitHub Pages site, whether successful + or not. A push to a GitHub Pages enabled branch (gh-pages + for project pages, the default branch for user and organization pages) + triggers this event.

    -

    - + >Availability

    -

    - +
    -
    action - string - - The action that was performed. Can be one of: - created, deleted, renamed, - member_added, member_removed, or - member_invited. - + id + integer + The unique identifier of the page build. - invitation + build object - The invitation for the user or email if the action is - member_invited. + The +
    List GitHub Pages builds + itself. - membership + repository object - The membership between the user and the organization. Not present - when the action is member_invited. + The + repository + where the event occurred. @@ -8863,7 +9907,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -8887,8 +9931,8 @@

    -

    - +

    {
    -  "action": "member_added",
    -  "membership": {
    -    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat",
    -    "state": "active",
    -    "role": "member",
    -    "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
    -    "user": {
    -      "login": "Hacktocat",
    -      "id": 5,
    -      "node_id": "MDQ6VXNlcjU=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/5?",
    +  "id": 7,
    +  "build": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7",
    +    "status": "built",
    +    "error": {
    +      "message": null
    +    },
    +    "pusher": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
           "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Hacktocat",
    -      "html_url": "https://octocoders.github.io/Hacktocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "commit": "3648135c2986115284ae152d90459473b15fd19c",
    +    "duration": 6917,
    +    "created_at": "2019-05-15T19:38:15Z",
    +    "updated_at": "2019-05-15T19:38:22Z"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
           "type": "User",
           "site_admin": false
    -    }
    -  },
    -  "organization": {
    -    "login": "Octocoders",
    -    "id": 6,
    -    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    -    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
    -    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
    -    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
    -    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
    -    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
    -    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
    -    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
    -    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    -    "description": ""
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": "2019-05-15T19:38:19Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
       },
       "enterprise": {
         "id": 1,
    @@ -8982,12 +10111,16 @@ 

    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >page_build + >ping

    - Represents an attempted build of a GitHub Pages site, whether successful - or not. A push to a GitHub Pages enabled branch (gh-pages - for project pages, the default branch for user and organization pages) - triggers this event. + When you create a new webhook, we'll send you a simple + ping event to let you know you've set up the webhook + correctly. This event isn't stored so it isn't retrievable via the + Events API + endpoint.

    -

    - +
    • Repository webhooks
    • Organization webhooks
    • -
    • GitHub Apps with the pages permission
    • +
    • + GitHub Apps receive a ping event with an app_id used to + register the app +
    -

    - +
    -
    id + zen + string + Random string of GitHub zen. + + + hook_id integer - The unique identifier of the page build. + The ID of the webhook that triggered the ping. - build + hook object The
    List GitHub Pages buildswebhook configuration. + + + + hook[app_id] + integer + + When you register a new GitHub App, GitHub Enterprise Server sends + a ping event to the webhook URL you specified + during registration. The event contains the app_id, + which is required for + authenticating - itself. + an app. @@ -9093,7 +10252,7 @@

    The repository where the event occurred. @@ -9105,7 +10264,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -9113,15 +10272,6 @@

    organization. - - installation - object - - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. - - sender object @@ -9129,8 +10279,8 @@

    -

    - +

    {
    -  "id": 7,
    -  "build": {
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7",
    -    "status": "built",
    -    "error": {
    -      "message": null
    -    },
    -    "pusher": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    +  "zen": "Non-blocking is better than blocking.",
    +  "hook_id": 30,
    +  "hook": {
    +    "type": "Repository",
    +    "id": 30,
    +    "name": "web",
    +    "active": true,
    +    "events": [
    +      "*"
    +    ],
    +    "config": {
    +      "content_type": "json",
    +      "url": "https://smee.io/YEbF2t8kjvPAn7Ck",
    +      "insecure_ssl": "0"
         },
    -    "commit": "3648135c2986115284ae152d90459473b15fd19c",
    -    "duration": 6917,
    -    "created_at": "2019-05-15T19:38:15Z",
    -    "updated_at": "2019-05-15T19:38:22Z"
    +    "updated_at": "2019-05-15T19:38:17Z",
    +    "created_at": "2019-05-15T19:38:17Z",
    +    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30",
    +    "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test",
    +    "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings",
    +    "last_response": {
    +      "code": null,
    +      "status": "unused",
    +      "message": null
    +    }
       },
       "repository": {
    -    "id": 118,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "id": 120,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
         "name": "Hello-World",
    -    "full_name": "Codertocat/Hello-World",
    +    "full_name": "Octocoders/Hello-World",
         "private": false,
    -    "owner": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    +    "owner": {
    +      "login": "Octocoders",
    +      "id": 6,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +      "html_url": "https://octocoders.github.io/Octocoders",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +      "type": "Organization",
           "site_admin": false
         },
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
         "description": null,
    -    "fork": false,
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    -    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    -    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    -    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    -    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    -    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    -    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    -    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    -    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    -    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    -    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    -    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    -    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    -    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    -    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    -    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    -    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    -    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    -    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    -    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    -    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    -    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    -    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    -    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    -    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    -    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    -    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    -    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    -    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    -    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    -    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    -    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    -    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    -    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    -    "created_at": "2019-05-15T19:37:07Z",
    -    "updated_at": "2019-05-15T19:38:15Z",
    -    "pushed_at": "2019-05-15T19:38:19Z",
    -    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    -    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    -    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    -    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "fork": true,
    +    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:38:10Z",
    +    "updated_at": "2019-05-15T19:38:14Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
         "homepage": null,
         "size": 0,
         "stargazers_count": 0,
         "watchers_count": 0,
         "language": "Ruby",
    -    "has_issues": true,
    +    "has_issues": false,
         "has_projects": true,
         "has_downloads": true,
         "has_wiki": true,
    -    "has_pages": true,
    -    "forks_count": 1,
    +    "has_pages": false,
    +    "forks_count": 0,
         "mirror_url": null,
         "archived": false,
         "disabled": false,
    -    "open_issues_count": 2,
    +    "open_issues_count": 0,
         "license": null,
    -    "forks": 1,
    -    "open_issues": 2,
    +    "forks": 0,
    +    "open_issues": 0,
         "watchers": 0,
         "default_branch": "master"
       },
    -  "enterprise": {
    -    "id": 1,
    -    "slug": "github",
    -    "name": "GitHub",
    -    "node_id": "MDg6QnVzaW5lc3Mx",
    -    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    -    "description": null,
    -    "website_url": null,
    -    "html_url": "https://octocoders.github.io/businesses/github",
    -    "created_at": "2019-05-14T19:31:12Z",
    -    "updated_at": "2019-05-14T19:31:12Z"
    -  },
       "sender": {
         "login": "Codertocat",
         "id": 4,
    @@ -9309,16 +10441,12 @@ 

    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >ping + >project

    - When you create a new webhook, we'll send you a simple - ping event to let you know you've set up the webhook - correctly. This event isn't stored so it isn't retrievable via the - Events API - endpoint. + Activity related to project boards. The type of activity is specified in + the action property of the payload object. For more + information, see the "projects" REST API.

    -

    - +
  • Repository webhooks
  • Organization webhooks
  • - GitHub Apps receive a ping event with an app_id used to - register the app + GitHub Apps with the repository_projects or + organization_projects permission
  • -

    - +
    -
    zen + action string - Random string of GitHub zen. + + The action that was performed on the project. Can be one of + created, edited, closed, + reopened, or deleted. + - hook_id - integer - The ID of the webhook that triggered the ping. + changes + object + + The changes to the project if the action was edited. + - hook - object + changes[name][from] + string - The -
    webhook configuration. + The previous version of the name if the action was + edited. - hook[app_id] - integer + changes[body][from] + string - When you register a new GitHub App, GitHub Enterprise Server sends - a ping event to the webhook URL you specified - during registration. The event contains the app_id, - which is required for - authenticatingedited
    . + + + + project + object + + The + project - an app. + itself. @@ -9450,7 +10583,7 @@

    The repository where the event occurred. @@ -9462,7 +10595,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -9470,6 +10603,15 @@

    organization. + + installation + object + + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. + + sender object @@ -9477,8 +10619,8 @@

    -

    - + height="16" fill="currentColor" style=" - display: inline-block; - user-select: none; - vertical-align: middle; - " - > - Webhook payload example -

    -
    -
    {
    -  "zen": "Non-blocking is better than blocking.",
    -  "hook_id": 30,
    -  "hook": {
    -    "type": "Repository",
    -    "id": 30,
    -    "name": "web",
    -    "active": true,
    -    "events": [
    -      "*"
    -    ],
    -    "config": {
    -      "content_type": "json",
    -      "url": "https://smee.io/YEbF2t8kjvPAn7Ck",
    -      "insecure_ssl": "0"
    +              display: inline-block;
    +              user-select: none;
    +              vertical-align: middle;
    +            "
    +          >
    +            Webhook payload example
    +      

    +
    +
    {
    +  "action": "created",
    +  "project": {
    +    "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "url": "https://octocoders.github.io/api/v3/projects/6",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1",
    +    "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns",
    +    "id": 6,
    +    "node_id": "MDc6UHJvamVjdDY=",
    +    "name": "Space 2.0",
    +    "body": "Project tasks for a trip to Space",
    +    "number": 1,
    +    "state": "open",
    +    "creator": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
         },
    -    "updated_at": "2019-05-15T19:38:17Z",
    -    "created_at": "2019-05-15T19:38:17Z",
    -    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30",
    -    "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test",
    -    "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings",
    -    "last_response": {
    -      "code": null,
    -      "status": "unused",
    -      "message": null
    -    }
    +    "created_at": "2019-05-15T19:38:27Z",
    +    "updated_at": "2019-05-15T19:38:27Z"
       },
       "repository": {
    -    "id": 120,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
         "name": "Hello-World",
    -    "full_name": "Octocoders/Hello-World",
    +    "full_name": "Codertocat/Hello-World",
         "private": false,
         "owner": {
    -      "login": "Octocoders",
    -      "id": 6,
    -      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
           "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    -      "html_url": "https://octocoders.github.io/Octocoders",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    -      "type": "Organization",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
           "site_admin": false
         },
    -    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
         "description": null,
    -    "fork": true,
    -    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
    -    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
    -    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
    -    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
    -    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
    -    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
    -    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
    -    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
    -    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
    -    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
    -    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
    -    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
    -    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
    -    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
    -    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
    -    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
    -    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
    -    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
    -    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
    -    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
    -    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
    -    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
    -    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
    -    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
    -    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
    -    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
    -    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
    -    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
    -    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
    -    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
    -    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
    -    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
    -    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
    -    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
    -    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
    -    "created_at": "2019-05-15T19:38:10Z",
    -    "updated_at": "2019-05-15T19:38:14Z",
    -    "pushed_at": "2019-05-15T19:38:03Z",
    -    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
    -    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
    -    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
    -    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:27Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
         "homepage": null,
         "size": 0,
         "stargazers_count": 0,
         "watchers_count": 0,
         "language": "Ruby",
    -    "has_issues": false,
    +    "has_issues": true,
         "has_projects": true,
         "has_downloads": true,
         "has_wiki": true,
    -    "has_pages": false,
    +    "has_pages": true,
         "forks_count": 0,
         "mirror_url": null,
         "archived": false,
         "disabled": false,
    -    "open_issues_count": 0,
    +    "open_issues_count": 2,
         "license": null,
         "forks": 0,
    -    "open_issues": 0,
    +    "open_issues": 2,
         "watchers": 0,
         "default_branch": "master"
       },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
       "sender": {
         "login": "Codertocat",
         "id": 4,
    @@ -9639,12 +10802,16 @@ 

    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >project + >project_card

    - Activity related to project boards. The type of activity is specified in + Activity related to project cards. The type of activity is specified in the action property of the payload object. For more information, see the "projectsproject cards" REST API.

    -

    - + organization_projects permission -

    - + action string - The action that was performed on the project. Can be one of - created, edited, closed, - reopened, or deleted. + The action performed on the project card. Can be + created, edited, moved, + converted, or deleted. changes object - The changes to the project if the action was edited. + The changes to the project card if the action was + edited or converted. - changes[name][from] + changes[note][from] string - The previous version of the name if the action was - edited. + The previous version of the note if the action was + edited or converted. - changes[body][from] - string + after_id + integer - The previous version of the body if the action was - edited. + The id of the card that this card now follows if the action was + "moved". Will be null if it is the first card in a + column. - project + project_card object The - projectproject card itself. @@ -9781,7 +10950,7 @@

    The repository where the event occurred. @@ -9793,7 +10962,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -9817,8 +10986,8 @@

    -

    - +
    {
       "action": "created",
    -  "project": {
    -    "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -    "url": "https://octocoders.github.io/api/v3/projects/6",
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1",
    -    "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns",
    -    "id": 6,
    -    "node_id": "MDc6UHJvamVjdDY=",
    -    "name": "Space 2.0",
    -    "body": "Project tasks for a trip to Space",
    -    "number": 1,
    -    "state": "open",
    +  "project_card": {
    +    "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8",
    +    "project_url": "https://octocoders.github.io/api/v3/projects/6",
    +    "column_url": "https://octocoders.github.io/api/v3/projects/columns/8",
    +    "column_id": 8,
    +    "id": 8,
    +    "node_id": "MDExOlByb2plY3RDYXJkOA==",
    +    "note": "Work that can be completed in one hour or less.",
    +    "archived": false,
         "creator": {
           "login": "Codertocat",
           "id": 4,
    @@ -9872,8 +11039,8 @@ 

    "type": "User", "site_admin": false }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" + "created_at": "2019-05-15T19:39:01Z", + "updated_at": "2019-05-15T19:39:01Z" }, "repository": { "id": 118, @@ -10000,16 +11167,12 @@

    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >project_card + >project_column

    - Activity related to project cards. The type of activity is specified in - the action property of the payload object. For more - information, see the "project cardsaction property of the payload object. For + more information, see the "project columns" REST API.

    -

    - + organization_projects permission -

    - + action string - The action performed on the project card. Can be - created, edited, moved, - converted, or deleted. + The action that was performed on the project column. Can be one of + created, edited, moved or + deleted. changes object - The changes to the project card if the action was - edited or converted. + The changes to the project column if the action was + edited. - changes[note][from] + changes[name][from] string - The previous version of the note if the action was - edited or converted. + The previous version of the name if the action was + edited. after_id integer - The id of the card that this card now follows if the action was - "moved". Will be null if it is the first card in a - column. + The id of the column that this column now follows if the action + was "moved". Will be null if it is the first column + in a project. - project_card + project_column object The - project cardproject column itself. @@ -10148,7 +11312,7 @@

    The repository where the event occurred. @@ -10160,7 +11324,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -10184,8 +11348,8 @@

    -

    - +
    {
       "action": "created",
    -  "project_card": {
    -    "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8",
    +  "project_column": {
    +    "url": "https://octocoders.github.io/api/v3/projects/columns/8",
         "project_url": "https://octocoders.github.io/api/v3/projects/6",
    -    "column_url": "https://octocoders.github.io/api/v3/projects/columns/8",
    -    "column_id": 8,
    +    "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards",
         "id": 8,
    -    "node_id": "MDExOlByb2plY3RDYXJkOA==",
    -    "note": "Work that can be completed in one hour or less.",
    -    "archived": false,
    -    "creator": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    -    },
    +    "node_id": "MDEzOlByb2plY3RDb2x1bW44",
    +    "name": "Small bugfixes",
         "created_at": "2019-05-15T19:39:01Z",
         "updated_at": "2019-05-15T19:39:01Z"
       },
    @@ -10365,12 +11507,16 @@ 

    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >project_column + >public

    - Activity related to columns in a project board. The type of activity is - specified in the action property of the payload object. For - more information, see the "project columns" REST API. + When a private repository is made public. Without a doubt: the best + GitHub Enterprise Server event.

    -

    - +
    • Repository webhooks
    • Organization webhooks
    • -
    • - GitHub Apps with the repository_projects or - organization_projects permission -
    • +
    • GitHub Apps with the metadata permission
    -

    - + -
    -
    action - string - - The action that was performed on the project column. Can be one of - created, edited, moved or - deleted. - - - - changes - object - - The changes to the project column if the action was - edited. - - - - changes[name][from] - string - - The previous version of the name if the action was - edited. - - - - after_id - integer - - The id of the column that this column now follows if the action - was "moved". Will be null if it is the first column - in a project. - - - - project_column - object - - The -
    project column - itself. - - repository object The repository where the event occurred. @@ -10522,7 +11615,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -10546,8 +11639,8 @@

    -

    - +

    {
    -  "action": "created",
    -  "project_column": {
    -    "url": "https://octocoders.github.io/api/v3/projects/columns/8",
    -    "project_url": "https://octocoders.github.io/api/v3/projects/6",
    -    "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards",
    -    "id": 8,
    -    "node_id": "MDEzOlByb2plY3RDb2x1bW44",
    -    "name": "Small bugfixes",
    -    "created_at": "2019-05-15T19:39:01Z",
    -    "updated_at": "2019-05-15T19:39:01Z"
    -  },
       "repository": {
         "id": 118,
         "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    @@ -10647,7 +11729,7 @@ 

    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", + "updated_at": "2019-05-15T19:38:25Z", "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", @@ -10713,8 +11795,8 @@

    }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >public + >pull_request

    - When a private repository is made public. Without a doubt: the best - GitHub Enterprise Server event. + Activity related to pull requests. The type of activity is specified in + the action property of the payload object. For more + information, see the "pull requests" REST API.

    -

    - +
    • Repository webhooks
    • Organization webhooks
    • -
    • GitHub Apps with the metadata permission
    • +
    • GitHub Apps with the pull_requests permission
    -

    - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -
    KeyTypeDescriptionKeyTypeDescription
    actionstring + The action that was performed. Can be one of: +
      +
    • assigned
    • +
    • auto_merge_disabled
    • +
    • auto_merge_enabled
    • +
    • + closed: If the action is closed and + the merged key is false, the pull + request was closed with unmerged commits. If the action is + closed and the merged key is + true, the pull request was merged. +
    • +
    • converted_to_draft
    • +
    • edited
    • +
    • labeled
    • +
    • locked
    • +
    • opened
    • +
    • ready_for_review
    • +
    • reopened
    • +
    • review_request_removed
    • +
    • review_requested
    • +
    • + synchronize: Triggered when a pull request's head + branch is updated. For example, when the head branch is + updated from the base branch, when new commits are pushed to + the head branch, or when the base branch is changed. +
    • +
    • unassigned
    • +
    • unlabeled
    • +
    • unlocked
    • +
    +
    numberintegerThe pull request number.
    changesobject + The changes to the comment if the action was edited. +
    changes[title][from]string + The previous version of the title if the action was + edited. +
    changes[body][from]string + The previous version of the body if the action was + edited. +
    pull_requestobject + The + pull request + itself. +
    repository object The repository where the event occurred. @@ -10813,7 +11975,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -10837,8 +11999,8 @@

    -

    - + >Webhook payload example

    +

    + Deliveries for review_requested and + review_request_removed events will have an additional field + called requested_reviewer. +

    {
    +  "action": "opened",
    +  "number": 2,
    +  "pull_request": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    +    "id": 2,
    +    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
    +    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
    +    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
    +    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
    +    "number": 2,
    +    "state": "open",
    +    "locked": false,
    +    "title": "Update the README with new information.",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "body": "This is a pretty simple change that we need to pull into master.",
    +    "created_at": "2019-05-15T19:38:02Z",
    +    "updated_at": "2019-05-15T19:38:02Z",
    +    "closed_at": null,
    +    "merged_at": null,
    +    "merge_commit_sha": null,
    +    "assignee": null,
    +    "assignees": [],
    +    "requested_reviewers": [],
    +    "requested_teams": [],
    +    "labels": [],
    +    "milestone": null,
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
    +    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
    +    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
    +    "head": {
    +      "label": "Codertocat:changes",
    +      "ref": "changes",
    +      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +      "user": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "repo": {
    +        "id": 118,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +        "name": "Hello-World",
    +        "full_name": "Codertocat/Hello-World",
    +        "private": false,
    +        "owner": {
    +          "login": "Codertocat",
    +          "id": 4,
    +          "node_id": "MDQ6VXNlcjQ=",
    +          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +          "gravatar_id": "",
    +          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +          "html_url": "https://octocoders.github.io/Codertocat",
    +          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "description": null,
    +        "fork": false,
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +        "created_at": "2019-05-15T19:37:07Z",
    +        "updated_at": "2019-05-15T19:37:10Z",
    +        "pushed_at": "2019-05-15T19:38:03Z",
    +        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "homepage": null,
    +        "size": 0,
    +        "stargazers_count": 0,
    +        "watchers_count": 0,
    +        "language": null,
    +        "has_issues": true,
    +        "has_projects": true,
    +        "has_downloads": true,
    +        "has_wiki": true,
    +        "has_pages": true,
    +        "forks_count": 0,
    +        "mirror_url": null,
    +        "archived": false,
    +        "disabled": false,
    +        "open_issues_count": 2,
    +        "license": null,
    +        "forks": 0,
    +        "open_issues": 2,
    +        "watchers": 0,
    +        "default_branch": "master"
    +      }
    +    },
    +    "base": {
    +      "label": "Codertocat:master",
    +      "ref": "master",
    +      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +      "user": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "repo": {
    +        "id": 118,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +        "name": "Hello-World",
    +        "full_name": "Codertocat/Hello-World",
    +        "private": false,
    +        "owner": {
    +          "login": "Codertocat",
    +          "id": 4,
    +          "node_id": "MDQ6VXNlcjQ=",
    +          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +          "gravatar_id": "",
    +          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +          "html_url": "https://octocoders.github.io/Codertocat",
    +          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "description": null,
    +        "fork": false,
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +        "created_at": "2019-05-15T19:37:07Z",
    +        "updated_at": "2019-05-15T19:37:10Z",
    +        "pushed_at": "2019-05-15T19:38:03Z",
    +        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "homepage": null,
    +        "size": 0,
    +        "stargazers_count": 0,
    +        "watchers_count": 0,
    +        "language": null,
    +        "has_issues": true,
    +        "has_projects": true,
    +        "has_downloads": true,
    +        "has_wiki": true,
    +        "has_pages": true,
    +        "forks_count": 0,
    +        "mirror_url": null,
    +        "archived": false,
    +        "disabled": false,
    +        "open_issues_count": 2,
    +        "license": null,
    +        "forks": 0,
    +        "open_issues": 2,
    +        "watchers": 0,
    +        "default_branch": "master"
    +      }
    +    },
    +    "_links": {
    +      "self": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
    +      },
    +      "html": {
    +        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
    +      },
    +      "issue": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
    +      },
    +      "comments": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
    +      },
    +      "review_comments": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
    +      },
    +      "review_comment": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
    +      },
    +      "commits": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
    +      },
    +      "statuses": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
    +      }
    +    },
    +    "author_association": "OWNER",
    +    "draft": false,
    +    "merged": false,
    +    "mergeable": null,
    +    "rebaseable": null,
    +    "mergeable_state": "unknown",
    +    "merged_by": null,
    +    "comments": 0,
    +    "review_comments": 0,
    +    "maintainer_can_modify": false,
    +    "commits": 1,
    +    "additions": 1,
    +    "deletions": 1,
    +    "changed_files": 1
    +  },
       "repository": {
         "id": 118,
         "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    @@ -10927,8 +12424,8 @@ 

    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -10937,7 +12434,7 @@

    "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": "Ruby", + "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, @@ -10993,8 +12490,8 @@

    }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >pull_request + >pull_request_review

    - Activity related to pull requests. The type of activity is specified in - the action property of the payload object. For more - information, see the "pull requestsaction property of the payload object. For + more information, see the "pull request reviews" REST API.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the pull_requests permission
  • -

    - + The action that was performed. Can be one of:
      -
    • assigned
    • - closed: If the action is closed and - the merged key is false, the pull - request was closed with unmerged commits. If the action is - closed and the merged key is - true, the pull request was merged. + submitted - A pull request review is submitted + into a non-pending state.
    • -
    • converted_to_draft
    • -
    • edited
    • -
    • labeled
    • -
    • locked
    • -
    • opened
    • -
    • ready_for_review
    • -
    • reopened
    • -
    • review_request_removed
    • -
    • review_requested
    • - synchronize: Triggered when a pull request's head - branch is updated. For example, when the head branch is - updated from the base branch, when new commits are pushed to - the head branch, or when the base branch is changed. + edited - The body of a review has been edited.
    • -
    • unassigned
    • -
    • unlabeled
    • -
    • unlocked
    • +
    • dismissed - A review has been dismissed.
    - number - integer - The pull request number. - - - changes + pull_request object - The changes to the comment if the action was edited. + The +
    pull request + the review pertains to. - changes[title][from] - string - - The previous version of the title if the action was - edited. - + review + object + The review that was affected. changes[body][from] @@ -11142,24 +12617,13 @@

    edited. - - pull_request - object - - The - pull request - itself. - - repository object The repository where the event occurred. @@ -11171,7 +12635,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -11195,8 +12659,8 @@

    -

    - + >Webhook payload example

    -

    - Deliveries for review_requested and - review_request_removed events will have an additional field - called requested_reviewer. -

    {
    -  "action": "opened",
    -  "number": 2,
    +  "action": "submitted",
    +  "review": {
    +    "id": 2,
    +    "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "body": null,
    +    "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
    +    "submitted_at": "2019-05-15T19:38:08Z",
    +    "state": "commented",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2",
    +    "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    +    "author_association": "OWNER",
    +    "_links": {
    +      "html": {
    +        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2"
    +      },
    +      "pull_request": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
    +      }
    +    }
    +  },
       "pull_request": {
         "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
         "id": 2,
    @@ -11259,10 +12756,10 @@ 

    }, "body": "This is a pretty simple change that we need to pull into master.", "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:02Z", + "updated_at": "2019-05-15T19:38:08Z", "closed_at": null, "merged_at": null, - "merge_commit_sha": null, + "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", "assignee": null, "assignees": [], "requested_reviewers": [], @@ -11538,20 +13035,7 @@

    "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" } }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": null, - "rebaseable": null, - "mergeable_state": "unknown", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 + "author_association": "OWNER" }, "repository": { "id": 118, @@ -11686,8 +13170,8 @@

    }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >pull_request_review + >pull_request_review_comment

    - Activity related to pull request reviews. The type of activity is - specified in the action property of the payload object. For - more information, see the "pull request reviewsaction property of the payload object. For more + information, see the "pull request review comments" REST API.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the pull_requests permission
  • -

    - + action string - The action that was performed. Can be one of: -
      -
    • - submitted - A pull request review is submitted - into a non-pending state. -
    • -
    • - edited - The body of a review has been edited. -
    • -
    • dismissed - A review has been dismissed.
    • -
    + The action that was performed on the comment. Can be one of + created, edited, or + deleted. + + + + changes + object + + The changes to the comment if the action was edited. + + + + changes[body][from] + string + + The previous version of the body if the action was + edited. @@ -11794,23 +13286,21 @@

    object The - pull request - the review pertains to. + the comment belongs to. - review + comment object - The review that was affected. - - - changes[body][from] - string - The previous version of the body if the action was - edited. + The + comment + itself. @@ -11819,7 +13309,7 @@

    The repository where the event occurred. @@ -11831,7 +13321,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -11855,8 +13345,8 @@

    -

    - +

    {
    -  "action": "submitted",
    -  "review": {
    +  "action": "created",
    +  "comment": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2",
    +    "pull_request_review_id": 2,
         "id": 2,
    -    "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==",
    +    "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=",
    +    "diff_hunk": "@@ -1 +1 @@\n-# Hello-World",
    +    "path": "README.md",
    +    "position": 1,
    +    "original_position": 1,
    +    "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
    +    "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
         "user": {
           "login": "Codertocat",
           "id": 4,
    @@ -11902,16 +13400,18 @@ 

    "type": "User", "site_admin": false }, - "body": null, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "submitted_at": "2019-05-15T19:38:08Z", - "state": "commented", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2", + "body": "Maybe you should use more emoji on this line.", + "created_at": "2019-05-15T19:38:07Z", + "updated_at": "2019-05-15T19:38:08Z", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2", "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", "author_association": "OWNER", "_links": { + "self": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2" + }, "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2" + "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2" }, "pull_request": { "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" @@ -12366,8 +13866,8 @@

    }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >pull_request_review_comment + >pull_request_review_thread

    - Activity related to pull request review comments in the pull request's - unified diff. The type of activity is specified in the - action property of the payload object. For more - information, see the "pull request review comments" REST API. + Activity related to a comment thread on a pull request being marked as + resolved or unresolved. The type of activity is specified in the + action property of the payload object.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the pull_requests permission
  • -

    - + action string - The action that was performed on the comment. Can be one of - created, edited, or - deleted. - - - - changes - object - - The changes to the comment if the action was edited. - - - - changes[body][from] - string - - The previous version of the body if the action was - edited. + The action that was performed. Can be one of: +
      +
    • + resolved - A comment thread on a pull request was + marked as resolved. +
    • +
    • + unresolved - A previously resolved comment thread + on a pull request was marked as unresolved. +
    • +
    @@ -12482,22 +13971,16 @@

    object The - pull request - the comment belongs to. + the thread pertains to. - comment + thread object - - The - comment - itself. - + The thread that was affected. repository @@ -12505,7 +13988,7 @@

    The repository where the event occurred. @@ -12517,7 +14000,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -12541,8 +14024,8 @@

    -

    - + d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >Webhook payload example -

    -
    -
    {
    -  "action": "created",
    -  "comment": {
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2",
    -    "pull_request_review_id": 2,
    -    "id": 2,
    -    "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=",
    -    "diff_hunk": "@@ -1 +1 @@\n-# Hello-World",
    -    "path": "README.md",
    -    "position": 1,
    -    "original_position": 1,
    -    "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
    -    "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
    -    "user": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    -    },
    -    "body": "Maybe you should use more emoji on this line.",
    -    "created_at": "2019-05-15T19:38:07Z",
    -    "updated_at": "2019-05-15T19:38:08Z",
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2",
    -    "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    -    "author_association": "OWNER",
    -    "_links": {
    -      "self": {
    -        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2"
    -      },
    -      "html": {
    -        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2"
    -      },
    -      "pull_request": {
    -        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
    -      }
    -    }
    -  },
    -  "pull_request": {
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    -    "id": 2,
    -    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
    -    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
    -    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
    -    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
    -    "number": 2,
    +      

    +
    +
    {
    +  "action": "resolved",
    +  "pull_request": {
    +    "url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118",
    +    "id": 873298238,
    +    "node_id": "PR_kwDOEL39TM40DXk-",
    +    "html_url": "https://github.com/octo-org/octo-repo/pull/118",
    +    "diff_url": "https://github.com/octo-org/octo-repo/pull/118.diff",
    +    "patch_url": "https://github.com/octo-org/octo-repo/pull/118.patch",
    +    "issue_url": "https://api.github.com/repos/octo-org/octo-repo/issues/118",
    +    "number": 118,
         "state": "open",
         "locked": false,
    -    "title": "Update the README with new information.",
    +    "title": "Create issue-comment",
         "user": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "login": "octocat",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
           "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "url": "https://api.github.com/users/octocat",
    +      "html_url": "https://github.com/octocat",
    +      "followers_url": "https://api.github.com/users/octocat/followers",
    +      "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/octocat/orgs",
    +      "repos_url": "https://api.github.com/users/octocat/repos",
    +      "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/octocat/received_events",
           "type": "User",
    -      "site_admin": false
    +      "site_admin": true
         },
    -    "body": "This is a pretty simple change that we need to pull into master.",
    -    "created_at": "2019-05-15T19:38:02Z",
    -    "updated_at": "2019-05-15T19:38:08Z",
    +    "body": "Issue comment test",
    +    "created_at": "2022-03-07T16:14:34Z",
    +    "updated_at": "2022-03-21T09:21:38Z",
         "closed_at": null,
         "merged_at": null,
    -    "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f",
    +    "merge_commit_sha": "c72e2aa60425a50d9785a50793dd6c22b9c5cce1",
         "assignee": null,
         "assignees": [],
         "requested_reviewers": [],
         "requested_teams": [],
         "labels": [],
         "milestone": null,
    -    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
    -    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
    -    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
    -    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
    +    "draft": false,
    +    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/commits",
    +    "review_comments_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/comments",
    +    "review_comment_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments{/number}",
    +    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/issues/118/comments",
    +    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/14ae1f988d344e6b4f97f6153fb0287dcda335bf",
         "head": {
    -      "label": "Codertocat:changes",
    -      "ref": "changes",
    -      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +      "label": "octo-org:issue-comment",
    +      "ref": "issue-comment",
    +      "sha": "14ae1f988d344e6b4f97f6153fb0287dcda335bf",
           "user": {
    -        "login": "Codertocat",
    -        "id": 4,
    -        "node_id": "MDQ6VXNlcjQ=",
    -        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "login": "octo-org",
    +        "id": 67584941,
    +        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +        "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
             "gravatar_id": "",
    -        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -        "html_url": "https://octocoders.github.io/Codertocat",
    -        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -        "type": "User",
    +        "url": "https://api.github.com/users/octo-org",
    +        "html_url": "https://github.com/octo-org",
    +        "followers_url": "https://api.github.com/users/octo-org/followers",
    +        "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +        "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +        "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +        "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +        "repos_url": "https://api.github.com/users/octo-org/repos",
    +        "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +        "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +        "type": "Organization",
             "site_admin": false
           },
           "repo": {
    -        "id": 118,
    -        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    -        "name": "Hello-World",
    -        "full_name": "Codertocat/Hello-World",
    -        "private": false,
    +        "id": 280886604,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkyODA4ODY2MDQ=",
    +        "name": "octo-repo",
    +        "full_name": "octo-org/octo-repo",
    +        "private": true,
             "owner": {
    -          "login": "Codertocat",
    -          "id": 4,
    -          "node_id": "MDQ6VXNlcjQ=",
    -          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +          "login": "octo-org",
    +          "id": 67584941,
    +          "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +          "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
               "gravatar_id": "",
    -          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -          "html_url": "https://octocoders.github.io/Codertocat",
    -          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -          "type": "User",
    +          "url": "https://api.github.com/users/octo-org",
    +          "html_url": "https://github.com/octo-org",
    +          "followers_url": "https://api.github.com/users/octo-org/followers",
    +          "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +          "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +          "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +          "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +          "repos_url": "https://api.github.com/users/octo-org/repos",
    +          "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +          "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +          "type": "Organization",
               "site_admin": false
             },
    -        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    -        "description": null,
    +        "html_url": "https://github.com/octo-org/octo-repo",
    +        "description": "Change description",
             "fork": false,
    -        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    -        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    -        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    -        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    -        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    -        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    -        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    -        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    -        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    -        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    -        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    -        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    -        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    -        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    -        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    -        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    -        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    -        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    -        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    -        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    -        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    -        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    -        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    -        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    -        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    -        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    -        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    -        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    -        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    -        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    -        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    -        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    -        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    -        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    -        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    -        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    -        "created_at": "2019-05-15T19:37:07Z",
    -        "updated_at": "2019-05-15T19:37:10Z",
    -        "pushed_at": "2019-05-15T19:38:03Z",
    -        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    -        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    -        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    -        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    -        "homepage": null,
    -        "size": 0,
    -        "stargazers_count": 0,
    -        "watchers_count": 0,
    -        "language": null,
    +        "url": "https://api.github.com/repos/octo-org/octo-repo",
    +        "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +        "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +        "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +        "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +        "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +        "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +        "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +        "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +        "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +        "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +        "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +        "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +        "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +        "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +        "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +        "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +        "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +        "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +        "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +        "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +        "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +        "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +        "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +        "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +        "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +        "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +        "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +        "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +        "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +        "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +        "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +        "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +        "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +        "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +        "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +        "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +        "created_at": "2020-07-19T14:48:35Z",
    +        "updated_at": "2022-03-11T11:56:22Z",
    +        "pushed_at": "2022-04-01T09:37:36Z",
    +        "git_url": "git://github.com/octo-org/octo-repo.git",
    +        "ssh_url": "git@github.com:octo-org/octo-repo.git",
    +        "clone_url": "https://github.com/octo-org/octo-repo.git",
    +        "svn_url": "https://github.com/octo-org/octo-repo",
    +        "homepage": "",
    +        "size": 646,
    +        "stargazers_count": 1,
    +        "watchers_count": 1,
    +        "language": "Ruby",
             "has_issues": true,
             "has_projects": true,
             "has_downloads": true,
             "has_wiki": true,
    -        "has_pages": true,
    +        "has_pages": false,
             "forks_count": 0,
             "mirror_url": null,
             "archived": false,
             "disabled": false,
    -        "open_issues_count": 2,
    +        "open_issues_count": 60,
             "license": null,
    +        "allow_forking": false,
    +        "is_template": false,
    +        "topics": [
    +          "hey",
    +          "topic"
    +        ],
    +        "visibility": "private",
             "forks": 0,
    -        "open_issues": 2,
    -        "watchers": 0,
    +        "open_issues": 60,
    +        "watchers": 1,
             "default_branch": "master"
           }
         },
         "base": {
    -      "label": "Codertocat:master",
    +      "label": "octo-org:master",
           "ref": "master",
    -      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +      "sha": "fcaaddec44575a657bf81b049208b2ce139da3ca",
           "user": {
    -        "login": "Codertocat",
    -        "id": 4,
    -        "node_id": "MDQ6VXNlcjQ=",
    -        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "login": "octo-org",
    +        "id": 67584941,
    +        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +        "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
             "gravatar_id": "",
    -        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -        "html_url": "https://octocoders.github.io/Codertocat",
    -        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -        "type": "User",
    +        "url": "https://api.github.com/users/octo-org",
    +        "html_url": "https://github.com/octo-org",
    +        "followers_url": "https://api.github.com/users/octo-org/followers",
    +        "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +        "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +        "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +        "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +        "repos_url": "https://api.github.com/users/octo-org/repos",
    +        "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +        "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +        "type": "Organization",
             "site_admin": false
           },
           "repo": {
    -        "id": 118,
    -        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    -        "name": "Hello-World",
    -        "full_name": "Codertocat/Hello-World",
    -        "private": false,
    +        "id": 280886604,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkyODA4ODY2MDQ=",
    +        "name": "octo-repo",
    +        "full_name": "octo-org/octo-repo",
    +        "private": true,
             "owner": {
    -          "login": "Codertocat",
    -          "id": 4,
    -          "node_id": "MDQ6VXNlcjQ=",
    -          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +          "login": "octo-org",
    +          "id": 67584941,
    +          "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +          "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
               "gravatar_id": "",
    -          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -          "html_url": "https://octocoders.github.io/Codertocat",
    -          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -          "type": "User",
    +          "url": "https://api.github.com/users/octo-org",
    +          "html_url": "https://github.com/octo-org",
    +          "followers_url": "https://api.github.com/users/octo-org/followers",
    +          "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +          "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +          "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +          "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +          "repos_url": "https://api.github.com/users/octo-org/repos",
    +          "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +          "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +          "type": "Organization",
               "site_admin": false
             },
    -        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    -        "description": null,
    +        "html_url": "https://github.com/octo-org/octo-repo",
    +        "description": "Change description",
             "fork": false,
    -        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    -        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    -        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    -        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    -        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    -        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    -        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    -        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    -        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    -        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    -        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    -        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    -        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    -        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    -        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    -        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    -        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    -        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    -        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    -        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    -        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    -        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    -        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    -        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    -        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    -        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    -        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    -        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    -        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    -        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    -        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    -        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    -        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    -        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    -        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    -        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    -        "created_at": "2019-05-15T19:37:07Z",
    -        "updated_at": "2019-05-15T19:37:10Z",
    -        "pushed_at": "2019-05-15T19:38:03Z",
    -        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    -        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    -        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    -        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    -        "homepage": null,
    -        "size": 0,
    -        "stargazers_count": 0,
    -        "watchers_count": 0,
    -        "language": null,
    +        "url": "https://api.github.com/repos/octo-org/octo-repo",
    +        "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +        "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +        "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +        "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +        "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +        "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +        "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +        "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +        "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +        "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +        "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +        "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +        "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +        "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +        "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +        "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +        "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +        "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +        "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +        "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +        "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +        "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +        "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +        "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +        "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +        "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +        "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +        "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +        "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +        "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +        "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +        "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +        "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +        "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +        "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +        "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +        "created_at": "2020-07-19T14:48:35Z",
    +        "updated_at": "2022-03-11T11:56:22Z",
    +        "pushed_at": "2022-04-01T09:37:36Z",
    +        "git_url": "git://github.com/octo-org/octo-repo.git",
    +        "ssh_url": "git@github.com:octo-org/octo-repo.git",
    +        "clone_url": "https://github.com/octo-org/octo-repo.git",
    +        "svn_url": "https://github.com/octo-org/octo-repo",
    +        "homepage": "",
    +        "size": 646,
    +        "stargazers_count": 1,
    +        "watchers_count": 1,
    +        "language": "Ruby",
             "has_issues": true,
             "has_projects": true,
             "has_downloads": true,
             "has_wiki": true,
    -        "has_pages": true,
    +        "has_pages": false,
             "forks_count": 0,
             "mirror_url": null,
             "archived": false,
             "disabled": false,
    -        "open_issues_count": 2,
    +        "open_issues_count": 60,
             "license": null,
    +        "allow_forking": false,
    +        "is_template": false,
    +        "topics": [
    +          "hey",
    +          "topic"
    +        ],
    +        "visibility": "private",
             "forks": 0,
    -        "open_issues": 2,
    -        "watchers": 0,
    +        "open_issues": 60,
    +        "watchers": 1,
             "default_branch": "master"
           }
         },
         "_links": {
           "self": {
    -        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118"
           },
           "html": {
    -        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
    +        "href": "https://github.com/octo-org/octo-repo/pull/118"
           },
           "issue": {
    -        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/issues/118"
           },
           "comments": {
    -        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/issues/118/comments"
           },
           "review_comments": {
    -        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/comments"
           },
           "review_comment": {
    -        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments{/number}"
           },
           "commits": {
    -        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/commits"
           },
           "statuses": {
    -        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/statuses/14ae1f988d344e6b4f97f6153fb0287dcda335bf"
           }
         },
    -    "author_association": "OWNER"
    +    "author_association": "CONTRIBUTOR",
    +    "auto_merge": null,
    +    "active_lock_reason": null
    +  },
    +  "thread": {
    +    "node_id": "PRRT_kwDOEL39TM4w7XDQ",
    +    "comments": [
    +      {
    +        "url": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments/820867280",
    +        "pull_request_review_id": 901921390,
    +        "id": 820867280,
    +        "node_id": "PRRC_kwDOEL39TM4w7XDQ",
    +        "diff_hunk": "@@ -0,0 +1 @@\n+issue comment",
    +        "path": "issue-comment",
    +        "position": 1,
    +        "original_position": 1,
    +        "commit_id": "14ae1f988d344e6b4f97f6153fb0287dcda335bf",
    +        "original_commit_id": "14ae1f988d344e6b4f97f6153fb0287dcda335bf",
    +        "user": {
    +          "login": "jide2020",
    +          "id": 64502150,
    +          "node_id": "MDQ6VXNlcjY0NTAyMTUw",
    +          "avatar_url": "https://avatars.githubusercontent.com/u/64502150?v=4",
    +          "gravatar_id": "",
    +          "url": "https://api.github.com/users/jide2020",
    +          "html_url": "https://github.com/jide2020",
    +          "followers_url": "https://api.github.com/users/jide2020/followers",
    +          "following_url": "https://api.github.com/users/jide2020/following{/other_user}",
    +          "gists_url": "https://api.github.com/users/jide2020/gists{/gist_id}",
    +          "starred_url": "https://api.github.com/users/jide2020/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://api.github.com/users/jide2020/subscriptions",
    +          "organizations_url": "https://api.github.com/users/jide2020/orgs",
    +          "repos_url": "https://api.github.com/users/jide2020/repos",
    +          "events_url": "https://api.github.com/users/jide2020/events{/privacy}",
    +          "received_events_url": "https://api.github.com/users/jide2020/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "body": "sup",
    +        "created_at": "2022-03-07T16:16:48Z",
    +        "updated_at": "2022-03-07T16:16:58Z",
    +        "html_url": "https://github.com/octo-org/octo-repo/pull/118#discussion_r820867280",
    +        "pull_request_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118",
    +        "author_association": "COLLABORATOR",
    +        "_links": {
    +          "self": {
    +            "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments/820867280"
    +          },
    +          "html": {
    +            "href": "https://github.com/octo-org/octo-repo/pull/118#discussion_r820867280"
    +          },
    +          "pull_request": {
    +            "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118"
    +          }
    +        },
    +        "reactions": {
    +          "url": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments/820867280/reactions",
    +          "total_count": 0,
    +          "+1": 0,
    +          "-1": 0,
    +          "laugh": 0,
    +          "hooray": 0,
    +          "confused": 0,
    +          "heart": 0,
    +          "rocket": 0,
    +          "eyes": 0
    +        },
    +        "start_line": null,
    +        "original_start_line": null,
    +        "start_side": null,
    +        "line": 1,
    +        "original_line": 1,
    +        "side": "RIGHT"
    +      }
    +    ]
       },
       "repository": {
    -    "id": 118,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    -    "name": "Hello-World",
    -    "full_name": "Codertocat/Hello-World",
    -    "private": false,
    +    "id": 280886604,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkyODA4ODY2MDQ=",
    +    "name": "octo-repo",
    +    "full_name": "octo-org/octo-repo",
    +    "private": true,
         "owner": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "login": "octo-org",
    +      "id": 67584941,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +      "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
           "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    +      "url": "https://api.github.com/users/octo-org",
    +      "html_url": "https://github.com/octo-org",
    +      "followers_url": "https://api.github.com/users/octo-org/followers",
    +      "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +      "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +      "repos_url": "https://api.github.com/users/octo-org/repos",
    +      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +      "type": "Organization",
           "site_admin": false
         },
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    -    "description": null,
    +    "html_url": "https://github.com/octo-org/octo-repo",
    +    "description": "Change description",
         "fork": false,
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    -    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    -    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    -    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    -    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    -    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    -    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    -    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    -    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    -    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    -    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    -    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    -    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    -    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    -    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    -    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    -    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    -    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    -    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    -    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    -    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    -    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    -    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    -    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    -    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    -    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    -    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    -    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    -    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    -    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    -    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    -    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    -    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    -    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    -    "created_at": "2019-05-15T19:37:07Z",
    -    "updated_at": "2019-05-15T19:37:10Z",
    -    "pushed_at": "2019-05-15T19:38:03Z",
    -    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    -    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    -    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    -    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    -    "homepage": null,
    -    "size": 0,
    -    "stargazers_count": 0,
    -    "watchers_count": 0,
    -    "language": null,
    +    "url": "https://api.github.com/repos/octo-org/octo-repo",
    +    "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +    "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +    "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +    "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +    "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +    "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +    "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +    "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +    "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +    "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +    "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +    "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +    "created_at": "2020-07-19T14:48:35Z",
    +    "updated_at": "2022-03-11T11:56:22Z",
    +    "pushed_at": "2022-04-01T09:37:36Z",
    +    "git_url": "git://github.com/octo-org/octo-repo.git",
    +    "ssh_url": "git@github.com:octo-org/octo-repo.git",
    +    "clone_url": "https://github.com/octo-org/octo-repo.git",
    +    "svn_url": "https://github.com/octo-org/octo-repo",
    +    "homepage": "",
    +    "size": 646,
    +    "stargazers_count": 1,
    +    "watchers_count": 1,
    +    "language": "Ruby",
         "has_issues": true,
         "has_projects": true,
         "has_downloads": true,
         "has_wiki": true,
    -    "has_pages": true,
    +    "has_pages": false,
         "forks_count": 0,
         "mirror_url": null,
         "archived": false,
         "disabled": false,
    -    "open_issues_count": 2,
    +    "open_issues_count": 60,
         "license": null,
    +    "allow_forking": false,
    +    "is_template": false,
    +    "topics": [
    +      "hey",
    +      "topic"
    +    ],
    +    "visibility": "private",
         "forks": 0,
    -    "open_issues": 2,
    -    "watchers": 0,
    +    "open_issues": 60,
    +    "watchers": 1,
         "default_branch": "master"
       },
    -  "enterprise": {
    -    "id": 1,
    -    "slug": "github",
    -    "name": "GitHub",
    -    "node_id": "MDg6QnVzaW5lc3Mx",
    -    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    -    "description": null,
    -    "website_url": null,
    -    "html_url": "https://octocoders.github.io/businesses/github",
    -    "created_at": "2019-05-14T19:31:12Z",
    -    "updated_at": "2019-05-14T19:31:12Z"
    +  "organization": {
    +    "login": "octo-org",
    +    "id": 67584941,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +    "url": "https://api.github.com/orgs/octo-org",
    +    "repos_url": "https://api.github.com/orgs/octo-org/repos",
    +    "events_url": "https://api.github.com/orgs/octo-org/events",
    +    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
    +    "issues_url": "https://api.github.com/orgs/octo-org/issues",
    +    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
    +    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
    +    "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
    +    "description": ""
       },
       "sender": {
    -    "login": "Codertocat",
    -    "id": 4,
    -    "node_id": "MDQ6VXNlcjQ=",
    -    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "login": "octocat",
    +    "id": 21031067,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
         "gravatar_id": "",
    -    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -    "html_url": "https://octocoders.github.io/Codertocat",
    -    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "url": "https://api.github.com/users/octocat",
    +    "html_url": "https://github.com/octocat",
    +    "followers_url": "https://api.github.com/users/octocat/followers",
    +    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/octocat/orgs",
    +    "repos_url": "https://api.github.com/users/octocat/repos",
    +    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/octocat/received_events",
         "type": "User",
    -    "site_admin": false
    -  },
    -  "installation": {
    -    "id": 5,
    -    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +    "site_admin": true
       }
     }
     
    @@ -13090,8 +14618,8 @@

    when you push more than three tags at once.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the contents permission
  • -

    - + string The full - git ref that was pushed. Example: refs/heads/main or @@ -13292,7 +14820,7 @@

    The repository where the event occurred. @@ -13304,7 +14832,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -13328,8 +14856,8 @@

    -

    - +
    {
       "ref": "refs/tags/simple-tag",
    -  "before": "4544205a385319fd846d5df4ed2e3b8173529d78",
    -  "after": "0000000000000000000000000000000000000000",
    -  "created": false,
    -  "deleted": true,
    +  "before": "0000000000000000000000000000000000000000",
    +  "after": "6113728f27ae82c7b1a177c8d03f9e96e0adf246",
    +  "created": true,
    +  "deleted": false,
       "forced": false,
       "base_ref": null,
    -  "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000",
    +  "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/simple-tag",
       "commits": [],
    -  "head_commit": null,
    +  "head_commit": {
    +    "id": "6113728f27ae82c7b1a177c8d03f9e96e0adf246",
    +    "tree_id": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
    +    "distinct": true,
    +    "message": "Adding a .gitignore file",
    +    "timestamp": "2019-05-15T15:20:41Z",
    +    "url": "https://octocoders.github.io/Codertocat/Hello-World/commit/6113728f27ae82c7b1a177c8d03f9e96e0adf246",
    +    "author": {
    +      "name": "Codertocat",
    +      "email": "Codertocat@Octocoders.io",
    +      "username": "Codertocat"
    +    },
    +    "committer": {
    +      "name": "Codertocat",
    +      "email": "Codertocat@Octocoders.io",
    +      "username": "Codertocat"
    +    },
    +    "added": [
    +      ".gitignore"
    +    ],
    +    "removed": [],
    +    "modified": []
    +  },
       "repository": {
         "id": 118,
         "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    @@ -13369,7 +14919,7 @@ 

    "private": false, "owner": { "name": "Codertocat", - "email": "Codertocat@octocoders.github.io", + "email": "Codertocat@Octocoders.io", "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -13461,7 +15011,7 @@

    }, "pusher": { "name": "Codertocat", - "email": "Codertocat@octocoders.github.io" + "email": "Codertocat@Octocoders.io" }, "enterprise": { "id": 1, @@ -13527,12 +15077,12 @@

    Activity related to a release. The type of activity is specified in the action property of the payload object. For more information, see the "releases" REST API.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the contents permission
  • -

    - +
  • prereleased: a pre-release is created
  • - released: a release or draft of a release is - published, or a pre-release is changed to a release + released: a release is published, or a + pre-release is changed to a release
  • @@ -13644,7 +15194,7 @@

    The release object. @@ -13656,7 +15206,7 @@

    The repository where the event occurred. @@ -13668,7 +15218,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -13692,8 +15242,8 @@

    -

    - +

    This event occurs when a GitHub App sends a POST request to the "Create a repository dispatch event" endpoint.

    -

    - + this webhook. -

    - + Activity related to a repository. The type of activity is specified in the action property of the payload object. For more information, see the "repositories" REST API.

    -

    - + event types except deleted -

    - +
  • anonymous_access_enabled - A repository is enabled for anonymous Git access, anonymous_access_disabled - A repository is disabled for anonymous Git access
  • @@ -14235,7 +15785,7 @@

    The repository where the event occurred. @@ -14247,7 +15797,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -14271,8 +15821,8 @@

    -

    - + "type": "User", "site_admin": false }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + } +} +

    +
    +

    + + secret_scanning_alert +

    +

    + Activity related to secret scanning alerts in a repository. The type of + activity is specified in the action property of the payload object. For + more information, see the "secret scanning API." +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • + GitHub Apps with the + secret_scanning_alerts:read permission +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. This can be either + created, resolved, or + reopened. +
    alertobjectThe secret scanning alert involved in the event.
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobject + If the action is resolved or + reopened, the sender object will be the + user that triggered the event. The sender object is + empty for all other actions. +
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "reopened",
    +  "alert": {
    +    "number": 191,
    +    "secret_type": "adafruit_io_key",
    +    "resolution": null,
    +    "resolved_by": null,
    +    "resolved_at": null
    +  },
    +  "repository": {
    +    "id": 257423561,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkyNTc0MjM1NjE=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": true,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 30846345,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
    +      "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://github.com/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://api.github.com/repos/Codertocat/Hello-World",
    +    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2020-04-20T22:59:11Z",
    +    "updated_at": "2020-11-24T01:37:33Z",
    +    "pushed_at": "2020-11-24T01:37:31Z",
    +    "git_url": "git://github.com/Codertocat/Hello-World.git",
    +    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
    +    "clone_url": "https://github.com/Codertocat/Hello-World.git",
    +    "svn_url": "https://github.com/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 1156,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "JavaScript",
    +    "has_issues": false,
    +    "has_projects": false,
    +    "has_downloads": true,
    +    "has_wiki": false,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 3,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 3,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "organization": {
    +    "login": "Codertocat",
    +    "id": 30846345,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
    +    "url": "https://api.github.com/orgs/Codertocat",
    +    "repos_url": "https://api.github.com/orgs/Codertocat/repos",
    +    "events_url": "https://api.github.com/orgs/Codertocat/events",
    +    "hooks_url": "https://api.github.com/orgs/Codertocat/hooks",
    +    "issues_url": "https://api.github.com/orgs/Codertocat/issues",
    +    "members_url": "https://api.github.com/orgs/Codertocat/members{/member}",
    +    "public_members_url": "https://api.github.com/orgs/Codertocat/public_members{/member}",
    +    "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
    +    "description": "Demos and testing of GitHub security products"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 10136561,
    +    "node_id": "MDQ6VXNlcjEwMTM2NTYx",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/10136561?v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/Codertocat",
    +    "html_url": "https://github.com/Codertocat",
    +    "followers_url": "https://api.github.com/users/Codertocat/followers",
    +    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +    "repos_url": "https://api.github.com/users/Codertocat/repos",
    +    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": true
       }
     }
     
    @@ -14457,12 +16319,12 @@

    The security advisory dataset also powers the GitHub Dependabot alerts. For more information, see "About alerts for vulnerable dependenciesAbout Dependabot alerts."

    -

    - +
    • GitHub Apps with the security_events permission
    -

    - + -

    - + Activity related to a repository being starred. The type of activity is specified in the action property of the payload object. For more information, see the "starring" REST API.

    -

    - +
  • Repository webhooks
  • Organization webhooks
  • -

    - + The repository where the event occurred. @@ -14732,7 +16594,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -14747,8 +16609,8 @@

    -

    - +

    When the status of a Git commit changes. For more information, see the "statuses" REST API.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the statuses permission
  • -

    - + The repository where the event occurred. @@ -15031,7 +16893,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -15055,8 +16917,8 @@

    -

    - + "commit": { "author": { "name": "Codertocat", - "email": "Codertocat@octocoders.github.io", + "email": "Codertocat@Octocoders.io", "date": "2019-05-15T19:37:08Z" }, "committer": { @@ -15325,12 +17187,12 @@

    Activity related to an organization's team. The type of activity is specified in the action property of the payload object. For more information, see the "teams" REST API.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the members permission
  • -

    - + Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -15490,8 +17352,8 @@

    -

    - +

    When a repository is added to a team.

    -

    - +
  • Organization webhooks
  • GitHub Apps with the members permission
  • -

    - + object The - team + team that was modified. Note: Older events may not include this in the payload. @@ -15776,7 +17638,7 @@

    The repository where the event occurred. @@ -15788,7 +17650,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -15812,8 +17674,8 @@

    -

    - + >user

    When a user is created or deleted.

    -

    - + -

    - + "type": "User", "site_admin": false }, - "action": "created", + "action": "created", + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "Snowtocat", + "id": 16, + "node_id": "MDQ6VXNlcjE2", + "avatar_url": "https://octocoders.github.io/avatars/u/16?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Snowtocat", + "html_url": "https://octocoders.github.io/Snowtocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events", + "type": "User", + "site_admin": false + } +} +

    +
    +

    + + watch +

    +

    + When someone stars a repository. The type of activity is specified in + the action property of the payload object. For more + information, see the "starring" REST API. +

    +

    + The event’s actor is the + user who + starred a repository, and the event’s repository is the + repository + that was starred. +

    +

    + + Availability +

    + +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Currently, can only be + started. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "started",
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:09Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 1,
    +    "watchers_count": 1,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 1,
    +    "default_branch": "master"
    +  },
       "enterprise": {
         "id": 1,
         "slug": "github",
    @@ -16099,30 +18257,34 @@ 

    "updated_at": "2019-05-14T19:31:12Z" }, "sender": { - "login": "Snowtocat", - "id": 16, - "node_id": "MDQ6VXNlcjE2", - "avatar_url": "https://octocoders.github.io/avatars/u/16?", + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Snowtocat", - "html_url": "https://octocoders.github.io/Snowtocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }

    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >watch + >workflow_dispatch

    - When someone stars a repository. The type of activity is specified in - the action property of the payload object. For more - information, see the "starring" REST API. -

    -

    - The event’s actor is the - user who - starred a repository, and the event’s repository is the - repository - that was starred. + This event occurs when someone triggers a workflow run on GitHub or + sends a POST request to the "Create a workflow dispatch event" endpoint. For more information, see "Events that trigger workflows."

    -

    - + >Availability

      -
    • Repository webhooks
    • -
    • Organization webhooks
    • -
    • GitHub Apps with the metadata permission
    • +
    • + GitHub Apps must have the contents permission to receive + this webhook. +
    -

    - +
    -
    action - string - - The action that was performed. Currently, can only be - started. - - - - repository + inputs object - The -
    repository - where the event occurred. + Inputs to the workflow. Each key represents the name of the input + while it's value represents the value of that input. @@ -16240,7 +18386,7 @@

    Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -16249,12 +18395,20 @@

    - installation + ref + string + The branch ref from which the workflow was run. + + + repository object - The GitHub App installation. Webhook payloads contain the - installation property when the event is configured - for and sent to a GitHub App. + The + repository + where the event occurred. @@ -16262,10 +18416,17 @@

    object The user that triggered the event. + + workflow + string + + Relative path to the workflow file which contains the workflow. + + -

    - +

    {
    -  "action": "started",
    -  "repository": {
    -    "id": 118,
    -    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    -    "name": "Hello-World",
    -    "full_name": "Codertocat/Hello-World",
    -    "private": false,
    -    "owner": {
    -      "login": "Codertocat",
    -      "id": 4,
    -      "node_id": "MDQ6VXNlcjQ=",
    -      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    -      "gravatar_id": "",
    -      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -      "html_url": "https://octocoders.github.io/Codertocat",
    -      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    -      "type": "User",
    -      "site_admin": false
    -    },
    -    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +  "inputs": {
    +    "name": "Mona the Octocat"
    +  },
    +  "organization": {
    +    "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
    +    "description": null,
    +    "events_url": "https://api.github.com/orgs/octo-org/events",
    +    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
    +    "id": 79927191,
    +    "issues_url": "https://api.github.com/orgs/octo-org/issues",
    +    "login": "octo-org",
    +    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI",
    +    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
    +    "repos_url": "https://api.github.com/orgs/octo-org/repos",
    +    "url": "https://api.github.com/orgs/octo-org"
    +  },
    +  "ref": "refs/heads/main",
    +  "repository": {
    +    "allow_forking": true,
    +    "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +    "archived": false,
    +    "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +    "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +    "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +    "clone_url": "https://github.com/octo-org/octo-repo.git",
    +    "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +    "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +    "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +    "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +    "created_at": "2021-08-16T21:34:28Z",
    +    "default_branch": "main",
    +    "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
         "description": null,
    +    "disabled": false,
    +    "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +    "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
         "fork": false,
    -    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    -    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    -    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    -    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    -    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    -    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    -    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    -    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    -    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    -    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    -    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    -    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    -    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    -    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    -    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    -    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    -    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    -    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    -    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    -    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    -    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    -    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    -    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    -    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    -    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    -    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    -    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    -    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    -    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    -    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    -    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    -    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    -    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    -    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    -    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    -    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    -    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    -    "created_at": "2019-05-15T19:37:07Z",
    -    "updated_at": "2019-05-15T19:38:09Z",
    -    "pushed_at": "2019-05-15T19:38:03Z",
    -    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    -    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    -    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    -    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    -    "homepage": null,
    -    "size": 0,
    -    "stargazers_count": 1,
    -    "watchers_count": 1,
    -    "language": null,
    +    "forks": 1,
    +    "forks_count": 1,
    +    "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +    "full_name": "octo-org/octo-repo",
    +    "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +    "git_url": "git://github.com/octo-org/octo-repo.git",
    +    "has_downloads": true,
         "has_issues": true,
    +    "has_pages": false,
         "has_projects": true,
    -    "has_downloads": true,
         "has_wiki": true,
    -    "has_pages": true,
    -    "forks_count": 0,
    -    "mirror_url": null,
    -    "archived": false,
    -    "disabled": false,
    -    "open_issues_count": 2,
    +    "homepage": null,
    +    "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +    "html_url": "https://github.com/octo-org/octo-repo",
    +    "id": 6811672,
    +    "is_template": false,
    +    "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +    "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +    "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +    "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +    "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +    "language": null,
    +    "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
         "license": null,
    -    "forks": 0,
    -    "open_issues": 2,
    -    "watchers": 1,
    -    "default_branch": "master"
    -  },
    -  "enterprise": {
    -    "id": 1,
    -    "slug": "github",
    -    "name": "GitHub",
    -    "node_id": "MDg6QnVzaW5lc3Mx",
    -    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    -    "description": null,
    -    "website_url": null,
    -    "html_url": "https://octocoders.github.io/businesses/github",
    -    "created_at": "2019-05-14T19:31:12Z",
    -    "updated_at": "2019-05-14T19:31:12Z"
    +    "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +    "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +    "mirror_url": null,
    +    "name": "octo-repo",
    +    "node_id": "MDEwOlJlcG9zaXRvcnkzOTY5ODA4MTI=",
    +    "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +    "open_issues": 97,
    +    "open_issues_count": 97,
    +    "owner": {
    +      "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
    +      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +      "followers_url": "https://api.github.com/users/octo-org/followers",
    +      "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +      "gravatar_id": "",
    +      "html_url": "https://github.com/octo-org",
    +      "id": 79927191,
    +      "login": "octo-org",
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI9",
    +      "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +      "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +      "repos_url": "https://api.github.com/users/octo-org/repos",
    +      "site_admin": false,
    +      "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +      "type": "Organization",
    +      "url": "https://api.github.com/users/octo-org"
    +    },
    +    "private": false,
    +    "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +    "pushed_at": "2022-01-07T21:57:21Z",
    +    "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +    "size": 144,
    +    "ssh_url": "git@github.com:octo-org/octo-repo.git",
    +    "stargazers_count": 0,
    +    "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +    "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +    "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +    "svn_url": "https://github.com/octo-org/octo-repo",
    +    "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +    "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +    "topics": [],
    +    "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +    "updated_at": "2022-01-07T21:57:24Z",
    +    "url": "https://api.github.com/repos/octo-org/octo-repo",
    +    "visibility": "public",
    +    "watchers": 0,
    +    "watchers_count": 0
       },
       "sender": {
    -    "login": "Codertocat",
    -    "id": 4,
    -    "node_id": "MDQ6VXNlcjQ=",
    -    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "avatar_url": "https://avatars.githubusercontent.com/u/25328854?v=4",
    +    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +    "followers_url": "https://api.github.com/users/octocat/followers",
    +    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
         "gravatar_id": "",
    -    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    -    "html_url": "https://octocoders.github.io/Codertocat",
    -    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    -    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    -    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    -    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    -    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    -    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    -    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    -    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    -    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "html_url": "https://github.com/octocat",
    +    "id": 25328754,
    +    "login": "octocat",
    +    "node_id": "MDQ6VXNlcjI1MzI4ODU0",
    +    "organizations_url": "https://api.github.com/users/octocat/orgs",
    +    "received_events_url": "https://api.github.com/users/octocat/received_events",
    +    "repos_url": "https://api.github.com/users/octocat/repos",
    +    "site_admin": true,
    +    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
         "type": "User",
    -    "site_admin": false
    +    "url": "https://api.github.com/users/octocat"
       },
    -  "installation": {
    -    "id": 5,
    -    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    -  }
    +  "workflow": ".github/workflows/hello-world-workflow.yml"
     }
     
    -

    - + fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z" >workflow_dispatch + >workflow_job

    - This event occurs when someone triggers a workflow run on GitHub or - sends a POST request to the "Create a workflow dispatch event" endpoint. For more information, see "Events that trigger workflows." + A GitHub Actions workflow job has been queued, is in progress, or has + been completed on a repository. The type of activity is specified in the + action property of the payload object.

    -

    - + >Availability

      -
    • - GitHub Apps must have the contents permission to receive - this webhook. -
    • +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • Enterprise webhooks
    -

    - + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action performed. Can be one of: +
      +
    • queued - A new job was created.
    • +
    • + in_progress - The job has started processing on + the runner. +
    • +
    • + completed - The status of the job is + completed. +
    • +
    +
    workflow_jobobject + The workflow job. Many workflow_job keys, such as + head_sha, conclusion, and + started_at are the same as those in a + check_run object. +
    workflow_job[status]string + The current status of the job. Can be queued, + in_progress, or completed. +
    workflow_job[labels]array + Custom labels for the job. Specified by the + "runs-on" attribute + in the workflow YAML. +
    workflow_job[runner_id]integer + The ID of the runner that is running this job. This will be + null as long as workflow_job[status] is + queued. +
    workflow_job[runner_name]string + The name of the runner that is running this job. This will be + null as long as workflow_job[status] is + queued. +
    workflow_job[runner_group_id]integer + The ID of the runner group that is running this job. This will be + null as long as workflow_job[status] is + queued. +
    workflow_job[runner_group_name]string + The name of the runner group that is running this job. This will + be null as long as + workflow_job[status] is queued. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    senderobjectThe user that triggered the event.
    +

    +

    {
    -  "inputs": {
    -    "name": "Mona the Octocat"
    -  },
    -  "organization": {
    -    "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
    -    "description": null,
    -    "events_url": "https://api.github.com/orgs/octo-org/events",
    -    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
    -    "id": 79927191,
    -    "issues_url": "https://api.github.com/orgs/octo-org/issues",
    -    "login": "octo-org",
    -    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
    -    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI",
    -    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
    -    "repos_url": "https://api.github.com/orgs/octo-org/repos",
    -    "url": "https://api.github.com/orgs/octo-org"
    +  "action": "in_progress",
    +  "workflow_job": {
    +    "id": 2832853555,
    +    "run_id": 940463255,
    +    "run_url": "https://api.github.com/repos/octo-org/example-workflow/actions/runs/940463255",
    +    "node_id": "MDg6Q2hlY2tSdW4yODMyODUzNT55",
    +    "head_sha": "e3103f8eb03e1ad7f2331c5446b23c070fc54055",
    +    "url": "https://api.github.com/repos/octo-org/example-workflow/actions/jobs/2832853555",
    +    "html_url": "https://github.com/octo-org/example-workflow/runs/2832853555",
    +    "status": "in_progress",
    +    "conclusion": null,
    +    "started_at": "2021-06-15T19:22:27Z",
    +    "completed_at": null,
    +    "name": "Test workflow",
    +    "steps": [
    +      {
    +        "name": "Set up job",
    +        "status": "in_progress",
    +        "conclusion": null,
    +        "number": 1,
    +        "started_at": "2021-06-15T19:22:27.000Z",
    +        "completed_at": null
    +      }
    +    ],
    +    "check_run_url": "https://api.github.com/repos/octo-org/example-workflow/check-runs/2832853555",
    +    "labels": [
    +      "gpu",
    +      "db-app",
    +      "dc-03"
    +    ],
    +    "runner_id": 1,
    +    "runner_name": "my runner",
    +    "runner_group_id": 2,
    +    "runner_group_name": "my runner group"
       },
    -  "ref": "refs/heads/main",
       "repository": {
    -    "allow_forking": true,
    -    "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    -    "archived": false,
    -    "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    -    "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    -    "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    -    "clone_url": "https://github.com/octo-org/octo-repo.git",
    -    "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    -    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    -    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    -    "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    -    "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    -    "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    -    "created_at": "2021-08-16T21:34:28Z",
    -    "default_branch": "main",
    -    "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    -    "description": null,
    -    "disabled": false,
    -    "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    -    "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    -    "fork": false,
    -    "forks": 1,
    -    "forks_count": 1,
    -    "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    -    "full_name": "octo-org/octo-repo",
    -    "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    -    "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    -    "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    -    "git_url": "git://github.com/octo-org/octo-repo.git",
    -    "has_downloads": true,
    -    "has_issues": true,
    -    "has_pages": false,
    -    "has_projects": true,
    -    "has_wiki": true,
    -    "homepage": null,
    -    "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    -    "html_url": "https://github.com/octo-org/octo-repo",
    -    "id": 6811672,
    -    "is_template": false,
    -    "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    -    "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    -    "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    -    "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    -    "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    -    "language": null,
    -    "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    -    "license": null,
    -    "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    -    "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    -    "mirror_url": null,
    -    "name": "octo-repo",
    -    "node_id": "MDEwOlJlcG9zaXRvcnkzOTY5ODA4MTI=",
    -    "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    -    "open_issues": 97,
    -    "open_issues_count": 97,
    +    "id": 376034443,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkzNzYwMzQ0ND55",
    +    "name": "example-workflow",
    +    "full_name": "octo-org/example-workflow",
    +    "private": true,
         "owner": {
    -      "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
    -      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +      "login": "octo-org",
    +      "id": 33435655,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzNDM1Nj55",
    +      "avatar_url": "https://avatars.githubusercontent.com/u/21031067?s=460&u=d851e01410b4f1674f000ba7e0dc94e0b82cd9cc&v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/octo-org",
    +      "html_url": "https://github.com/octo-org",
           "followers_url": "https://api.github.com/users/octo-org/followers",
           "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
           "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    -      "gravatar_id": "",
    -      "html_url": "https://github.com/octo-org",
    -      "id": 79927191,
    -      "login": "octo-org",
    -      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI9",
    -      "organizations_url": "https://api.github.com/users/octo-org/orgs",
    -      "received_events_url": "https://api.github.com/users/octo-org/received_events",
    -      "repos_url": "https://api.github.com/users/octo-org/repos",
    -      "site_admin": false,
           "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
           "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +      "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +      "repos_url": "https://api.github.com/users/octo-org/repos",
    +      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/octo-org/received_events",
           "type": "Organization",
    -      "url": "https://api.github.com/users/octo-org"
    +      "site_admin": false
         },
    -    "private": false,
    -    "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    -    "pushed_at": "2022-01-07T21:57:21Z",
    -    "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    -    "size": 144,
    -    "ssh_url": "git@github.com:octo-org/octo-repo.git",
    +    "html_url": "https://github.com/octo-org/example-workflow",
    +    "description": "Test workflow",
    +    "fork": false,
    +    "url": "https://api.github.com/repos/octo-org/example-workflow",
    +    "forks_url": "https://api.github.com/repos/octo-org/example-workflow/forks",
    +    "keys_url": "https://api.github.com/repos/octo-org/example-workflow/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/octo-org/example-workflow/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/octo-org/example-workflow/teams",
    +    "hooks_url": "https://api.github.com/repos/octo-org/example-workflow/hooks",
    +    "issue_events_url": "https://api.github.com/repos/octo-org/example-workflow/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/octo-org/example-workflow/events",
    +    "assignees_url": "https://api.github.com/repos/octo-org/example-workflow/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/octo-org/example-workflow/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/octo-org/example-workflow/tags",
    +    "blobs_url": "https://api.github.com/repos/octo-org/example-workflow/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/octo-org/example-workflow/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/octo-org/example-workflow/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/octo-org/example-workflow/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/octo-org/example-workflow/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/octo-org/example-workflow/languages",
    +    "stargazers_url": "https://api.github.com/repos/octo-org/example-workflow/stargazers",
    +    "contributors_url": "https://api.github.com/repos/octo-org/example-workflow/contributors",
    +    "subscribers_url": "https://api.github.com/repos/octo-org/example-workflow/subscribers",
    +    "subscription_url": "https://api.github.com/repos/octo-org/example-workflow/subscription",
    +    "commits_url": "https://api.github.com/repos/octo-org/example-workflow/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/octo-org/example-workflow/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/octo-org/example-workflow/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/octo-org/example-workflow/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/octo-org/example-workflow/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/octo-org/example-workflow/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/octo-org/example-workflow/merges",
    +    "archive_url": "https://api.github.com/repos/octo-org/example-workflow/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/octo-org/example-workflow/downloads",
    +    "issues_url": "https://api.github.com/repos/octo-org/example-workflow/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/octo-org/example-workflow/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/octo-org/example-workflow/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/octo-org/example-workflow/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/octo-org/example-workflow/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/octo-org/example-workflow/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/octo-org/example-workflow/deployments",
    +    "created_at": "2021-06-11T13:29:13Z",
    +    "updated_at": "2021-06-11T13:33:01Z",
    +    "pushed_at": "2021-06-11T13:32:58Z",
    +    "git_url": "git://github.com/octo-org/example-workflow.git",
    +    "ssh_url": "git@github.com:octo-org/example-workflow.git",
    +    "clone_url": "https://github.com/octo-org/example-workflow.git",
    +    "svn_url": "https://github.com/octo-org/example-workflow",
    +    "homepage": null,
    +    "size": 1,
         "stargazers_count": 0,
    -    "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    -    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    -    "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    -    "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    -    "svn_url": "https://github.com/octo-org/octo-repo",
    -    "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    -    "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    -    "topics": [],
    -    "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    -    "updated_at": "2022-01-07T21:57:24Z",
    -    "url": "https://api.github.com/repos/octo-org/octo-repo",
    -    "visibility": "public",
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": false,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
         "watchers": 0,
    -    "watchers_count": 0
    +    "default_branch": "main"
    +  },
    +  "organization": {
    +    "login": "octo-org",
    +    "id": 33435655,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzNDM1Nj55",
    +    "url": "https://api.github.com/orgs/octo-org",
    +    "repos_url": "https://api.github.com/orgs/octo-org/repos",
    +    "events_url": "https://api.github.com/orgs/octo-org/events",
    +    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
    +    "issues_url": "https://api.github.com/orgs/octo-org/issues",
    +    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
    +    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
    +    "avatar_url": "https://avatars.githubusercontent.com/u/21031067?s=460&u=d851e01410b4f1674f000ba7e0dc94e0b82cd9cc&v=4",
    +    "description": "octo-org"
       },
       "sender": {
    -    "avatar_url": "https://avatars.githubusercontent.com/u/25328854?v=4",
    -    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +    "login": "octocat",
    +    "id": 319655,
    +    "node_id": "MDQ6VXNlcjMxOTY1NQ55",
    +    "avatar_url": "https://avatars.githubusercontent.com/u/21031067?s=460&u=d851e01410b4f1674f000ba7e0dc94e0b82cd9cc&v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/octocat",
    +    "html_url": "https://github.com/octocat",
         "followers_url": "https://api.github.com/users/octocat/followers",
         "following_url": "https://api.github.com/users/octocat/following{/other_user}",
         "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    -    "gravatar_id": "",
    -    "html_url": "https://github.com/octocat",
    -    "id": 25328754,
    -    "login": "octocat",
    -    "node_id": "MDQ6VXNlcjI1MzI4ODU0",
    -    "organizations_url": "https://api.github.com/users/octocat/orgs",
    -    "received_events_url": "https://api.github.com/users/octocat/received_events",
    -    "repos_url": "https://api.github.com/users/octocat/repos",
    -    "site_admin": true,
         "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
         "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/octocat/orgs",
    +    "repos_url": "https://api.github.com/users/octocat/repos",
    +    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/octocat/received_events",
         "type": "User",
    -    "url": "https://api.github.com/users/octocat"
    -  },
    -  "workflow": ".github/workflows/hello-world-workflow.yml"
    +    "site_admin": true
    +  }
     }
     
    @@ -16666,12 +19001,12 @@

    When a GitHub Actions workflow run is requested or completed. For more information, see "Events that trigger workflows."

    -

    - + contents permissions. -

    - + Webhook payloads contain the organization object when the webhook is configured for an organization or the @@ -16771,7 +19106,7 @@

    The repository where the event occurred. @@ -16784,8 +19119,8 @@

    -

    - + +

    Webhook events and payloads

    + +
    +

    + In this article +

    +
    +
    + + + + + + + + + + + + + +
      +
    • +
      +
      + +
      +
      +
    • +
    + + + + + + + + + +
      +
    • +
      +
      + +
      +
      +
    • +
    + + + + +
      +
    • +
      +
      + +
      +
      +
    • +
    + + + + + + + + +
      +
    • +
      +
      + +
      +
      +
    • +
    + + + + + + +
      +
    • +
      +
      + +
      +
      +
    • +
    + +
      +
    • +
      +
      + +
      +
      +
    • +
    + +
      +
    • +
      +
      + +
      +
      +
    • +
    + + + + +
    +
    +
    +
    +
    +

    + For each webhook event, you can review when the event occurs, an example + payload, and descriptions about the payload object parameters. +

    +
    +
    +
    +
    +
    +

    + When configuring a webhook, you can use the UI or API to choose which + events will send you payloads. Only subscribing to the specific events + you plan on handling limits the number of HTTP requests to your server. + You can also subscribe to all current and future events. By default, + webhooks are only subscribed to the push event. You can change the list + of subscribed events anytime. +

    +

    + You can create webhooks that subscribe to the events listed on this + page. Each webhook event includes a description of the webhook + properties and an example payload. For more information, see "Creating webhooks." +

    +

    + + Webhook payload object common properties +

    +

    + Each webhook event payload also contains properties unique to the event. + You can find the unique properties in the individual event type + sections. +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + Most webhook payloads contain an action property that + contains the specific activity that triggered the event. +
    senderobject + The user that triggered the event. This property is included in + every webhook payload. +
    repositoryobject + The + repository + where the event occurred. Webhook payloads contain the + repository property when the event occurs from + activity in a repository. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. For more information, see "Building GitHub App." +
    +

    + The unique properties for a webhook event are the same properties you'll + find in the payload property when using the + Events API. One exception is the push event. The + unique properties of the push event webhook payload and the + payload property in the Events API differ. The webhook + payload contains more detailed information. +

    +
    +

    + Note: Payloads are capped at 25 MB. If your event + generates a larger payload, a webhook will not be fired. This may + happen, for example, on a create event if many branches + or tags are pushed at once. We suggest monitoring your payload size to + ensure delivery. +

    +
    +

    + + Delivery headers +

    +

    + HTTP POST payloads that are delivered to your webhook's configured URL + endpoint will contain several special headers: +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    HeaderDescription
    X-GitHub-EventName of the event that triggered the delivery.
    X-GitHub-Delivery + A + GUID + to identify the delivery. +
    X-GitHub-Enterprise-Version + The version of the GitHub Enterprise Server instance that sent the + HTTP POST payload. +
    X-GitHub-Enterprise-Host + The hostname of the GitHub Enterprise Server instance that sent + the HTTP POST payload. +
    X-Hub-Signature + This header is sent if the webhook is configured with a + secret. This is the HMAC hex digest of the request body, and is + generated using the SHA-1 hash function and the + secret as the HMAC key. + X-Hub-Signature is provided for compatibility with + existing integrations, and we recommend that you use the more + secure X-Hub-Signature-256 instead. +
    X-Hub-Signature-256 + This header is sent if the webhook is configured with a + secret. This is the HMAC hex digest of the request body, and is + generated using the SHA-256 hash function and the + secret as the HMAC key. +
    +

    + Also, the User-Agent for the requests will have the prefix + GitHub-Hookshot/. +

    +

    + + Example delivery +

    +
    > POST /payload HTTP/2
    +
    +> Host: localhost:4567
    +> X-GitHub-Delivery: 72d3162e-cc78-11e3-81ab-4c9367dc0958
    +> X-GitHub-Enterprise-Version: 2.15.0
    +> X-GitHub-Enterprise-Host: example.com
    +> X-Hub-Signature: sha1=7d38cdd689735b008b3c702edd92eea23791c5f6
    +> X-Hub-Signature-256: sha256=d57c68ca6f92289e6987922ff26938930f6e66a2d161ef06abdf1859230aa23c
    +> User-Agent: GitHub-Hookshot/044aadd
    +> Content-Type: application/json
    +> Content-Length: 6615
    +> X-GitHub-Event: issues
    +
    +> {
    +>   "action": "opened",
    +>   "issue": {
    +>     "url": "http(s)://[hostname]/api/v3/repos/octocat/Hello-World/issues/1347",
    +>     "number": 1347,
    +>     ...
    +>   },
    +>   "repository" : {
    +>     "id": 1296269,
    +>     "full_name": "octocat/Hello-World",
    +>     "owner": {
    +>       "login": "octocat",
    +>       "id": 1,
    +>       ...
    +>     },
    +>     ...
    +>   },
    +>   "sender": {
    +>     "login": "octocat",
    +>     "id": 1,
    +>     ...
    +>   }
    +> }
    +

    + + branch_protection_rule +

    +

    + Activity related to a branch protection rule. For more information, see + "About branch protection rules." +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • + GitHub Apps with at least read-only access on + repositories administration +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action performed. Can be created, + edited, or deleted. +
    ruleobject + The branch protection rule. Includes a name and all + the + branch protection settings + applied to branches that match the name. Binary settings are + boolean. Multi-level configurations are one of off, + non_admins, or everyone. Actor and build + lists are arrays of strings. +
    changesobject + If the action was edited, the changes to the rule. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "edited",
    +  "rule": {
    +    "id": 21796960,
    +    "repository_id": 259377789,
    +    "name": "production",
    +    "created_at": "2021-08-19T12:16:32.000-04:00",
    +    "updated_at": "2021-08-19T12:16:32.000-04:00",
    +    "pull_request_reviews_enforcement_level": "off",
    +    "required_approving_review_count": 1,
    +    "dismiss_stale_reviews_on_push": false,
    +    "require_code_owner_review": false,
    +    "authorized_dismissal_actors_only": false,
    +    "ignore_approvals_from_contributors": false,
    +    "required_status_checks": [
    +      "basic-CI"
    +    ],
    +    "required_status_checks_enforcement_level": "non_admins",
    +    "strict_required_status_checks_policy": false,
    +    "signature_requirement_enforcement_level": "off",
    +    "linear_history_requirement_enforcement_level": "off",
    +    "admin_enforced": false,
    +    "allow_force_pushes_enforcement_level": "off",
    +    "allow_deletions_enforcement_level": "off",
    +    "merge_queue_enforcement_level": "off",
    +    "required_deployments_enforcement_level": "off",
    +    "required_conversation_resolution_level": "off",
    +    "authorized_actors_only": true,
    +    "authorized_actor_names": [
    +      "Codertocat"
    +    ]
    +  },
    +  "changes": {
    +    "authorized_actors_only": {
    +      "from": false
    +    },
    +    "authorized_actor_names": {
    +      "from": []
    +    }
    +  },
    +  "repository": {
    +    "id": 17273051,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==",
    +    "name": "octo-repo",
    +    "full_name": "octo-org/octo-repo",
    +    "private": true,
    +    "owner": {
    +      "login": "octo-org",
    +      "id": 6811672,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
    +      "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/octo-org",
    +      "html_url": "https://github.com/octo-org",
    +      "followers_url": "https://api.github.com/users/octo-org/followers",
    +      "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +      "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +      "repos_url": "https://api.github.com/users/octo-org/repos",
    +      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://github.com/octo-org/octo-repo",
    +    "description": "My first repo on GitHub!",
    +    "fork": false,
    +    "url": "https://api.github.com/repos/octo-org/octo-repo",
    +    "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +    "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +    "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +    "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +    "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +    "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +    "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +    "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +    "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +    "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +    "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +    "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +    "created_at": "2014-02-28T02:42:51Z",
    +    "updated_at": "2021-03-11T14:54:13Z",
    +    "pushed_at": "2021-03-11T14:54:10Z",
    +    "git_url": "git://github.com/octo-org/octo-repo.git",
    +    "ssh_url": "org-6811672@github.com:octo-org/octo-repo.git",
    +    "clone_url": "https://github.com/octo-org/octo-repo.git",
    +    "svn_url": "https://github.com/octo-org/octo-repo",
    +    "homepage": "",
    +    "size": 300,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "JavaScript",
    +    "has_issues": true,
    +    "has_projects": false,
    +    "has_downloads": true,
    +    "has_wiki": false,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 39,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 39,
    +    "watchers": 0,
    +    "default_branch": "main"
    +  },
    +  "organization": {
    +    "login": "octo-org",
    +    "id": 6811672,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
    +    "url": "https://api.github.com/orgs/octo-org",
    +    "repos_url": "https://api.github.com/orgs/octo-org/repos",
    +    "events_url": "https://api.github.com/orgs/octo-org/events",
    +    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
    +    "issues_url": "https://api.github.com/orgs/octo-org/issues",
    +    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
    +    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
    +    "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
    +    "description": "Working better together!"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 21031067,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/Codertocat",
    +    "html_url": "https://github.com/Codertocat",
    +    "followers_url": "https://api.github.com/users/Codertocat/followers",
    +    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +    "repos_url": "https://api.github.com/users/Codertocat/repos",
    +    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + cache_sync +

    +

    + A Git ref has been successfully synced to a cache replica. For more + information, see "About repository caching." +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    cache_locationstringThe location of the cache server that has been updated.
    refstringThe ref that has been updated.
    beforestring + The OID of the ref on the cache replica before it was updated. +
    afterstringThe OID of the ref on the cache replica after the update.
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "cache_location": "morocco",
    +  "ref": "refs/heads/main",
    +  "before": "0000000000000000000000000000000000000000",
    +  "after": "de40facb99837f9ca38a0d399b0d20fe135510eb",
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:37:10Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "github-enterprise",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/github-enterprise",
    +    "html_url": "https://octocoders.github.io/github-enterprise",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/github-enterprise/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/github-enterprise/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/github-enterprise/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/github-enterprise/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/github-enterprise/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/github-enterprise/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/github-enterprise/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/github-enterprise/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/github-enterprise/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + check_run +

    +

    + Check run activity has occurred. The type of activity is specified in + the action property of the payload object. For more + information, see the "check runs" REST API. +

    +
    +

    + Note: The Checks API only looks for pushes in the + repository where the check suite or check run were created. Pushes to + a branch in a forked repository are not detected and return an empty + pull_requests array and a null value for + head_branch. +

    +
    +

    + + Availability +

    +
      +
    • + Repository webhooks only receive payloads for the + created and completed event types in a + repository +
    • +
    • + Organization webhooks only receive payloads for the + created and completed event types in + repositories +
    • +
    • + GitHub Apps with the checks:read permission receive + payloads for the created and + completed events that occur in the repository where the + app is installed. The app must have the + checks:write permission to receive the + rerequested and requested_action event + types. The rerequested and + requested_action event type payloads are only sent to the + GitHub App being requested. GitHub Apps with the + checks:write are automatically subscribed to this webhook + event. +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action performed. Can be one of: +
      +
    • created - A new check run was created.
    • +
    • + completed - The status of the check + run is completed. +
    • +
    • + rerequested - Someone requested to re-run your + check run from the pull request UI. See "About status checks" for more details about the GitHub UI. When you receive a + rerequested action, you'll need to + create a new check run. Only the GitHub App that someone requests to re-run the + check will receive the rerequested payload. +
    • +
    • + requested_action - Someone requested an action + your app provides to be taken. Only the GitHub App someone + requests to perform an action will receive the + requested_action payload. To learn more about + check runs and requested actions, see "Check runs and requested actions." +
    • +
    +
    check_runobject + The + check_run. +
    check_run[status]string + The current status of the check run. Can be queued, + in_progress, or completed. +
    check_run[conclusion]string + The result of the completed check run. Can be one of + success, failure, neutral, + cancelled, timed_out, + action_required or stale. This value + will be null until the check run has + completed. +
    check_run[name]stringThe name of the check run.
    check_run[check_suite][id]integerThe id of the check suite that this check run is part of.
    check_run[check_suite][pull_requests]array + An array of pull requests that match this check suite. A pull + request matches a check suite if they have the same + head_branch.

    Note: +
      +
    • + The head_sha of the check suite can differ from + the sha of the pull request if subsequent pushes + are made into the PR. +
    • +
    • + When the check suite's head_branch is in a forked + repository it will be null and the + pull_requests array will be empty. +
    • +
    +
    check_run[check_suite][deployment]object + A deployment to a repository environment. This will only be + populated if the check run was created by a GitHub Actions + workflow job that references an environment. +
    requested_actionobjectThe action requested by the user.
    requested_action[identifier]string + The integrator reference of the action requested by the user. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "check_run": {
    +    "id": 2,
    +    "node_id": "MDg6Q2hlY2tSdW4y",
    +    "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +    "external_id": "",
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2",
    +    "details_url": "https://octocoders.io",
    +    "status": "queued",
    +    "conclusion": null,
    +    "started_at": "2019-05-15T19:39:04Z",
    +    "completed_at": null,
    +    "output": {
    +      "title": null,
    +      "summary": null,
    +      "text": null,
    +      "annotations_count": 0,
    +      "annotations_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2/annotations"
    +    },
    +    "name": "Octocoders-linter",
    +    "check_suite": {
    +      "id": 9,
    +      "node_id": "MDEwOkNoZWNrU3VpdGU5",
    +      "head_branch": "changes",
    +      "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +      "status": "queued",
    +      "conclusion": null,
    +      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9",
    +      "before": "4544205a385319fd846d5df4ed2e3b8173529d78",
    +      "after": "14977a7b5485400124827221a04bfb474bcd72d1",
    +      "pull_requests": [
    +        {
    +          "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    +          "id": 2,
    +          "number": 2,
    +          "head": {
    +            "ref": "changes",
    +            "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +            "repo": {
    +              "id": 118,
    +              "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +              "name": "Hello-World"
    +            }
    +          },
    +          "base": {
    +            "ref": "master",
    +            "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +            "repo": {
    +              "id": 118,
    +              "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +              "name": "Hello-World"
    +            }
    +          }
    +        }
    +      ],
    +      "app": {
    +        "id": 2,
    +        "node_id": "MDM6QXBwMg==",
    +        "owner": {
    +          "login": "Octocoders",
    +          "id": 6,
    +          "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +          "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +          "gravatar_id": "",
    +          "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +          "html_url": "https://octocoders.github.io/Octocoders",
    +          "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +          "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +          "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +          "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +          "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +          "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +          "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +          "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +          "type": "Organization",
    +          "site_admin": false
    +        },
    +        "name": "octocoders-linter",
    +        "description": "",
    +        "external_url": "https://octocoders.io",
    +        "html_url": "https://octocoders.github.io/github-apps/octocoders-linter",
    +        "created_at": "2019-05-15T15:41:35Z",
    +        "updated_at": "2019-05-15T15:41:35Z",
    +        "permissions": {
    +          "administration": "write",
    +          "checks": "write",
    +          "contents": "write",
    +          "deployments": "write",
    +          "issues": "write",
    +          "metadata": "read",
    +          "pages": "write",
    +          "pull_requests": "write",
    +          "repository_hooks": "write",
    +          "repository_projects": "write",
    +          "vulnerability_alerts": "read",
    +          "statuses": "write",
    +          "members": "write",
    +          "organization_user_blocking": "write",
    +          "organization_projects": "write",
    +          "team_discussions": "write",
    +          "organization_hooks": "write",
    +          "repository_pre_receive_hooks": "write",
    +          "organization_pre_receive_hooks": "write"
    +        },
    +        "events": [
    +          "check_run",
    +          "check_suite",
    +          "commit_comment",
    +          "create",
    +          "delete",
    +          "deployment",
    +          "deployment_status",
    +          "fork",
    +          "gollum",
    +          "issues",
    +          "issue_comment",
    +          "label",
    +          "member",
    +          "membership",
    +          "milestone",
    +          "organization",
    +          "page_build",
    +          "project",
    +          "project_card",
    +          "project_column",
    +          "public",
    +          "pull_request",
    +          "pull_request_review",
    +          "pull_request_review_comment",
    +          "push",
    +          "release",
    +          "repository",
    +          "status",
    +          "team",
    +          "team_add",
    +          "watch"
    +        ]
    +      },
    +      "created_at": "2019-05-15T19:38:27Z",
    +      "updated_at": "2019-05-15T19:38:27Z"
    +    },
    +    "app": {
    +      "id": 2,
    +      "node_id": "MDM6QXBwMg==",
    +      "owner": {
    +        "login": "Octocoders",
    +        "id": 6,
    +        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +        "html_url": "https://octocoders.github.io/Octocoders",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +        "type": "Organization",
    +        "site_admin": false
    +      },
    +      "name": "octocoders-linter",
    +      "description": "",
    +      "external_url": "https://octocoders.io",
    +      "html_url": "https://octocoders.github.io/github-apps/octocoders-linter",
    +      "created_at": "2019-05-15T15:41:35Z",
    +      "updated_at": "2019-05-15T15:41:35Z",
    +      "permissions": {
    +        "administration": "write",
    +        "checks": "write",
    +        "contents": "write",
    +        "deployments": "write",
    +        "issues": "write",
    +        "metadata": "read",
    +        "pages": "write",
    +        "pull_requests": "write",
    +        "repository_hooks": "write",
    +        "repository_projects": "write",
    +        "vulnerability_alerts": "read",
    +        "statuses": "write",
    +        "members": "write",
    +        "organization_user_blocking": "write",
    +        "organization_projects": "write",
    +        "team_discussions": "write",
    +        "organization_hooks": "write",
    +        "repository_pre_receive_hooks": "write",
    +        "organization_pre_receive_hooks": "write"
    +      },
    +      "events": [
    +        "check_run",
    +        "check_suite",
    +        "commit_comment",
    +        "create",
    +        "delete",
    +        "deployment",
    +        "deployment_status",
    +        "fork",
    +        "gollum",
    +        "issues",
    +        "issue_comment",
    +        "label",
    +        "member",
    +        "membership",
    +        "milestone",
    +        "organization",
    +        "page_build",
    +        "project",
    +        "project_card",
    +        "project_column",
    +        "public",
    +        "pull_request",
    +        "pull_request_review",
    +        "pull_request_review_comment",
    +        "push",
    +        "release",
    +        "repository",
    +        "status",
    +        "team",
    +        "team_add",
    +        "watch"
    +      ]
    +    },
    +    "pull_requests": [
    +      {
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    +        "id": 2,
    +        "number": 2,
    +        "head": {
    +          "ref": "changes",
    +          "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +          "repo": {
    +            "id": 118,
    +            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +            "name": "Hello-World"
    +          }
    +        },
    +        "base": {
    +          "ref": "master",
    +          "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +          "repo": {
    +            "id": 118,
    +            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +            "name": "Hello-World"
    +          }
    +        }
    +      }
    +    ]
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:27Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + check_suite +

    +

    + Check suite activity has occurred. The type of activity is specified in + the action property of the payload object. For more + information, see the "check suites" REST API. +

    +
    +

    + Note: The Checks API only looks for pushes in the + repository where the check suite or check run were created. Pushes to + a branch in a forked repository are not detected and return an empty + pull_requests array and a null value for + head_branch. +

    +
    +

    + + Availability +

    +
      +
    • + Repository webhooks only receive payloads for the + completed event types in a repository +
    • +
    • + Organization webhooks only receive payloads for the + completed event types in repositories +
    • +
    • + GitHub Apps with the checks:read permission receive + payloads for the created and + completed events that occur in the repository where the + app is installed. The app must have the + checks:write permission to receive the + requested and rerequested event types. The + requested and rerequested event type + payloads are only sent to the GitHub App being requested. GitHub Apps + with the checks:write are automatically subscribed to + this webhook event. +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action performed. Can be: +
      +
    • + completed - All check runs in a check suite have + completed. +
    • +
    • + requested - Occurs when new code is pushed to the + app's repository. When you receive the + requested action events, you'll need to + create a new check run. +
    • +
    • + rerequested - Occurs when someone requests to + re-run the entire check suite from the pull request UI. When + you receive the rerequested action events, you'll + need to + create a new check run. See "About status checks" for more details about the GitHub UI. +
    • +
    +
    check_suiteobject + The + check_suite. +
    check_suite[head_branch]stringThe head branch name the changes are on.
    check_suite[head_sha]stringThe SHA of the most recent commit for this check suite.
    check_suite[status]string + The summary status for all check runs that are part of the check + suite. Can be requested, in_progress, or + completed. +
    check_suite[conclusion]string + The summary conclusion for all check runs that are part of the + check suite. Can be one of success, + failure, neutral, + cancelled, timed_out, + action_required or stale. This value + will be null until the check run has + completed. +
    check_suite[url]stringURL that points to the check suite API resource.
    check_suite[pull_requests]array + An array of pull requests that match this check suite. A pull + request matches a check suite if they have the same + head_branch.

    Note: +
      +
    • + The head_sha of the check suite can differ from + the sha of the pull request if subsequent pushes + are made into the PR. +
    • +
    • + When the check suite's head_branch is in a forked + repository it will be null and the + pull_requests array will be empty. +
    • +
    +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "completed",
    +  "check_suite": {
    +    "id": 9,
    +    "node_id": "MDEwOkNoZWNrU3VpdGU5",
    +    "head_branch": "changes",
    +    "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +    "status": "completed",
    +    "conclusion": "success",
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9",
    +    "before": "4544205a385319fd846d5df4ed2e3b8173529d78",
    +    "after": "14977a7b5485400124827221a04bfb474bcd72d1",
    +    "pull_requests": [
    +      {
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    +        "id": 2,
    +        "number": 2,
    +        "head": {
    +          "ref": "changes",
    +          "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +          "repo": {
    +            "id": 118,
    +            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +            "name": "Hello-World"
    +          }
    +        },
    +        "base": {
    +          "ref": "master",
    +          "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +          "repo": {
    +            "id": 118,
    +            "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +            "name": "Hello-World"
    +          }
    +        }
    +      }
    +    ],
    +    "app": {
    +      "id": 2,
    +      "node_id": "MDM6QXBwMg==",
    +      "owner": {
    +        "login": "Octocoders",
    +        "id": 6,
    +        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +        "html_url": "https://octocoders.github.io/Octocoders",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +        "type": "Organization",
    +        "site_admin": false
    +      },
    +      "name": "octocoders-linter",
    +      "description": "",
    +      "external_url": "https://octocoders.io",
    +      "html_url": "https://octocoders.github.io/github-apps/octocoders-linter",
    +      "created_at": "2019-05-15T15:41:35Z",
    +      "updated_at": "2019-05-15T15:41:35Z",
    +      "permissions": {
    +        "administration": "write",
    +        "checks": "write",
    +        "contents": "write",
    +        "deployments": "write",
    +        "issues": "write",
    +        "metadata": "read",
    +        "pages": "write",
    +        "pull_requests": "write",
    +        "repository_hooks": "write",
    +        "repository_projects": "write",
    +        "vulnerability_alerts": "read",
    +        "statuses": "write",
    +        "members": "write",
    +        "organization_user_blocking": "write",
    +        "organization_projects": "write",
    +        "team_discussions": "write",
    +        "organization_hooks": "write",
    +        "repository_pre_receive_hooks": "write",
    +        "organization_pre_receive_hooks": "write"
    +      },
    +      "events": [
    +        "check_run",
    +        "check_suite",
    +        "commit_comment",
    +        "create",
    +        "delete",
    +        "deployment",
    +        "deployment_status",
    +        "fork",
    +        "gollum",
    +        "issues",
    +        "issue_comment",
    +        "label",
    +        "member",
    +        "membership",
    +        "milestone",
    +        "organization",
    +        "page_build",
    +        "project",
    +        "project_card",
    +        "project_column",
    +        "public",
    +        "pull_request",
    +        "pull_request_review",
    +        "pull_request_review_comment",
    +        "push",
    +        "release",
    +        "repository",
    +        "status",
    +        "team",
    +        "team_add",
    +        "watch"
    +      ]
    +    },
    +    "created_at": "2019-05-15T19:38:27Z",
    +    "updated_at": "2019-05-15T19:39:09Z",
    +    "latest_check_runs_count": 1,
    +    "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs",
    +    "head_commit": {
    +      "id": "14977a7b5485400124827221a04bfb474bcd72d1",
    +      "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea",
    +      "message": "Update README.md",
    +      "timestamp": "2019-05-15T19:38:01Z",
    +      "author": {
    +        "name": "Codertocat",
    +        "email": "Codertocat@Octocoders.io"
    +      },
    +      "committer": {
    +        "name": "Codertocat",
    +        "email": "Codertocat@Octocoders.io"
    +      }
    +    }
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:27Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + code_scanning_alert +

    +

    + Activity related to code scanning alerts in a repository. The type of + activity is specified in the action property of the payload object. For + more information, see "About code scanning." +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • + GitHub Apps with the security_events :read permission +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. This can be one of + created, reopened_by_user, + closed_by_user, fixed, + appeared_in_branch, or reopened. +
    alertobjectThe code scanning alert involved in the event.
    refstring + The Git reference of the code scanning alert. When the action is + reopened_by_user or closed_by_user, the + event was triggered by the sender and this value will + be empty. +
    commit_oidstring + The commit SHA of the code scanning alert. When the action is + reopened_by_user or closed_by_user, the + event was triggered by the sender and this value will + be empty. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobject + If the action is reopened_by_user or + closed_by_user, the sender object will + be the user that triggered the event. The + sender object is github-enterprise for + all other actions. +
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "reopened",
    +  "alert": {
    +    "number": 10,
    +    "created_at": "2020-07-22T14:06:31Z",
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/code-scanning/alerts/10",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/security/code-scanning/10",
    +    "instances": [
    +      {
    +        "ref": "refs/heads/main",
    +        "analysis_key": ".github/workflows/workflow.yml:upload",
    +        "environment": "{}",
    +        "state": "open"
    +      }
    +    ],
    +    "state": "open",
    +    "dismissed_by": null,
    +    "dismissed_at": null,
    +    "dismissed_reason": null,
    +    "rule": {
    +      "id": "Style/FrozenStringLiteralComment",
    +      "severity": "note",
    +      "description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default."
    +    },
    +    "tool": {
    +      "name": "Rubocop",
    +      "version": null
    +    }
    +  },
    +  "ref": "refs/heads/main",
    +  "commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795",
    +  "repository": {
    +    "id": 186853002,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T15:19:25Z",
    +    "updated_at": "2019-05-15T15:19:27Z",
    +    "pushed_at": "2019-05-15T15:20:32Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "main"
    +  },
    +  "organization": {
    +    "login": "Octocoders",
    +    "id": 6,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
    +    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
    +    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
    +    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
    +    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
    +    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +    "description": ""
    +  }
    +}
    +
    +
    +

    + + commit_comment +

    +

    + A commit comment is created. The type of activity is specified in the + action property of the payload object. For more + information, see the "commit comment" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the contents permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstringThe action performed. Can be created.
    commentobject + The + commit comment + resource. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "comment": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments/2",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78#commitcomment-2",
    +    "id": 2,
    +    "node_id": "MDEzOkNvbW1pdENvbW1lbnQy",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "position": null,
    +    "line": null,
    +    "path": null,
    +    "commit_id": "4544205a385319fd846d5df4ed2e3b8173529d78",
    +    "created_at": "2019-05-15T19:38:09Z",
    +    "updated_at": "2019-05-15T19:38:09Z",
    +    "author_association": "OWNER",
    +    "body": "This is a really good change! :+1:"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:37:10Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + create +

    +

    + A Git branch or tag is created. For more information, see the "Git database" REST API. +

    +
    +

    + Note: You will not receive a webhook for this event + when you create more than three tags at once. +

    +
    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the contents permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    refstring + The + git ref + resource. +
    ref_typestring + The type of Git ref object created in the repository. Can be + either branch or tag. +
    master_branchstring + The name of the repository's default branch (usually + main). +
    descriptionstringThe repository's current description.
    pusher_typestring + The pusher type for the event. Can be either user or + a deploy key. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "ref": "simple-tag",
    +  "ref_type": "tag",
    +  "master_branch": "master",
    +  "description": null,
    +  "pusher_type": "user",
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": "2019-05-15T19:38:22Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + delete +

    +

    + A Git branch or tag is deleted. For more information, see the "Git database" REST API. +

    +
    +

    + Note: You will not receive a webhook for this event + when you delete more than three tags at once. +

    +
    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the contents permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    refstring + The + git ref + resource. +
    ref_typestring + The type of Git ref object deleted in the repository. Can be + either branch or tag. +
    pusher_typestring + The pusher type for the event. Can be either user or + a deploy key. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "ref": "simple-tag",
    +  "ref_type": "tag",
    +  "pusher_type": "user",
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + deploy_key +

    +

    + A deploy key is added or removed from a repository. The type of activity + is specified in the action property of the payload object. + For more information, see the "Deploy keys" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action performed. Can be either created or + deleted. +
    keyobject + The + deploy key + resource. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "key": {
    +    "id": 100,
    +    "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQConScVc7ouWWgwcjneNnJ4PScDkkwEjuDL5leLIUU5aIg13dH55/f4aqKUSvfcLUOKJ0a8073tFqMbR9rfvLAhLGeStKxmYApJXpzVkphauu7kfNW8kQNi1fI4kmHyOpQ+dKtoonzjZAT4L9AV3FlVTOfRq3U8wJ2RPwU+4EtOpMKUF+wcoDJ5ONlKBOW6uAeBt/guBiu6r3awDClDGRo4Q2YCmMceiAyoiuXcr2mFNSyzTqU1f20fftFwucV/VqnxlJjZvZ/zhlfB+v+UgQN11pJJ5vChZ7bzyRtIRRsjxbTReyWxqVZ5hEle5sm1oAR97abW9zTWfwIABgClKo+z",
    +    "url": "https://api.github.com/repos/Codertocat/Hello-World/keys/100",
    +    "title": "hey-its-a-deploy-key",
    +    "verified": true,
    +    "created_at": "2019-04-02T17:37:07Z",
    +    "read_only": true
    +  },
    +  "repository": {
    +    "id": 135493233,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "private": false,
    +    "html_url": "https://github.com/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://api.github.com/repos/Codertocat/Hello-World",
    +    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2018-05-30T20:18:04Z",
    +    "updated_at": "2018-05-30T20:18:50Z",
    +    "pushed_at": "2018-05-30T20:18:48Z",
    +    "git_url": "git://github.com/Codertocat/Hello-World.git",
    +    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
    +    "clone_url": "https://github.com/Codertocat/Hello-World.git",
    +    "svn_url": "https://github.com/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "open_issues_count": 1,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 1,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 21031067,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/Codertocat",
    +    "html_url": "https://github.com/Codertocat",
    +    "followers_url": "https://api.github.com/users/Codertocat/followers",
    +    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +    "repos_url": "https://api.github.com/users/Codertocat/repos",
    +    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + deployment +

    +

    + A deployment is created. The type of activity is specified in the + action property of the payload object. For more + information, see the "deployment" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the deployments permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstringThe action performed. Can be created.
    deploymentobject + The + deployment. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "deployment": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
    +    "id": 2,
    +    "node_id": "MDEwOkRlcGxveW1lbnQy",
    +    "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +    "ref": "master",
    +    "task": "deploy",
    +    "payload": {},
    +    "original_environment": "production",
    +    "environment": "production",
    +    "description": null,
    +    "creator": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "created_at": "2019-05-15T19:38:20Z",
    +    "updated_at": "2019-05-15T19:38:20Z",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses",
    +    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": "2019-05-15T19:38:19Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + deployment_status +

    +

    + A deployment is created. The type of activity is specified in the + action property of the payload object. For more + information, see the "deployments" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the deployments permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstringThe action performed. Can be created.
    deployment_statusobject + The + deployment status. +
    deployment_status["state"]string + The new state. Can be pending, success, + failure, or error. +
    deployment_status["target_url"]stringThe optional link added to the status.
    deployment_status["description"]string + The optional human-readable description added to the status. +
    deploymentobject + The + deployment + that this status is associated with. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "deployment_status": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2",
    +    "id": 2,
    +    "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy",
    +    "state": "success",
    +    "creator": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "description": "",
    +    "environment": "production",
    +    "target_url": "",
    +    "created_at": "2019-05-15T19:38:21Z",
    +    "updated_at": "2019-05-15T19:38:21Z",
    +    "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
    +    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
    +  },
    +  "deployment": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2",
    +    "id": 2,
    +    "node_id": "MDEwOkRlcGxveW1lbnQy",
    +    "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +    "ref": "master",
    +    "task": "deploy",
    +    "payload": {},
    +    "original_environment": "production",
    +    "environment": "production",
    +    "description": null,
    +    "creator": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "created_at": "2019-05-15T19:38:20Z",
    +    "updated_at": "2019-05-15T19:38:21Z",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses",
    +    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": "2019-05-15T19:38:19Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + enterprise +

    +

    + A site or repository administrator enables or disables anonymous Git + read access. See "Allowing admins to enable anonymous Git read access to public + repositories" for more details. This event is not available in the Events API. +

    +

    + + Availability +

    +
      +
    • + GitHub Enterprise webhooks. For more information, "Global webhooks." +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action performed. Can be + anonymous_access_enabled or + anonymous_access_disabled. +
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "anonymous_access_enabled",
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://avatars.octocoders.github.io/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": true
    +  }
    +}
    +
    +
    +

    + + fork +

    +

    + A user forks a repository. For more information, see the "forks" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the contents permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    forkeeobject + The created + repository + resource. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "forkee": {
    +    "id": 120,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
    +    "name": "Hello-World",
    +    "full_name": "Octocoders/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Octocoders",
    +      "id": 6,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +      "html_url": "https://octocoders.github.io/Octocoders",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "description": null,
    +    "fork": true,
    +    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:38:10Z",
    +    "updated_at": "2019-05-15T19:38:10Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": false,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": false,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
    +    "watchers": 0,
    +    "default_branch": "master",
    +    "public": true
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:10Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Octocoders",
    +    "id": 6,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +    "html_url": "https://octocoders.github.io/Octocoders",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +    "type": "Organization",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + github_app_authorization +

    +

    + When someone revokes their authorization of a GitHub App, this event + occurs. A GitHub App receives this webhook by default and cannot + unsubscribe from this event. +

    +

    + Anyone can revoke their authorization of a GitHub App from their + GitHub account settings page. Revoking the authorization of a GitHub App does not uninstall the + GitHub App. You should program your GitHub App so that when it receives + this webhook, it stops calling the API on behalf of the person who + revoked the token. If your GitHub App continues to use a revoked access + token, it will receive the 401 Bad Credentials error. For + details about user-to-server requests, which require GitHub App + authorization, see "Identifying and authorizing users for GitHub Apps." +

    +

    + + Availability +

    +
      +
    • GitHub Apps
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstringThe action performed. Can be revoked.
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "revoked",
    +  "sender": {
    +    "login": "octocat",
    +    "id": 1,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://github.com/images/error/octocat_happy.gif",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/octocat",
    +    "html_url": "https://github.com/octocat",
    +    "followers_url": "https://api.github.com/users/octocat/followers",
    +    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/octocat/orgs",
    +    "repos_url": "https://api.github.com/users/octocat/repos",
    +    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/octocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + gollum +

    +

    + A wiki page is created or updated. For more information, see "About wikis." +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the contents permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    pagesarrayThe pages that were updated.
    pages[][page_name]stringThe name of the page.
    pages[][title]stringThe current page title.
    pages[][action]string + The action that was performed on the page. Can be + created or edited. +
    pages[][sha]stringThe latest commit SHA of the page.
    pages[][html_url]stringPoints to the HTML wiki page.
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "pages": [
    +    {
    +      "page_name": "Home",
    +      "title": "Home",
    +      "summary": null,
    +      "action": "edited",
    +      "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385",
    +      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home"
    +    }
    +  ],
    +  "repository": {
    +    "id": 122,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://avatars.octocoders.github.io/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "private": false,
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2018-10-04T18:29:19Z",
    +    "updated_at": "2018-10-04T18:29:21Z",
    +    "pushed_at": "2018-10-04T18:29:59Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "sender": {
    +    "login": "rachmari",
    +    "id": 3,
    +    "node_id": "MDQ6VXNlcjM=",
    +    "avatar_url": "https://avatars.octocoders.github.io/u/3?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/rachmari",
    +    "html_url": "https://octocoders.github.io/rachmari",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events",
    +    "type": "User",
    +    "site_admin": true
    +  }
    +}
    +
    +
    +

    + + installation +

    +

    + Activity related to a GitHub App installation. The type of activity is + specified in the action property of the payload object. For + more information, see the "GitHub App installation" REST API. +

    +

    + + Availability +

    +
      +
    • GitHub Apps
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of: +
      +
    • created - Someone installs a GitHub App.
    • +
    • deleted - Someone uninstalls a GitHub App
    • +
    • + suspend - Someone suspends a GitHub App + installation. +
    • +
    • + unsuspend - Someone unsuspends a GitHub App + installation. +
    • +
    • + new_permissions_accepted - Someone accepts new + permissions for a GitHub App installation. When a GitHub App + owner requests new permissions, the person who installed the + GitHub App must accept the new permissions request. +
    • +
    +
    repositoriesarray + An array of repository objects that the installation can access. +
    installationobjectThe GitHub App installation.
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "deleted",
    +  "installation": {
    +    "id": 5,
    +    "account": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat",
    +      "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat",
    +      "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers",
    +      "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs",
    +      "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos",
    +      "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "repository_selection": "selected",
    +    "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens",
    +    "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories",
    +    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5",
    +    "app_id": 2,
    +    "target_id": 4,
    +    "target_type": "User",
    +    "permissions": {
    +      "administration": "write",
    +      "checks": "write",
    +      "contents": "write",
    +      "deployments": "write",
    +      "issues": "write",
    +      "pages": "write",
    +      "pull_requests": "write",
    +      "repository_hooks": "write",
    +      "repository_projects": "write",
    +      "statuses": "write",
    +      "repository_pre_receive_hooks": "write",
    +      "metadata": "read",
    +      "vulnerability_alerts": "read"
    +    },
    +    "events": [
    +      "check_run",
    +      "check_suite",
    +      "commit_comment",
    +      "create",
    +      "delete",
    +      "deployment",
    +      "deployment_status",
    +      "fork",
    +      "gollum",
    +      "issues",
    +      "issue_comment",
    +      "label",
    +      "member",
    +      "membership",
    +      "milestone",
    +      "organization",
    +      "page_build",
    +      "project",
    +      "project_card",
    +      "project_column",
    +      "public",
    +      "pull_request",
    +      "pull_request_review",
    +      "pull_request_review_comment",
    +      "push",
    +      "release",
    +      "repository",
    +      "status",
    +      "team",
    +      "team_add",
    +      "watch"
    +    ],
    +    "created_at": "2019-05-15T19:37:38.000Z",
    +    "updated_at": "2019-05-15T19:37:38.000Z",
    +    "single_file_name": null
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat",
    +    "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat",
    +    "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers",
    +    "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs",
    +    "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos",
    +    "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + installation_repositories +

    +

    + Activity related to repositories being added to a GitHub App + installation. The type of activity is specified in the + action property of the payload object. For more + information, see the "GitHub App installation" REST API. +

    +

    + + Availability +

    +
      +
    • GitHub Apps
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be either added or + removed. +
    repository_selectionstring + The choice of repositories the installation is on. Can be either + selected or all. +
    repositories_addedarray + An array of repository objects, which were added to the + installation. +
    repositories_removedarray + An array of repository objects, which were removed from the + installation. +
    installationobjectThe GitHub App installation.
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "added",
    +  "installation": {
    +    "id": 5,
    +    "account": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "repository_selection": "selected",
    +    "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens",
    +    "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories",
    +    "html_url": "https://octocoders.github.io/settings/installations/5",
    +    "app_id": 2,
    +    "target_id": 4,
    +    "target_type": "User",
    +    "permissions": {
    +      "administration": "write",
    +      "repository_pre_receive_hooks": "write",
    +      "statuses": "write",
    +      "repository_projects": "write",
    +      "repository_hooks": "write",
    +      "pull_requests": "write",
    +      "pages": "write",
    +      "issues": "write",
    +      "deployments": "write",
    +      "contents": "write",
    +      "checks": "write",
    +      "vulnerability_alerts": "read",
    +      "metadata": "read"
    +    },
    +    "events": [
    +      "check_run",
    +      "check_suite",
    +      "commit_comment",
    +      "create",
    +      "delete",
    +      "deployment",
    +      "deployment_status",
    +      "fork",
    +      "gollum",
    +      "issues",
    +      "issue_comment",
    +      "label",
    +      "member",
    +      "membership",
    +      "milestone",
    +      "organization",
    +      "page_build",
    +      "project",
    +      "project_card",
    +      "project_column",
    +      "public",
    +      "pull_request",
    +      "pull_request_review",
    +      "pull_request_review_comment",
    +      "push",
    +      "release",
    +      "repository",
    +      "status",
    +      "team",
    +      "team_add",
    +      "watch"
    +    ],
    +    "created_at": 1557949058,
    +    "updated_at": 1557949058,
    +    "single_file_name": null
    +  },
    +  "repository_selection": "selected",
    +  "repositories_added": [
    +    {
    +      "id": 119,
    +      "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=",
    +      "name": "Space",
    +      "full_name": "Codertocat/Space",
    +      "private": false
    +    }
    +  ],
    +  "repositories_removed": [],
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + issue_comment +

    +

    + Activity related to an issue or pull request comment. The type of + activity is specified in the action property of the payload + object. For more information, see the "issue comments" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the issues permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed on the comment. Can be one of + created, edited, or + deleted. +
    changesobject + The changes to the comment if the action was edited. +
    changes[body][from]string + The previous version of the body if the action was + edited. +
    issueobject + The + issue + the comment belongs to. +
    commentobject + The + comment + itself. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "issue": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
    +    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1",
    +    "id": 10,
    +    "node_id": "MDU6SXNzdWUxMA==",
    +    "number": 1,
    +    "title": "Spelling error in the README file",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "labels": [
    +      {
    +        "id": 941,
    +        "node_id": "MDU6TGFiZWw5NDE=",
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug",
    +        "name": "bug",
    +        "color": "d73a4a",
    +        "default": true
    +      }
    +    ],
    +    "state": "open",
    +    "locked": false,
    +    "assignee": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "assignees": [
    +      {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      }
    +    ],
    +    "milestone": {
    +      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
    +      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
    +      "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
    +      "id": 2,
    +      "node_id": "MDk6TWlsZXN0b25lMg==",
    +      "number": 1,
    +      "title": "v1.0",
    +      "description": "Add new space flight simulator",
    +      "creator": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "open_issues": 1,
    +      "closed_issues": 0,
    +      "state": "closed",
    +      "created_at": "2019-05-15T19:37:52Z",
    +      "updated_at": "2019-05-15T19:37:53Z",
    +      "due_on": "2019-05-23T00:00:00Z",
    +      "closed_at": "2019-05-15T19:37:53Z"
    +    },
    +    "comments": 0,
    +    "created_at": "2019-05-15T19:37:53Z",
    +    "updated_at": "2019-05-15T19:37:55Z",
    +    "closed_at": null,
    +    "author_association": "OWNER",
    +    "body": "It looks like you accidently spelled 'commit' with two 't's."
    +  },
    +  "comment": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2",
    +    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
    +    "id": 2,
    +    "node_id": "MDEyOklzc3VlQ29tbWVudDI=",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "created_at": "2019-05-15T19:37:55Z",
    +    "updated_at": "2019-05-15T19:37:55Z",
    +    "author_association": "OWNER",
    +    "body": "You are totally right! I'll get this fixed right away."
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:37:10Z",
    +    "pushed_at": "2019-05-15T19:37:50Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 1,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 1,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + issues +

    +

    + Activity related to an issue. The type of activity is specified in the + action property of the payload object. For more + information, see the "issues" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the issues permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of opened, + edited, deleted, pinned, + unpinned, closed, reopened, + assigned, unassigned, + labeled, unlabeled, locked, + unlocked, transferred, + milestoned, or demilestoned. +
    issueobject + The + issue + itself. +
    changesobject + The changes to the issue if the action was edited. +
    changes[title][from]string + The previous version of the title if the action was + edited. +
    changes[body][from]string + The previous version of the body if the action was + edited. +
    assigneeobject + The optional user who was assigned or unassigned from the issue. +
    labelobject + The optional label that was added or removed from the issue. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example when someone edits an issue +

    +
    +
    {
    +  "action": "edited",
    +  "issue": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1",
    +    "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1",
    +    "id": 10,
    +    "node_id": "MDU6SXNzdWUxMA==",
    +    "number": 1,
    +    "title": "Spelling error in the README file",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "labels": [
    +      {
    +        "id": 941,
    +        "node_id": "MDU6TGFiZWw5NDE=",
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug",
    +        "name": "bug",
    +        "color": "d73a4a",
    +        "default": true
    +      }
    +    ],
    +    "state": "open",
    +    "locked": false,
    +    "assignee": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "assignees": [
    +      {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      }
    +    ],
    +    "milestone": {
    +      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
    +      "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
    +      "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
    +      "id": 2,
    +      "node_id": "MDk6TWlsZXN0b25lMg==",
    +      "number": 1,
    +      "title": "v1.0",
    +      "description": "Add new space flight simulator",
    +      "creator": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "open_issues": 1,
    +      "closed_issues": 0,
    +      "state": "closed",
    +      "created_at": "2019-05-15T19:37:52Z",
    +      "updated_at": "2019-05-15T19:37:53Z",
    +      "due_on": "2019-05-23T00:00:00Z",
    +      "closed_at": "2019-05-15T19:37:53Z"
    +    },
    +    "comments": 0,
    +    "created_at": "2019-05-15T19:37:53Z",
    +    "updated_at": "2019-05-15T19:37:54Z",
    +    "closed_at": null,
    +    "author_association": "OWNER",
    +    "body": "It looks like you accidently spelled 'commit' with two 't's."
    +  },
    +  "changes": {},
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:37:10Z",
    +    "pushed_at": "2019-05-15T19:37:50Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 1,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 1,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + label +

    +

    + Activity related to a label. The type of activity is specified in the + action property of the payload object. For more + information, see the "labels" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the metadata permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be created, + edited, or deleted. +
    labelobjectThe label that was added.
    changesobject + The changes to the label if the action was edited. +
    changes[name][from]string + The previous version of the name if the action was + edited. +
    changes[color][from]string + The previous version of the color if the action was + edited. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "deleted",
    +  "label": {
    +    "id": 965,
    +    "node_id": "MDU6TGFiZWw5NjU=",
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix",
    +    "name": ":bug: Bugfix",
    +    "color": "cceeaa",
    +    "default": false
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:25Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + member +

    +

    + Activity related to repository collaborators. The type of activity is + specified in the action property of the payload object. For + more information, see the "collaborators" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the members permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of: +
      +
    • + added - A user accepts an invitation to a + repository. +
    • +
    • + removed - A user is removed as a collaborator in + a repository. +
    • +
    • + edited - A user's collaborator permissions have + changed. +
    • +
    +
    memberobject + The + user + that was added. +
    changesobject + The changes to the collaborator permissions if the action was + edited. +
    changes[old_permission][from]string + The previous permissions of the collaborator if the action was + edited. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "added",
    +  "member": {
    +    "login": "Hacktocat",
    +    "id": 5,
    +    "node_id": "MDQ6VXNlcjU=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/5?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Hacktocat",
    +    "html_url": "https://octocoders.github.io/Hacktocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + membership +

    +

    + Activity related to team membership. The type of activity is specified + in the action property of the payload object. For more + information, see the "team members" REST API. +

    +

    + + Availability +

    +
      +
    • Organization webhooks
    • +
    • GitHub Apps with the members permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be added or + removed. +
    scopestring + The scope of the membership. Currently, can only be + team. +
    memberobject + The + user + that was added or removed. +
    teamobject + The + team + for the membership. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "removed",
    +  "scope": "team",
    +  "member": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "team": {
    +    "name": "github",
    +    "id": 3,
    +    "node_id": "MDQ6VGVhbTM=",
    +    "slug": "github",
    +    "description": "Open-source team",
    +    "privacy": "secret",
    +    "url": "https://octocoders.github.io/api/v3/teams/3",
    +    "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github",
    +    "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}",
    +    "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos",
    +    "permission": "pull"
    +  },
    +  "organization": {
    +    "login": "Octocoders",
    +    "id": 6,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
    +    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
    +    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
    +    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
    +    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
    +    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +    "description": ""
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  }
    +}
    +
    +
    +

    + + meta +

    +

    + The webhook this event is configured on was deleted. This event will + only listen for changes to the particular hook the event is installed + on. Therefore, it must be selected for each hook that you'd like to + receive meta events for. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstringThe action performed. Can be deleted.
    hook_idintegerThe id of the modified webhook.
    hookobject + The modified webhook. This will contain different keys based on + the type of webhook it is: repository, organization, business, + app, or GitHub Marketplace. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "deleted",
    +  "hook_id": 101047067,
    +  "hook": {
    +    "type": "Repository",
    +    "id": 101047067,
    +    "name": "web",
    +    "active": true,
    +    "events": [
    +      "meta"
    +    ],
    +    "config": {
    +      "content_type": "json",
    +      "insecure_ssl": "0",
    +      "url": "http://example.com/hook"
    +    },
    +    "updated_at": "2019-04-10T03:57:12Z",
    +    "created_at": "2019-04-10T03:57:12Z"
    +  },
    +  "repository": {
    +    "id": 135493233,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "private": false,
    +    "html_url": "https://github.com/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://api.github.com/repos/Codertocat/Hello-World",
    +    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2018-05-30T20:18:04Z",
    +    "updated_at": "2018-05-30T20:18:50Z",
    +    "pushed_at": "2018-05-30T20:18:48Z",
    +    "git_url": "git://github.com/Codertocat/Hello-World.git",
    +    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
    +    "clone_url": "https://github.com/Codertocat/Hello-World.git",
    +    "svn_url": "https://github.com/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "open_issues_count": 1,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 1,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 21031067,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/Codertocat",
    +    "html_url": "https://github.com/Codertocat",
    +    "followers_url": "https://api.github.com/users/Codertocat/followers",
    +    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +    "repos_url": "https://api.github.com/users/Codertocat/repos",
    +    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + milestone +

    +

    + Activity related to milestones. The type of activity is specified in the + action property of the payload object. For more + information, see the "milestones" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the pull_requests permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of created, + closed, opened (a closed milestone is + re-opened), edited, or deleted. +
    milestoneobjectThe milestone itself.
    changesobject + The changes to the milestone if the action was + edited. +
    changes[description][from]string + The previous version of the description if the action was + edited. +
    changes[due_on][from]string + The previous version of the due date if the action was + edited. +
    changes[title][from]string + The previous version of the title if the action was + edited. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "milestone": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels",
    +    "id": 2,
    +    "node_id": "MDk6TWlsZXN0b25lMg==",
    +    "number": 1,
    +    "title": "v1.0",
    +    "description": "Add new space flight simulator",
    +    "creator": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "open_issues": 0,
    +    "closed_issues": 0,
    +    "state": "open",
    +    "created_at": "2019-05-15T19:37:52Z",
    +    "updated_at": "2019-05-15T19:37:52Z",
    +    "due_on": "2019-05-23T00:00:00Z",
    +    "closed_at": null
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:37:10Z",
    +    "pushed_at": "2019-05-15T19:37:50Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + organization +

    +

    + Activity related to an organization and its members. The type of + activity is specified in the action property of the payload + object. For more information, see the "organizations" REST API. +

    +

    + + Availability +

    +
      +
    • + GitHub Enterprise webhooks only receive created and + deleted events. For more information, "Global webhooks. +
    • +
    • + Organization webhooks only receive the deleted, + added, removed, renamed, and + invited events +
    • +
    • GitHub Apps with the members permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of: + created, deleted, renamed, + member_added, member_removed, or + member_invited. +
    invitationobject + The invitation for the user or email if the action is + member_invited. +
    membershipobject + The membership between the user and the organization. Not present + when the action is member_invited. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "member_added",
    +  "membership": {
    +    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat",
    +    "state": "active",
    +    "role": "member",
    +    "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
    +    "user": {
    +      "login": "Hacktocat",
    +      "id": 5,
    +      "node_id": "MDQ6VXNlcjU=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/5?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Hacktocat",
    +      "html_url": "https://octocoders.github.io/Hacktocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    }
    +  },
    +  "organization": {
    +    "login": "Octocoders",
    +    "id": 6,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
    +    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
    +    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
    +    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
    +    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
    +    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +    "description": ""
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + package +

    +

    + Activity related to GitHub Packages. The type of activity is specified + in the action property of the payload object. For more + information, see "Managing packages with GitHub Packages" to learn more about GitHub Packages. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be published or + updated. +
    packageobjectInformation about the package.
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "published",
    +  "package": {
    +    "id": 10696,
    +    "name": "hello-world-npm",
    +    "namespace": "Codertocat/hello-world-npm",
    +    "description": null,
    +    "ecosystem": "docker",
    +    "package_type": "npm",
    +    "html_url": "https://github.com/Codertocat/hello-world-npm/packages/10696",
    +    "created_at": "2019-05-09T23:28:29Z",
    +    "updated_at": "2019-05-09T23:28:29Z",
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "package_version": {
    +      "id": 24147,
    +      "version": "1.0.0",
    +      "summary": "A simple npm package to demonstrate GitHub Packages",
    +      "name": "sha256:3da1996a8115d7616457760d9920b815241d0a03b34cf5f04e9a0e9d8de37498",
    +      "description": "",
    +      "body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [Github Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
    +      "body_html": "<h1>hello-world-npm</h1>\n<p>This is a simple npm package that demonstrates the <a href=\"https://github.com/features/package\">Github Package Registry</a>.</p>\n<h2>Installation</h2>\n<p><code>$ npm install</code></p>\n<h2>Usage</h2>\n<pre><code>const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n</code></pre>",
    +      "release": {
    +        "url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases/17264286",
    +        "html_url": "https://github.com/Codertocat/hello-world-npm/releases/tag/1.0.0",
    +        "id": 17264286,
    +        "tag_name": "1.0.0",
    +        "target_commitish": "master",
    +        "name": "1.0.0",
    +        "draft": false,
    +        "author": {
    +          "login": "Codertocat",
    +          "id": 21031067,
    +          "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +          "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +          "gravatar_id": "",
    +          "url": "https://api.github.com/users/Codertocat",
    +          "html_url": "https://github.com/Codertocat",
    +          "followers_url": "https://api.github.com/users/Codertocat/followers",
    +          "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +          "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +          "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +          "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +          "repos_url": "https://api.github.com/users/Codertocat/repos",
    +          "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +          "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "prerelease": false,
    +        "created_at": "2019-05-09T23:24:40Z",
    +        "published_at": "2019-05-09T23:26:59Z"
    +      },
    +      "manifest": "{\"_from\":\"\",\"_id\":\"@codertocat/hello-world-npm@1.0.0\",\"_nodeVersion\":\"10.0.0\",\"_npmUser\":{},\"_npmVersion\":\"5.6.0\",\"_shasum\":\"\",\"author\":{\"name\":\"Codertocat\"},\"bugs\":{\"url\":\"https://github.com/Codertocat/hello-world-npm/issues\"},\"description\":\"A simple npm package to demonstrate GitHub Package Registry\",\"dependencies\":null,\"devDependencies\":null,\"peerDependencies\":null,\"dist\":{\"integrity\":\"sha512-CcChRwjJk+pvGVERbgdjc0w5h6HrOs6jK6OJuHmFcmbnGuhiy9tPMtb4WcSSdvwrktAxf96LsJBNqeIHAEHl3A==\",\"shasum\":\"a413c56a12997ca1b56715ebe81d8c6e0ffe6abb\",\"tarball\":\"http://npm.pkg.github.com/@codertocat/hello-world-npm/-/@codertocat/hello-world-npm-1.0.0.tgz\"},\"gitHead\":\"6c62fb45fe66bfb1ea9a66abc38f6a0cc974292b\",\"homepage\":\"https://github.com/Codertocat/hello-world-npm#readme\",\"license\":\"ISC\",\"main\":\"index.js\",\"name\":\"@codertocat/hello-world-npm\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/Codertocat/hello-world-npm.git\"},\"scripts\":{\"test\":\"echo \\\"Error: no test specified\\\" \\u0026\\u0026 exit 1\"},\"version\":\"1.0.0\"}",
    +      "html_url": "https://github.com/Codertocat/hello-world-npm/packages/10696?version=1.0.0",
    +      "tag_name": "1.0.0",
    +      "target_commitish": "master",
    +      "target_oid": "6c62fb45fe66bfb1ea9a66abc38f6a0cc974292b",
    +      "draft": false,
    +      "prerelease": false,
    +      "created_at": "2019-05-09T23:28:29Z",
    +      "updated_at": "2019-05-09T23:28:30Z",
    +      "metadata": [],
    +      "docker_metadata": [],
    +      "package_files": [
    +        {
    +          "download_url": "https://github-production-package-file-4f11e5.s3.amazonaws.com/185882436/3e6d9b00-7288-11e9-9d72-c0df4c711800?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190509%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190509T232830Z&X-Amz-Expires=300&X-Amz-Signature=4b825c49cd93370123a77d0f97a4ebb0d44efb76da46faf1e382f0c668b35819&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=filename%3Dhello-world-npm-1.0.0-npm.tgz&response-content-type=application%2Foctet-stream",
    +          "id": 92167,
    +          "name": "hello-world-npm-1.0.0-npm.tgz",
    +          "sha256": "ba703915435b6ca2ca666b5d8332db34bf9dc37a198ed70d3a5fa5d08b8415c8",
    +          "sha1": "a413c56a12997ca1b56715ebe81d8c6e0ffe6abb",
    +          "md5": "56ebbd5a5a03367f62d0c732bafd3c66",
    +          "content_type": "application/octet-stream",
    +          "state": "uploaded",
    +          "size": 654,
    +          "created_at": "2019-05-09T23:28:30Z",
    +          "updated_at": "2019-05-09T23:28:30Z"
    +        }
    +      ],
    +      "author": {
    +        "login": "Codertocat",
    +        "id": 21031067,
    +        "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +        "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +        "gravatar_id": "",
    +        "url": "https://api.github.com/users/Codertocat",
    +        "html_url": "https://github.com/Codertocat",
    +        "followers_url": "https://api.github.com/users/Codertocat/followers",
    +        "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +        "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +        "repos_url": "https://api.github.com/users/Codertocat/repos",
    +        "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "source_url": "ghcr.io/Codertocat/hello-world-npm/image-1:v1",
    +      "installation_command": "npm install @Codertocat/@1.0.0"
    +    },
    +    "registry": {
    +      "about_url": "https://help.github.com/about-github-packages",
    +      "name": "GitHub npm registry",
    +      "type": "npm",
    +      "url": "https://npm.pkg.github.com/@Codertocat",
    +      "vendor": "GitHub Inc"
    +    }
    +  },
    +  "repository": {
    +    "id": 185882436,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxODU4ODI0MzY=",
    +    "name": "hello-world-npm",
    +    "full_name": "Codertocat/hello-world-npm",
    +    "private": true,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://github.com/Codertocat/hello-world-npm",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://api.github.com/repos/Codertocat/hello-world-npm",
    +    "forks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/forks",
    +    "keys_url": "https://api.github.com/repos/Codertocat/hello-world-npm/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world-npm/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/Codertocat/hello-world-npm/teams",
    +    "hooks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/hooks",
    +    "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/Codertocat/hello-world-npm/events",
    +    "assignees_url": "https://api.github.com/repos/Codertocat/hello-world-npm/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/Codertocat/hello-world-npm/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/Codertocat/hello-world-npm/tags",
    +    "blobs_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/Codertocat/hello-world-npm/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/Codertocat/hello-world-npm/languages",
    +    "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world-npm/stargazers",
    +    "contributors_url": "https://api.github.com/repos/Codertocat/hello-world-npm/contributors",
    +    "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world-npm/subscribers",
    +    "subscription_url": "https://api.github.com/repos/Codertocat/hello-world-npm/subscription",
    +    "commits_url": "https://api.github.com/repos/Codertocat/hello-world-npm/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/Codertocat/hello-world-npm/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/Codertocat/hello-world-npm/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/Codertocat/hello-world-npm/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/Codertocat/hello-world-npm/merges",
    +    "archive_url": "https://api.github.com/repos/Codertocat/hello-world-npm/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/Codertocat/hello-world-npm/downloads",
    +    "issues_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/Codertocat/hello-world-npm/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/Codertocat/hello-world-npm/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/Codertocat/hello-world-npm/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/Codertocat/hello-world-npm/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/Codertocat/hello-world-npm/deployments",
    +    "created_at": "2019-05-09T22:53:26Z",
    +    "updated_at": "2019-05-09T23:24:42Z",
    +    "pushed_at": "2019-05-09T23:27:00Z",
    +    "git_url": "git://github.com/Codertocat/hello-world-npm.git",
    +    "ssh_url": "git@github.com:Codertocat/hello-world-npm.git",
    +    "clone_url": "https://github.com/Codertocat/hello-world-npm.git",
    +    "svn_url": "https://github.com/Codertocat/hello-world-npm",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "JavaScript",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": false,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 21031067,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/Codertocat",
    +    "html_url": "https://github.com/Codertocat",
    +    "followers_url": "https://api.github.com/users/Codertocat/followers",
    +    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +    "repos_url": "https://api.github.com/users/Codertocat/repos",
    +    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + page_build +

    +

    + Represents an attempted build of a GitHub Pages site, whether successful + or not. A push to a GitHub Pages enabled branch (gh-pages + for project pages, the default branch for user and organization pages) + triggers this event. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the pages permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    idintegerThe unique identifier of the page build.
    buildobject + The + List GitHub Pages builds + itself. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "id": 7,
    +  "build": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7",
    +    "status": "built",
    +    "error": {
    +      "message": null
    +    },
    +    "pusher": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "commit": "3648135c2986115284ae152d90459473b15fd19c",
    +    "duration": 6917,
    +    "created_at": "2019-05-15T19:38:15Z",
    +    "updated_at": "2019-05-15T19:38:22Z"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": "2019-05-15T19:38:19Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + ping +

    +

    + When you create a new webhook, we'll send you a simple + ping event to let you know you've set up the webhook + correctly. This event isn't stored so it isn't retrievable via the + Events API + endpoint. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • + GitHub Apps receive a ping event with an app_id used to + register the app +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    zenstringRandom string of GitHub zen.
    hook_idintegerThe ID of the webhook that triggered the ping.
    hookobject + The + webhook configuration. +
    hook[app_id]integer + When you register a new GitHub App, GitHub Enterprise Server sends + a ping event to the webhook URL you specified + during registration. The event contains the app_id, + which is required for + authenticating + an app. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "zen": "Non-blocking is better than blocking.",
    +  "hook_id": 30,
    +  "hook": {
    +    "type": "Repository",
    +    "id": 30,
    +    "name": "web",
    +    "active": true,
    +    "events": [
    +      "*"
    +    ],
    +    "config": {
    +      "content_type": "json",
    +      "url": "https://smee.io/YEbF2t8kjvPAn7Ck",
    +      "insecure_ssl": "0"
    +    },
    +    "updated_at": "2019-05-15T19:38:17Z",
    +    "created_at": "2019-05-15T19:38:17Z",
    +    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30",
    +    "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test",
    +    "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings",
    +    "last_response": {
    +      "code": null,
    +      "status": "unused",
    +      "message": null
    +    }
    +  },
    +  "repository": {
    +    "id": 120,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
    +    "name": "Hello-World",
    +    "full_name": "Octocoders/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Octocoders",
    +      "id": 6,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +      "html_url": "https://octocoders.github.io/Octocoders",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "description": null,
    +    "fork": true,
    +    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:38:10Z",
    +    "updated_at": "2019-05-15T19:38:14Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": false,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": false,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + project +

    +

    + Activity related to project boards. The type of activity is specified in + the action property of the payload object. For more + information, see the "projects" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • + GitHub Apps with the repository_projects or + organization_projects permission +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed on the project. Can be one of + created, edited, closed, + reopened, or deleted. +
    changesobject + The changes to the project if the action was edited. +
    changes[name][from]string + The previous version of the name if the action was + edited. +
    changes[body][from]string + The previous version of the body if the action was + edited. +
    projectobject + The + project + itself. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "project": {
    +    "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "url": "https://octocoders.github.io/api/v3/projects/6",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1",
    +    "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns",
    +    "id": 6,
    +    "node_id": "MDc6UHJvamVjdDY=",
    +    "name": "Space 2.0",
    +    "body": "Project tasks for a trip to Space",
    +    "number": 1,
    +    "state": "open",
    +    "creator": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "created_at": "2019-05-15T19:38:27Z",
    +    "updated_at": "2019-05-15T19:38:27Z"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:27Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + project_card +

    +

    + Activity related to project cards. The type of activity is specified in + the action property of the payload object. For more + information, see the "project cards" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • + GitHub Apps with the repository_projects or + organization_projects permission +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action performed on the project card. Can be + created, edited, moved, + converted, or deleted. +
    changesobject + The changes to the project card if the action was + edited or converted. +
    changes[note][from]string + The previous version of the note if the action was + edited or converted. +
    after_idinteger + The id of the card that this card now follows if the action was + "moved". Will be null if it is the first card in a + column. +
    project_cardobject + The + project card + itself. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "project_card": {
    +    "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8",
    +    "project_url": "https://octocoders.github.io/api/v3/projects/6",
    +    "column_url": "https://octocoders.github.io/api/v3/projects/columns/8",
    +    "column_id": 8,
    +    "id": 8,
    +    "node_id": "MDExOlByb2plY3RDYXJkOA==",
    +    "note": "Work that can be completed in one hour or less.",
    +    "archived": false,
    +    "creator": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "created_at": "2019-05-15T19:39:01Z",
    +    "updated_at": "2019-05-15T19:39:01Z"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:27Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + project_column +

    +

    + Activity related to columns in a project board. The type of activity is + specified in the action property of the payload object. For + more information, see the "project columns" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • + GitHub Apps with the repository_projects or + organization_projects permission +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed on the project column. Can be one of + created, edited, moved or + deleted. +
    changesobject + The changes to the project column if the action was + edited. +
    changes[name][from]string + The previous version of the name if the action was + edited. +
    after_idinteger + The id of the column that this column now follows if the action + was "moved". Will be null if it is the first column + in a project. +
    project_columnobject + The + project column + itself. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "project_column": {
    +    "url": "https://octocoders.github.io/api/v3/projects/columns/8",
    +    "project_url": "https://octocoders.github.io/api/v3/projects/6",
    +    "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards",
    +    "id": 8,
    +    "node_id": "MDEzOlByb2plY3RDb2x1bW44",
    +    "name": "Small bugfixes",
    +    "created_at": "2019-05-15T19:39:01Z",
    +    "updated_at": "2019-05-15T19:39:01Z"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:27Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + public +

    +

    + When a private repository is made public. Without a doubt: the best + GitHub Enterprise Server event. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the metadata permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:25Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + pull_request +

    +

    + Activity related to pull requests. The type of activity is specified in + the action property of the payload object. For more + information, see the "pull requests" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the pull_requests permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of: +
      +
    • assigned
    • +
    • auto_merge_disabled
    • +
    • auto_merge_enabled
    • +
    • + closed: If the action is closed and + the merged key is false, the pull + request was closed with unmerged commits. If the action is + closed and the merged key is + true, the pull request was merged. +
    • +
    • converted_to_draft
    • +
    • edited
    • +
    • labeled
    • +
    • locked
    • +
    • opened
    • +
    • ready_for_review
    • +
    • reopened
    • +
    • review_request_removed
    • +
    • review_requested
    • +
    • + synchronize: Triggered when a pull request's head + branch is updated. For example, when the head branch is + updated from the base branch, when new commits are pushed to + the head branch, or when the base branch is changed. +
    • +
    • unassigned
    • +
    • unlabeled
    • +
    • unlocked
    • +
    +
    numberintegerThe pull request number.
    changesobject + The changes to the comment if the action was edited. +
    changes[title][from]string + The previous version of the title if the action was + edited. +
    changes[body][from]string + The previous version of the body if the action was + edited. +
    pull_requestobject + The + pull request + itself. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +

    + Deliveries for review_requested and + review_request_removed events will have an additional field + called requested_reviewer. +

    +
    +
    {
    +  "action": "opened",
    +  "number": 2,
    +  "pull_request": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    +    "id": 2,
    +    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
    +    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
    +    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
    +    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
    +    "number": 2,
    +    "state": "open",
    +    "locked": false,
    +    "title": "Update the README with new information.",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "body": "This is a pretty simple change that we need to pull into master.",
    +    "created_at": "2019-05-15T19:38:02Z",
    +    "updated_at": "2019-05-15T19:38:02Z",
    +    "closed_at": null,
    +    "merged_at": null,
    +    "merge_commit_sha": null,
    +    "assignee": null,
    +    "assignees": [],
    +    "requested_reviewers": [],
    +    "requested_teams": [],
    +    "labels": [],
    +    "milestone": null,
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
    +    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
    +    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
    +    "head": {
    +      "label": "Codertocat:changes",
    +      "ref": "changes",
    +      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +      "user": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "repo": {
    +        "id": 118,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +        "name": "Hello-World",
    +        "full_name": "Codertocat/Hello-World",
    +        "private": false,
    +        "owner": {
    +          "login": "Codertocat",
    +          "id": 4,
    +          "node_id": "MDQ6VXNlcjQ=",
    +          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +          "gravatar_id": "",
    +          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +          "html_url": "https://octocoders.github.io/Codertocat",
    +          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "description": null,
    +        "fork": false,
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +        "created_at": "2019-05-15T19:37:07Z",
    +        "updated_at": "2019-05-15T19:37:10Z",
    +        "pushed_at": "2019-05-15T19:38:03Z",
    +        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "homepage": null,
    +        "size": 0,
    +        "stargazers_count": 0,
    +        "watchers_count": 0,
    +        "language": null,
    +        "has_issues": true,
    +        "has_projects": true,
    +        "has_downloads": true,
    +        "has_wiki": true,
    +        "has_pages": true,
    +        "forks_count": 0,
    +        "mirror_url": null,
    +        "archived": false,
    +        "disabled": false,
    +        "open_issues_count": 2,
    +        "license": null,
    +        "forks": 0,
    +        "open_issues": 2,
    +        "watchers": 0,
    +        "default_branch": "master"
    +      }
    +    },
    +    "base": {
    +      "label": "Codertocat:master",
    +      "ref": "master",
    +      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +      "user": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "repo": {
    +        "id": 118,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +        "name": "Hello-World",
    +        "full_name": "Codertocat/Hello-World",
    +        "private": false,
    +        "owner": {
    +          "login": "Codertocat",
    +          "id": 4,
    +          "node_id": "MDQ6VXNlcjQ=",
    +          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +          "gravatar_id": "",
    +          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +          "html_url": "https://octocoders.github.io/Codertocat",
    +          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "description": null,
    +        "fork": false,
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +        "created_at": "2019-05-15T19:37:07Z",
    +        "updated_at": "2019-05-15T19:37:10Z",
    +        "pushed_at": "2019-05-15T19:38:03Z",
    +        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "homepage": null,
    +        "size": 0,
    +        "stargazers_count": 0,
    +        "watchers_count": 0,
    +        "language": null,
    +        "has_issues": true,
    +        "has_projects": true,
    +        "has_downloads": true,
    +        "has_wiki": true,
    +        "has_pages": true,
    +        "forks_count": 0,
    +        "mirror_url": null,
    +        "archived": false,
    +        "disabled": false,
    +        "open_issues_count": 2,
    +        "license": null,
    +        "forks": 0,
    +        "open_issues": 2,
    +        "watchers": 0,
    +        "default_branch": "master"
    +      }
    +    },
    +    "_links": {
    +      "self": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
    +      },
    +      "html": {
    +        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
    +      },
    +      "issue": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
    +      },
    +      "comments": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
    +      },
    +      "review_comments": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
    +      },
    +      "review_comment": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
    +      },
    +      "commits": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
    +      },
    +      "statuses": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
    +      }
    +    },
    +    "author_association": "OWNER",
    +    "draft": false,
    +    "merged": false,
    +    "mergeable": null,
    +    "rebaseable": null,
    +    "mergeable_state": "unknown",
    +    "merged_by": null,
    +    "comments": 0,
    +    "review_comments": 0,
    +    "maintainer_can_modify": false,
    +    "commits": 1,
    +    "additions": 1,
    +    "deletions": 1,
    +    "changed_files": 1
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:37:10Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + pull_request_review +

    +

    + Activity related to pull request reviews. The type of activity is + specified in the action property of the payload object. For + more information, see the "pull request reviews" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the pull_requests permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of: +
      +
    • + submitted - A pull request review is submitted + into a non-pending state. +
    • +
    • + edited - The body of a review has been edited. +
    • +
    • dismissed - A review has been dismissed.
    • +
    +
    pull_requestobject + The + pull request + the review pertains to. +
    reviewobjectThe review that was affected.
    changes[body][from]string + The previous version of the body if the action was + edited. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "submitted",
    +  "review": {
    +    "id": 2,
    +    "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "body": null,
    +    "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
    +    "submitted_at": "2019-05-15T19:38:08Z",
    +    "state": "commented",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2",
    +    "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    +    "author_association": "OWNER",
    +    "_links": {
    +      "html": {
    +        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2"
    +      },
    +      "pull_request": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
    +      }
    +    }
    +  },
    +  "pull_request": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    +    "id": 2,
    +    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
    +    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
    +    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
    +    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
    +    "number": 2,
    +    "state": "open",
    +    "locked": false,
    +    "title": "Update the README with new information.",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "body": "This is a pretty simple change that we need to pull into master.",
    +    "created_at": "2019-05-15T19:38:02Z",
    +    "updated_at": "2019-05-15T19:38:08Z",
    +    "closed_at": null,
    +    "merged_at": null,
    +    "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f",
    +    "assignee": null,
    +    "assignees": [],
    +    "requested_reviewers": [],
    +    "requested_teams": [],
    +    "labels": [],
    +    "milestone": null,
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
    +    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
    +    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
    +    "head": {
    +      "label": "Codertocat:changes",
    +      "ref": "changes",
    +      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +      "user": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "repo": {
    +        "id": 118,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +        "name": "Hello-World",
    +        "full_name": "Codertocat/Hello-World",
    +        "private": false,
    +        "owner": {
    +          "login": "Codertocat",
    +          "id": 4,
    +          "node_id": "MDQ6VXNlcjQ=",
    +          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +          "gravatar_id": "",
    +          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +          "html_url": "https://octocoders.github.io/Codertocat",
    +          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "description": null,
    +        "fork": false,
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +        "created_at": "2019-05-15T19:37:07Z",
    +        "updated_at": "2019-05-15T19:37:10Z",
    +        "pushed_at": "2019-05-15T19:38:03Z",
    +        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "homepage": null,
    +        "size": 0,
    +        "stargazers_count": 0,
    +        "watchers_count": 0,
    +        "language": null,
    +        "has_issues": true,
    +        "has_projects": true,
    +        "has_downloads": true,
    +        "has_wiki": true,
    +        "has_pages": true,
    +        "forks_count": 0,
    +        "mirror_url": null,
    +        "archived": false,
    +        "disabled": false,
    +        "open_issues_count": 2,
    +        "license": null,
    +        "forks": 0,
    +        "open_issues": 2,
    +        "watchers": 0,
    +        "default_branch": "master"
    +      }
    +    },
    +    "base": {
    +      "label": "Codertocat:master",
    +      "ref": "master",
    +      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +      "user": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "repo": {
    +        "id": 118,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +        "name": "Hello-World",
    +        "full_name": "Codertocat/Hello-World",
    +        "private": false,
    +        "owner": {
    +          "login": "Codertocat",
    +          "id": 4,
    +          "node_id": "MDQ6VXNlcjQ=",
    +          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +          "gravatar_id": "",
    +          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +          "html_url": "https://octocoders.github.io/Codertocat",
    +          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "description": null,
    +        "fork": false,
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +        "created_at": "2019-05-15T19:37:07Z",
    +        "updated_at": "2019-05-15T19:37:10Z",
    +        "pushed_at": "2019-05-15T19:38:03Z",
    +        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "homepage": null,
    +        "size": 0,
    +        "stargazers_count": 0,
    +        "watchers_count": 0,
    +        "language": null,
    +        "has_issues": true,
    +        "has_projects": true,
    +        "has_downloads": true,
    +        "has_wiki": true,
    +        "has_pages": true,
    +        "forks_count": 0,
    +        "mirror_url": null,
    +        "archived": false,
    +        "disabled": false,
    +        "open_issues_count": 2,
    +        "license": null,
    +        "forks": 0,
    +        "open_issues": 2,
    +        "watchers": 0,
    +        "default_branch": "master"
    +      }
    +    },
    +    "_links": {
    +      "self": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
    +      },
    +      "html": {
    +        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
    +      },
    +      "issue": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
    +      },
    +      "comments": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
    +      },
    +      "review_comments": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
    +      },
    +      "review_comment": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
    +      },
    +      "commits": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
    +      },
    +      "statuses": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
    +      }
    +    },
    +    "author_association": "OWNER"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:37:10Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + pull_request_review_comment +

    +

    + Activity related to pull request review comments in the pull request's + unified diff. The type of activity is specified in the + action property of the payload object. For more + information, see the "pull request review comments" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the pull_requests permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed on the comment. Can be one of + created, edited, or + deleted. +
    changesobject + The changes to the comment if the action was edited. +
    changes[body][from]string + The previous version of the body if the action was + edited. +
    pull_requestobject + The + pull request + the comment belongs to. +
    commentobject + The + comment + itself. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "comment": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2",
    +    "pull_request_review_id": 2,
    +    "id": 2,
    +    "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=",
    +    "diff_hunk": "@@ -1 +1 @@\n-# Hello-World",
    +    "path": "README.md",
    +    "position": 1,
    +    "original_position": 1,
    +    "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
    +    "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "body": "Maybe you should use more emoji on this line.",
    +    "created_at": "2019-05-15T19:38:07Z",
    +    "updated_at": "2019-05-15T19:38:08Z",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2",
    +    "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    +    "author_association": "OWNER",
    +    "_links": {
    +      "self": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2"
    +      },
    +      "html": {
    +        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2"
    +      },
    +      "pull_request": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
    +      }
    +    }
    +  },
    +  "pull_request": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2",
    +    "id": 2,
    +    "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2",
    +    "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff",
    +    "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch",
    +    "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2",
    +    "number": 2,
    +    "state": "open",
    +    "locked": false,
    +    "title": "Update the README with new information.",
    +    "user": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "body": "This is a pretty simple change that we need to pull into master.",
    +    "created_at": "2019-05-15T19:38:02Z",
    +    "updated_at": "2019-05-15T19:38:08Z",
    +    "closed_at": null,
    +    "merged_at": null,
    +    "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f",
    +    "assignee": null,
    +    "assignees": [],
    +    "requested_reviewers": [],
    +    "requested_teams": [],
    +    "labels": [],
    +    "milestone": null,
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits",
    +    "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments",
    +    "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1",
    +    "head": {
    +      "label": "Codertocat:changes",
    +      "ref": "changes",
    +      "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +      "user": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "repo": {
    +        "id": 118,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +        "name": "Hello-World",
    +        "full_name": "Codertocat/Hello-World",
    +        "private": false,
    +        "owner": {
    +          "login": "Codertocat",
    +          "id": 4,
    +          "node_id": "MDQ6VXNlcjQ=",
    +          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +          "gravatar_id": "",
    +          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +          "html_url": "https://octocoders.github.io/Codertocat",
    +          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "description": null,
    +        "fork": false,
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +        "created_at": "2019-05-15T19:37:07Z",
    +        "updated_at": "2019-05-15T19:37:10Z",
    +        "pushed_at": "2019-05-15T19:38:03Z",
    +        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "homepage": null,
    +        "size": 0,
    +        "stargazers_count": 0,
    +        "watchers_count": 0,
    +        "language": null,
    +        "has_issues": true,
    +        "has_projects": true,
    +        "has_downloads": true,
    +        "has_wiki": true,
    +        "has_pages": true,
    +        "forks_count": 0,
    +        "mirror_url": null,
    +        "archived": false,
    +        "disabled": false,
    +        "open_issues_count": 2,
    +        "license": null,
    +        "forks": 0,
    +        "open_issues": 2,
    +        "watchers": 0,
    +        "default_branch": "master"
    +      }
    +    },
    +    "base": {
    +      "label": "Codertocat:master",
    +      "ref": "master",
    +      "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +      "user": {
    +        "login": "Codertocat",
    +        "id": 4,
    +        "node_id": "MDQ6VXNlcjQ=",
    +        "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +        "gravatar_id": "",
    +        "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +        "html_url": "https://octocoders.github.io/Codertocat",
    +        "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +        "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +        "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +        "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +        "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +        "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +        "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +        "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +        "type": "User",
    +        "site_admin": false
    +      },
    +      "repo": {
    +        "id": 118,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +        "name": "Hello-World",
    +        "full_name": "Codertocat/Hello-World",
    +        "private": false,
    +        "owner": {
    +          "login": "Codertocat",
    +          "id": 4,
    +          "node_id": "MDQ6VXNlcjQ=",
    +          "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +          "gravatar_id": "",
    +          "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +          "html_url": "https://octocoders.github.io/Codertocat",
    +          "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +          "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +          "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +          "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +          "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +          "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +          "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +          "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "description": null,
    +        "fork": false,
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +        "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +        "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +        "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +        "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +        "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +        "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +        "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +        "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +        "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +        "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +        "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +        "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +        "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +        "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +        "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +        "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +        "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +        "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +        "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +        "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +        "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +        "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +        "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +        "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +        "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +        "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +        "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +        "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +        "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +        "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +        "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +        "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +        "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +        "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +        "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +        "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +        "created_at": "2019-05-15T19:37:07Z",
    +        "updated_at": "2019-05-15T19:37:10Z",
    +        "pushed_at": "2019-05-15T19:38:03Z",
    +        "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +        "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +        "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +        "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +        "homepage": null,
    +        "size": 0,
    +        "stargazers_count": 0,
    +        "watchers_count": 0,
    +        "language": null,
    +        "has_issues": true,
    +        "has_projects": true,
    +        "has_downloads": true,
    +        "has_wiki": true,
    +        "has_pages": true,
    +        "forks_count": 0,
    +        "mirror_url": null,
    +        "archived": false,
    +        "disabled": false,
    +        "open_issues_count": 2,
    +        "license": null,
    +        "forks": 0,
    +        "open_issues": 2,
    +        "watchers": 0,
    +        "default_branch": "master"
    +      }
    +    },
    +    "_links": {
    +      "self": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2"
    +      },
    +      "html": {
    +        "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2"
    +      },
    +      "issue": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2"
    +      },
    +      "comments": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments"
    +      },
    +      "review_comments": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments"
    +      },
    +      "review_comment": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}"
    +      },
    +      "commits": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits"
    +      },
    +      "statuses": {
    +        "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1"
    +      }
    +    },
    +    "author_association": "OWNER"
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:37:10Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + pull_request_review_thread +

    +

    + Activity related to a comment thread on a pull request being marked as + resolved or unresolved. The type of activity is specified in the + action property of the payload object. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the pull_requests permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of: +
      +
    • + resolved - A comment thread on a pull request was + marked as resolved. +
    • +
    • + unresolved - A previously resolved comment thread + on a pull request was marked as unresolved. +
    • +
    +
    pull_requestobject + The + pull request + the thread pertains to. +
    threadobjectThe thread that was affected.
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "resolved",
    +  "pull_request": {
    +    "url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118",
    +    "id": 873298238,
    +    "node_id": "PR_kwDOEL39TM40DXk-",
    +    "html_url": "https://github.com/octo-org/octo-repo/pull/118",
    +    "diff_url": "https://github.com/octo-org/octo-repo/pull/118.diff",
    +    "patch_url": "https://github.com/octo-org/octo-repo/pull/118.patch",
    +    "issue_url": "https://api.github.com/repos/octo-org/octo-repo/issues/118",
    +    "number": 118,
    +    "state": "open",
    +    "locked": false,
    +    "title": "Create issue-comment",
    +    "user": {
    +      "login": "octocat",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/octocat",
    +      "html_url": "https://github.com/octocat",
    +      "followers_url": "https://api.github.com/users/octocat/followers",
    +      "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/octocat/orgs",
    +      "repos_url": "https://api.github.com/users/octocat/repos",
    +      "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/octocat/received_events",
    +      "type": "User",
    +      "site_admin": true
    +    },
    +    "body": "Issue comment test",
    +    "created_at": "2022-03-07T16:14:34Z",
    +    "updated_at": "2022-03-21T09:21:38Z",
    +    "closed_at": null,
    +    "merged_at": null,
    +    "merge_commit_sha": "c72e2aa60425a50d9785a50793dd6c22b9c5cce1",
    +    "assignee": null,
    +    "assignees": [],
    +    "requested_reviewers": [],
    +    "requested_teams": [],
    +    "labels": [],
    +    "milestone": null,
    +    "draft": false,
    +    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/commits",
    +    "review_comments_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/comments",
    +    "review_comment_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments{/number}",
    +    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/issues/118/comments",
    +    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/14ae1f988d344e6b4f97f6153fb0287dcda335bf",
    +    "head": {
    +      "label": "octo-org:issue-comment",
    +      "ref": "issue-comment",
    +      "sha": "14ae1f988d344e6b4f97f6153fb0287dcda335bf",
    +      "user": {
    +        "login": "octo-org",
    +        "id": 67584941,
    +        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +        "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
    +        "gravatar_id": "",
    +        "url": "https://api.github.com/users/octo-org",
    +        "html_url": "https://github.com/octo-org",
    +        "followers_url": "https://api.github.com/users/octo-org/followers",
    +        "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +        "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +        "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +        "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +        "repos_url": "https://api.github.com/users/octo-org/repos",
    +        "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +        "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +        "type": "Organization",
    +        "site_admin": false
    +      },
    +      "repo": {
    +        "id": 280886604,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkyODA4ODY2MDQ=",
    +        "name": "octo-repo",
    +        "full_name": "octo-org/octo-repo",
    +        "private": true,
    +        "owner": {
    +          "login": "octo-org",
    +          "id": 67584941,
    +          "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +          "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
    +          "gravatar_id": "",
    +          "url": "https://api.github.com/users/octo-org",
    +          "html_url": "https://github.com/octo-org",
    +          "followers_url": "https://api.github.com/users/octo-org/followers",
    +          "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +          "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +          "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +          "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +          "repos_url": "https://api.github.com/users/octo-org/repos",
    +          "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +          "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +          "type": "Organization",
    +          "site_admin": false
    +        },
    +        "html_url": "https://github.com/octo-org/octo-repo",
    +        "description": "Change description",
    +        "fork": false,
    +        "url": "https://api.github.com/repos/octo-org/octo-repo",
    +        "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +        "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +        "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +        "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +        "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +        "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +        "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +        "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +        "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +        "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +        "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +        "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +        "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +        "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +        "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +        "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +        "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +        "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +        "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +        "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +        "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +        "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +        "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +        "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +        "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +        "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +        "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +        "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +        "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +        "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +        "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +        "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +        "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +        "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +        "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +        "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +        "created_at": "2020-07-19T14:48:35Z",
    +        "updated_at": "2022-03-11T11:56:22Z",
    +        "pushed_at": "2022-04-01T09:37:36Z",
    +        "git_url": "git://github.com/octo-org/octo-repo.git",
    +        "ssh_url": "git@github.com:octo-org/octo-repo.git",
    +        "clone_url": "https://github.com/octo-org/octo-repo.git",
    +        "svn_url": "https://github.com/octo-org/octo-repo",
    +        "homepage": "",
    +        "size": 646,
    +        "stargazers_count": 1,
    +        "watchers_count": 1,
    +        "language": "Ruby",
    +        "has_issues": true,
    +        "has_projects": true,
    +        "has_downloads": true,
    +        "has_wiki": true,
    +        "has_pages": false,
    +        "forks_count": 0,
    +        "mirror_url": null,
    +        "archived": false,
    +        "disabled": false,
    +        "open_issues_count": 60,
    +        "license": null,
    +        "allow_forking": false,
    +        "is_template": false,
    +        "topics": [
    +          "hey",
    +          "topic"
    +        ],
    +        "visibility": "private",
    +        "forks": 0,
    +        "open_issues": 60,
    +        "watchers": 1,
    +        "default_branch": "master"
    +      }
    +    },
    +    "base": {
    +      "label": "octo-org:master",
    +      "ref": "master",
    +      "sha": "fcaaddec44575a657bf81b049208b2ce139da3ca",
    +      "user": {
    +        "login": "octo-org",
    +        "id": 67584941,
    +        "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +        "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
    +        "gravatar_id": "",
    +        "url": "https://api.github.com/users/octo-org",
    +        "html_url": "https://github.com/octo-org",
    +        "followers_url": "https://api.github.com/users/octo-org/followers",
    +        "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +        "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +        "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +        "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +        "repos_url": "https://api.github.com/users/octo-org/repos",
    +        "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +        "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +        "type": "Organization",
    +        "site_admin": false
    +      },
    +      "repo": {
    +        "id": 280886604,
    +        "node_id": "MDEwOlJlcG9zaXRvcnkyODA4ODY2MDQ=",
    +        "name": "octo-repo",
    +        "full_name": "octo-org/octo-repo",
    +        "private": true,
    +        "owner": {
    +          "login": "octo-org",
    +          "id": 67584941,
    +          "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +          "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
    +          "gravatar_id": "",
    +          "url": "https://api.github.com/users/octo-org",
    +          "html_url": "https://github.com/octo-org",
    +          "followers_url": "https://api.github.com/users/octo-org/followers",
    +          "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +          "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +          "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +          "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +          "repos_url": "https://api.github.com/users/octo-org/repos",
    +          "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +          "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +          "type": "Organization",
    +          "site_admin": false
    +        },
    +        "html_url": "https://github.com/octo-org/octo-repo",
    +        "description": "Change description",
    +        "fork": false,
    +        "url": "https://api.github.com/repos/octo-org/octo-repo",
    +        "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +        "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +        "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +        "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +        "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +        "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +        "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +        "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +        "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +        "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +        "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +        "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +        "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +        "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +        "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +        "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +        "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +        "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +        "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +        "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +        "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +        "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +        "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +        "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +        "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +        "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +        "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +        "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +        "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +        "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +        "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +        "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +        "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +        "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +        "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +        "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +        "created_at": "2020-07-19T14:48:35Z",
    +        "updated_at": "2022-03-11T11:56:22Z",
    +        "pushed_at": "2022-04-01T09:37:36Z",
    +        "git_url": "git://github.com/octo-org/octo-repo.git",
    +        "ssh_url": "git@github.com:octo-org/octo-repo.git",
    +        "clone_url": "https://github.com/octo-org/octo-repo.git",
    +        "svn_url": "https://github.com/octo-org/octo-repo",
    +        "homepage": "",
    +        "size": 646,
    +        "stargazers_count": 1,
    +        "watchers_count": 1,
    +        "language": "Ruby",
    +        "has_issues": true,
    +        "has_projects": true,
    +        "has_downloads": true,
    +        "has_wiki": true,
    +        "has_pages": false,
    +        "forks_count": 0,
    +        "mirror_url": null,
    +        "archived": false,
    +        "disabled": false,
    +        "open_issues_count": 60,
    +        "license": null,
    +        "allow_forking": false,
    +        "is_template": false,
    +        "topics": [
    +          "hey",
    +          "topic"
    +        ],
    +        "visibility": "private",
    +        "forks": 0,
    +        "open_issues": 60,
    +        "watchers": 1,
    +        "default_branch": "master"
    +      }
    +    },
    +    "_links": {
    +      "self": {
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118"
    +      },
    +      "html": {
    +        "href": "https://github.com/octo-org/octo-repo/pull/118"
    +      },
    +      "issue": {
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/issues/118"
    +      },
    +      "comments": {
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/issues/118/comments"
    +      },
    +      "review_comments": {
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/comments"
    +      },
    +      "review_comment": {
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments{/number}"
    +      },
    +      "commits": {
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118/commits"
    +      },
    +      "statuses": {
    +        "href": "https://api.github.com/repos/octo-org/octo-repo/statuses/14ae1f988d344e6b4f97f6153fb0287dcda335bf"
    +      }
    +    },
    +    "author_association": "CONTRIBUTOR",
    +    "auto_merge": null,
    +    "active_lock_reason": null
    +  },
    +  "thread": {
    +    "node_id": "PRRT_kwDOEL39TM4w7XDQ",
    +    "comments": [
    +      {
    +        "url": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments/820867280",
    +        "pull_request_review_id": 901921390,
    +        "id": 820867280,
    +        "node_id": "PRRC_kwDOEL39TM4w7XDQ",
    +        "diff_hunk": "@@ -0,0 +1 @@\n+issue comment",
    +        "path": "issue-comment",
    +        "position": 1,
    +        "original_position": 1,
    +        "commit_id": "14ae1f988d344e6b4f97f6153fb0287dcda335bf",
    +        "original_commit_id": "14ae1f988d344e6b4f97f6153fb0287dcda335bf",
    +        "user": {
    +          "login": "jide2020",
    +          "id": 64502150,
    +          "node_id": "MDQ6VXNlcjY0NTAyMTUw",
    +          "avatar_url": "https://avatars.githubusercontent.com/u/64502150?v=4",
    +          "gravatar_id": "",
    +          "url": "https://api.github.com/users/jide2020",
    +          "html_url": "https://github.com/jide2020",
    +          "followers_url": "https://api.github.com/users/jide2020/followers",
    +          "following_url": "https://api.github.com/users/jide2020/following{/other_user}",
    +          "gists_url": "https://api.github.com/users/jide2020/gists{/gist_id}",
    +          "starred_url": "https://api.github.com/users/jide2020/starred{/owner}{/repo}",
    +          "subscriptions_url": "https://api.github.com/users/jide2020/subscriptions",
    +          "organizations_url": "https://api.github.com/users/jide2020/orgs",
    +          "repos_url": "https://api.github.com/users/jide2020/repos",
    +          "events_url": "https://api.github.com/users/jide2020/events{/privacy}",
    +          "received_events_url": "https://api.github.com/users/jide2020/received_events",
    +          "type": "User",
    +          "site_admin": false
    +        },
    +        "body": "sup",
    +        "created_at": "2022-03-07T16:16:48Z",
    +        "updated_at": "2022-03-07T16:16:58Z",
    +        "html_url": "https://github.com/octo-org/octo-repo/pull/118#discussion_r820867280",
    +        "pull_request_url": "https://api.github.com/repos/octo-org/octo-repo/pulls/118",
    +        "author_association": "COLLABORATOR",
    +        "_links": {
    +          "self": {
    +            "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments/820867280"
    +          },
    +          "html": {
    +            "href": "https://github.com/octo-org/octo-repo/pull/118#discussion_r820867280"
    +          },
    +          "pull_request": {
    +            "href": "https://api.github.com/repos/octo-org/octo-repo/pulls/118"
    +          }
    +        },
    +        "reactions": {
    +          "url": "https://api.github.com/repos/octo-org/octo-repo/pulls/comments/820867280/reactions",
    +          "total_count": 0,
    +          "+1": 0,
    +          "-1": 0,
    +          "laugh": 0,
    +          "hooray": 0,
    +          "confused": 0,
    +          "heart": 0,
    +          "rocket": 0,
    +          "eyes": 0
    +        },
    +        "start_line": null,
    +        "original_start_line": null,
    +        "start_side": null,
    +        "line": 1,
    +        "original_line": 1,
    +        "side": "RIGHT"
    +      }
    +    ]
    +  },
    +  "repository": {
    +    "id": 280886604,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkyODA4ODY2MDQ=",
    +    "name": "octo-repo",
    +    "full_name": "octo-org/octo-repo",
    +    "private": true,
    +    "owner": {
    +      "login": "octo-org",
    +      "id": 67584941,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +      "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/octo-org",
    +      "html_url": "https://github.com/octo-org",
    +      "followers_url": "https://api.github.com/users/octo-org/followers",
    +      "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +      "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +      "repos_url": "https://api.github.com/users/octo-org/repos",
    +      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://github.com/octo-org/octo-repo",
    +    "description": "Change description",
    +    "fork": false,
    +    "url": "https://api.github.com/repos/octo-org/octo-repo",
    +    "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +    "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +    "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +    "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +    "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +    "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +    "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +    "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +    "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +    "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +    "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +    "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +    "created_at": "2020-07-19T14:48:35Z",
    +    "updated_at": "2022-03-11T11:56:22Z",
    +    "pushed_at": "2022-04-01T09:37:36Z",
    +    "git_url": "git://github.com/octo-org/octo-repo.git",
    +    "ssh_url": "git@github.com:octo-org/octo-repo.git",
    +    "clone_url": "https://github.com/octo-org/octo-repo.git",
    +    "svn_url": "https://github.com/octo-org/octo-repo",
    +    "homepage": "",
    +    "size": 646,
    +    "stargazers_count": 1,
    +    "watchers_count": 1,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": false,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 60,
    +    "license": null,
    +    "allow_forking": false,
    +    "is_template": false,
    +    "topics": [
    +      "hey",
    +      "topic"
    +    ],
    +    "visibility": "private",
    +    "forks": 0,
    +    "open_issues": 60,
    +    "watchers": 1,
    +    "default_branch": "master"
    +  },
    +  "organization": {
    +    "login": "octo-org",
    +    "id": 67584941,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3NTg0OTQx",
    +    "url": "https://api.github.com/orgs/octo-org",
    +    "repos_url": "https://api.github.com/orgs/octo-org/repos",
    +    "events_url": "https://api.github.com/orgs/octo-org/events",
    +    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
    +    "issues_url": "https://api.github.com/orgs/octo-org/issues",
    +    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
    +    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
    +    "avatar_url": "https://avatars.githubusercontent.com/u/67584941?v=4",
    +    "description": ""
    +  },
    +  "sender": {
    +    "login": "octocat",
    +    "id": 21031067,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/octocat",
    +    "html_url": "https://github.com/octocat",
    +    "followers_url": "https://api.github.com/users/octocat/followers",
    +    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/octocat/orgs",
    +    "repos_url": "https://api.github.com/users/octocat/repos",
    +    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/octocat/received_events",
    +    "type": "User",
    +    "site_admin": true
    +  }
    +}
    +
    +
    +

    + + push +

    +

    One or more commits are pushed to a repository branch or tag.

    +
    +

    + Note: You will not receive a webhook for this event + when you push more than three tags at once. +

    +
    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the contents permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    refstring + The full + git ref + that was pushed. Example: refs/heads/main or + refs/tags/v3.14.1. +
    beforestring + The SHA of the most recent commit on ref before the + push. +
    afterstring + The SHA of the most recent commit on ref after the + push. +
    createdbooleanWhether this push created the ref.
    deletedbooleanWhether this push deleted the ref.
    forcedbooleanWhether this push was a force push of the ref.
    head_commitobject + For pushes where after is or points to a commit + object, an expanded representation of that commit. For pushes + where after refers to an annotated tag object, an + expanded representation of the commit pointed to by the annotated + tag. +
    comparestring + URL that shows the changes in this ref update, from + the before commit to the after commit. + For a newly created ref that is directly based on the + default branch, this is the comparison between the head of the + default branch and the after commit. Otherwise, this + shows all commits until the after commit. +
    commitsarray + An array of commit objects describing the pushed commits. (Pushed + commits are all commits that are included in the + compare between the before commit and + the after commit.) +
    commits[][id]stringThe SHA of the commit.
    commits[][timestamp]stringThe ISO 8601 timestamp of the commit.
    commits[][message]stringThe commit message.
    commits[][author]objectThe git author of the commit.
    commits[][author][name]stringThe git author's name.
    commits[][author][email]stringThe git author's email address.
    commits[][url]urlURL that points to the commit API resource.
    commits[][distinct]boolean + Whether this commit is distinct from any that have been pushed + before. +
    commits[][added]arrayAn array of files added in the commit.
    commits[][modified]arrayAn array of files modified by the commit.
    commits[][removed]arrayAn array of files removed in the commit.
    pusherobjectThe user who pushed the commits.
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "ref": "refs/tags/simple-tag",
    +  "before": "0000000000000000000000000000000000000000",
    +  "after": "6113728f27ae82c7b1a177c8d03f9e96e0adf246",
    +  "created": true,
    +  "deleted": false,
    +  "forced": false,
    +  "base_ref": null,
    +  "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/simple-tag",
    +  "commits": [],
    +  "head_commit": {
    +    "id": "6113728f27ae82c7b1a177c8d03f9e96e0adf246",
    +    "tree_id": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
    +    "distinct": true,
    +    "message": "Adding a .gitignore file",
    +    "timestamp": "2019-05-15T15:20:41Z",
    +    "url": "https://octocoders.github.io/Codertocat/Hello-World/commit/6113728f27ae82c7b1a177c8d03f9e96e0adf246",
    +    "author": {
    +      "name": "Codertocat",
    +      "email": "Codertocat@Octocoders.io",
    +      "username": "Codertocat"
    +    },
    +    "committer": {
    +      "name": "Codertocat",
    +      "email": "Codertocat@Octocoders.io",
    +      "username": "Codertocat"
    +    },
    +    "added": [
    +      ".gitignore"
    +    ],
    +    "removed": [],
    +    "modified": []
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "name": "Codertocat",
    +      "email": "Codertocat@Octocoders.io",
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": 1557949027,
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": 1557949103,
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master",
    +    "stargazers": 0,
    +    "master_branch": "master"
    +  },
    +  "pusher": {
    +    "name": "Codertocat",
    +    "email": "Codertocat@Octocoders.io"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + release +

    +

    + Activity related to a release. The type of activity is specified in the + action property of the payload object. For more + information, see the "releases" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the contents permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of: +
      +
    • + published: a release, pre-release, or draft of a + release is published +
    • +
    • + unpublished: a release or pre-release is deleted +
    • +
    • + created: a draft is saved, or a release or + pre-release is published without previously being saved as a + draft +
    • +
    • + edited: a release, pre-release, or draft release + is edited +
    • +
    • + deleted: a release, pre-release, or draft release + is deleted +
    • +
    • prereleased: a pre-release is created
    • +
    • + released: a release is published, or a + pre-release is changed to a release +
    • +
    +
    changes[body][from]string + The previous version of the body if the action was + edited. +
    changes[name][from]string + The previous version of the name if the action was + edited. +
    releaseobject + The + release + object. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "published",
    +  "release": {
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2",
    +    "assets_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2/assets",
    +    "upload_url": "https://octocoders.github.io/api/uploads/repos/Codertocat/Hello-World/releases/2/assets{?name,label}",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/releases/tag/0.0.1",
    +    "id": 2,
    +    "node_id": "MDc6UmVsZWFzZTI=",
    +    "tag_name": "0.0.1",
    +    "target_commitish": "master",
    +    "name": null,
    +    "draft": false,
    +    "author": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "prerelease": false,
    +    "created_at": "2019-05-15T19:37:08Z",
    +    "published_at": "2019-05-15T19:38:20Z",
    +    "assets": [],
    +    "tarball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tarball/0.0.1",
    +    "zipball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/zipball/0.0.1",
    +    "body": null
    +  },
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": "2019-05-15T19:38:19Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + repository_dispatch +

    +

    + This event occurs when a GitHub App sends a POST request to + the "Create a repository dispatch event" endpoint. +

    +

    + + Availability +

    +
      +
    • + GitHub Apps must have the contents permission to receive + this webhook. +
    • +
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "on-demand-test",
    +  "branch": "master",
    +  "client_payload": {
    +    "unit": false,
    +    "integration": true
    +  },
    +  "repository": {
    +    "id": 17273051,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==",
    +    "name": "octo-repo",
    +    "full_name": "octo-org/octo-repo",
    +    "private": true,
    +    "owner": {
    +      "login": "octo-org",
    +      "id": 6811672,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
    +      "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/octo-org",
    +      "html_url": "https://github.com/octo-org",
    +      "followers_url": "https://api.github.com/users/octo-org/followers",
    +      "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +      "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +      "repos_url": "https://api.github.com/users/octo-org/repos",
    +      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://github.com/octo-org/octo-repo",
    +    "description": "My first repo on GitHub!",
    +    "fork": false,
    +    "url": "https://api.github.com/repos/octo-org/octo-repo",
    +    "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +    "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +    "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +    "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +    "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +    "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +    "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +    "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +    "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +    "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +    "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +    "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +    "created_at": "2014-02-28T02:42:51Z",
    +    "updated_at": "2018-10-10T15:58:51Z",
    +    "pushed_at": "2018-10-10T15:58:47Z",
    +    "git_url": "git://github.com/octo-org/octo-repo.git",
    +    "ssh_url": "git@github.com:octo-org/octo-repo.git",
    +    "clone_url": "https://github.com/octo-org/octo-repo.git",
    +    "svn_url": "https://github.com/octo-org/octo-repo",
    +    "homepage": "",
    +    "size": 59,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "JavaScript",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": false,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "open_issues_count": 23,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 23,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "organization": {
    +    "login": "octo-org",
    +    "id": 6811672,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
    +    "url": "https://api.github.com/orgs/octo-org",
    +    "repos_url": "https://api.github.com/orgs/octo-org/repos",
    +    "events_url": "https://api.github.com/orgs/octo-org/events",
    +    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
    +    "issues_url": "https://api.github.com/orgs/octo-org/issues",
    +    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
    +    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
    +    "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
    +    "description": "Working better together!"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 21031067,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/Codertocat",
    +    "html_url": "https://github.com/Codertocat",
    +    "followers_url": "https://api.github.com/users/Codertocat/followers",
    +    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +    "repos_url": "https://api.github.com/users/Codertocat/repos",
    +    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 375706,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzc1NzA2"
    +  }
    +}
    +
    +
    +

    + + repository +

    +

    + Activity related to a repository. The type of activity is specified in + the action property of the payload object. For more + information, see the "repositories" REST API. +

    +

    + + Availability +

    +
      +
    • + Repository webhooks receive all event types except + deleted +
    • +
    • Organization webhooks
    • +
    • + GitHub Apps with the metadata permission receive all + event types except deleted +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. This can be one of: +
      +
    • created - A repository is created.
    • +
    • deleted - A repository is deleted.
    • +
    • archived - A repository is archived.
    • +
    • unarchived - A repository is unarchived.
    • +
    • + anonymous_access_enabled - A repository is + enabled for anonymous Git access, anonymous_access_disabled - A repository is + disabled for anonymous Git access +
    • +
    • + edited - A repository's information is edited. +
    • +
    • renamed - A repository is renamed.
    • +
    • transferred - A repository is transferred.
    • +
    • publicized - A repository is made public.
    • +
    • privatized - A repository is made private.
    • +
    +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "publicized",
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:25Z",
    +    "pushed_at": "2019-05-15T19:38:23Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + secret_scanning_alert +

    +

    + Activity related to secret scanning alerts in a repository. The type of + activity is specified in the action property of the payload object. For + more information, see the "secret scanning API." +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • + GitHub Apps with the + secret_scanning_alerts:read permission +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. This can be either + created, resolved, or + reopened. +
    alertobjectThe secret scanning alert involved in the event.
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobject + If the action is resolved or + reopened, the sender object will be the + user that triggered the event. The sender object is + empty for all other actions. +
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "reopened",
    +  "alert": {
    +    "number": 191,
    +    "secret_type": "adafruit_io_key",
    +    "resolution": null,
    +    "resolved_by": null,
    +    "resolved_at": null
    +  },
    +  "repository": {
    +    "id": 257423561,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkyNTc0MjM1NjE=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": true,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 30846345,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
    +      "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://github.com/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://api.github.com/repos/Codertocat/Hello-World",
    +    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2020-04-20T22:59:11Z",
    +    "updated_at": "2020-11-24T01:37:33Z",
    +    "pushed_at": "2020-11-24T01:37:31Z",
    +    "git_url": "git://github.com/Codertocat/Hello-World.git",
    +    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
    +    "clone_url": "https://github.com/Codertocat/Hello-World.git",
    +    "svn_url": "https://github.com/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 1156,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "JavaScript",
    +    "has_issues": false,
    +    "has_projects": false,
    +    "has_downloads": true,
    +    "has_wiki": false,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 3,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 3,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "organization": {
    +    "login": "Codertocat",
    +    "id": 30846345,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
    +    "url": "https://api.github.com/orgs/Codertocat",
    +    "repos_url": "https://api.github.com/orgs/Codertocat/repos",
    +    "events_url": "https://api.github.com/orgs/Codertocat/events",
    +    "hooks_url": "https://api.github.com/orgs/Codertocat/hooks",
    +    "issues_url": "https://api.github.com/orgs/Codertocat/issues",
    +    "members_url": "https://api.github.com/orgs/Codertocat/members{/member}",
    +    "public_members_url": "https://api.github.com/orgs/Codertocat/public_members{/member}",
    +    "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
    +    "description": "Demos and testing of GitHub security products"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 10136561,
    +    "node_id": "MDQ6VXNlcjEwMTM2NTYx",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/10136561?v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/Codertocat",
    +    "html_url": "https://github.com/Codertocat",
    +    "followers_url": "https://api.github.com/users/Codertocat/followers",
    +    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +    "repos_url": "https://api.github.com/users/Codertocat/repos",
    +    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": true
    +  }
    +}
    +
    +
    +

    + + secret_scanning_alert_location +

    +

    + Activity related to secret scanning alert locations in a repository. The + type of activity is specified in the action property of the payload + object. For more information, see the "secret scanning" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • + GitHub Apps with the + secret_scanning_alerts:read permission +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Currently, can only be + created. +
    locationobjectThe location involved in the event.
    alertobject + The + secret scanning alert + involved in the event. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "location": {
    +    "type": "commit",
    +    "details": {
    +      "path": "/example/secrets.txt",
    +      "start_line": 1,
    +      "end_line": 1,
    +      "start_column": 1,
    +      "end_column": 64,
    +      "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
    +      "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b",
    +      "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b",
    +      "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
    +    }
    +  },
    +  "alert": {
    +    "number": 191,
    +    "secret_type": "adafruit_io_key",
    +    "resolution": null,
    +    "created_at": "2022-04-01T11:01:10Z",
    +    "updated_at": "2022-04-01T12:04:28Z",
    +    "resolved_by": null,
    +    "resolved_at": null
    +  },
    +  "repository": {
    +    "id": 257423561,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkyNTc0MjM1NjE=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": true,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 30846345,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
    +      "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://github.com/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://api.github.com/repos/Codertocat/Hello-World",
    +    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2020-04-20T22:59:11Z",
    +    "updated_at": "2020-11-24T01:37:33Z",
    +    "pushed_at": "2020-11-24T01:37:31Z",
    +    "git_url": "git://github.com/Codertocat/Hello-World.git",
    +    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
    +    "clone_url": "https://github.com/Codertocat/Hello-World.git",
    +    "svn_url": "https://github.com/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 1156,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "JavaScript",
    +    "has_issues": false,
    +    "has_projects": false,
    +    "has_downloads": true,
    +    "has_wiki": false,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 3,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 3,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "organization": {
    +    "login": "Codertocat",
    +    "id": 30846345,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
    +    "url": "https://api.github.com/orgs/Codertocat",
    +    "repos_url": "https://api.github.com/orgs/Codertocat/repos",
    +    "events_url": "https://api.github.com/orgs/Codertocat/events",
    +    "hooks_url": "https://api.github.com/orgs/Codertocat/hooks",
    +    "issues_url": "https://api.github.com/orgs/Codertocat/issues",
    +    "members_url": "https://api.github.com/orgs/Codertocat/members{/member}",
    +    "public_members_url": "https://api.github.com/orgs/Codertocat/public_members{/member}",
    +    "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
    +    "description": "Demos and testing of GitHub security products"
    +  }
    +}
    +
    +
    +

    + + security_advisory +

    +

    + Activity related to a security advisory that has been reviewed by + GitHub. A GitHub-reviewed security advisory provides information about + security-related vulnerabilities in software on GitHub. +

    +

    + The security advisory dataset also powers the GitHub Dependabot alerts. + For more information, see "About Dependabot alerts." +

    +

    + + Availability +

    +
      +
    • GitHub Apps with the security_events permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. The action can be one of + published, updated, + performed, or withdrawn for all new + events. +
    security_advisoryobject + The details of the security advisory, including summary, + description, and severity. +
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "published",
    +  "security_advisory": {
    +    "ghsa_id": "GHSA-rf4j-j272-fj86",
    +    "summary": "Moderate severity vulnerability that affects django",
    +    "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.",
    +    "severity": "moderate",
    +    "identifiers": [
    +      {
    +        "value": "GHSA-rf4j-j272-fj86",
    +        "type": "GHSA"
    +      },
    +      {
    +        "value": "CVE-2018-6188",
    +        "type": "CVE"
    +      }
    +    ],
    +    "references": [
    +      {
    +        "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188"
    +      }
    +    ],
    +    "published_at": "2018-10-03T21:13:54Z",
    +    "updated_at": "2018-10-03T21:13:54Z",
    +    "withdrawn_at": null,
    +    "vulnerabilities": [
    +      {
    +        "package": {
    +          "ecosystem": "pip",
    +          "name": "django"
    +        },
    +        "severity": "moderate",
    +        "vulnerable_version_range": ">= 2.0.0, < 2.0.2",
    +        "first_patched_version": {
    +          "identifier": "2.0.2"
    +        }
    +      },
    +      {
    +        "package": {
    +          "ecosystem": "pip",
    +          "name": "django"
    +        },
    +        "severity": "moderate",
    +        "vulnerable_version_range": ">= 1.11.8, < 1.11.10",
    +        "first_patched_version": {
    +          "identifier": "1.11.10"
    +        }
    +      }
    +    ]
    +  }
    +}
    +
    +
    +

    + + star +

    +

    + Activity related to a repository being starred. The type of activity is + specified in the action property of the payload object. For + more information, see the "starring" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action performed. Can be created or + deleted. +
    starred_atstring + The time the star was created. This is a timestamp in + ISO 8601 + format: YYYY-MM-DDTHH:MM:SSZ. Will be + null for the deleted action. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "created",
    +  "starred_at": "2019-05-15T15:20:40Z",
    +  "repository": {
    +    "id": 186853002,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 21031067,
    +      "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/Codertocat",
    +      "html_url": "https://github.com/Codertocat",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://github.com/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://api.github.com/repos/Codertocat/Hello-World",
    +    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T15:19:25Z",
    +    "updated_at": "2019-05-15T15:20:40Z",
    +    "pushed_at": "2019-05-15T15:20:33Z",
    +    "git_url": "git://github.com/Codertocat/Hello-World.git",
    +    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
    +    "clone_url": "https://github.com/Codertocat/Hello-World.git",
    +    "svn_url": "https://github.com/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 1,
    +    "watchers_count": 1,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 1,
    +    "default_branch": "master"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 21031067,
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/Codertocat",
    +    "html_url": "https://github.com/Codertocat",
    +    "followers_url": "https://api.github.com/users/Codertocat/followers",
    +    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +    "repos_url": "https://api.github.com/users/Codertocat/repos",
    +    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + status +

    +

    + When the status of a Git commit changes. For more information, see the + "statuses" REST API. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the statuses permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    idintegerThe unique identifier of the status.
    shastringThe Commit SHA.
    statestring + The new state. Can be pending, success, + failure, or error. +
    descriptionstring + The optional human-readable description added to the status. +
    target_urlstringThe optional link added to the status.
    branchesarray + An array of branch objects containing the status' SHA. Each branch + contains the given SHA, but the SHA may or may not be the head of + the branch. The array includes a maximum of 10 branches. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "id": 2,
    +  "sha": "4544205a385319fd846d5df4ed2e3b8173529d78",
    +  "name": "Codertocat/Hello-World",
    +  "target_url": null,
    +  "context": "default",
    +  "description": null,
    +  "state": "success",
    +  "commit": {
    +    "sha": "4544205a385319fd846d5df4ed2e3b8173529d78",
    +    "node_id": "MDY6Q29tbWl0MTE4OjQ1NDQyMDVhMzg1MzE5ZmQ4NDZkNWRmNGVkMmUzYjgxNzM1MjlkNzg=",
    +    "commit": {
    +      "author": {
    +        "name": "Codertocat",
    +        "email": "Codertocat@Octocoders.io",
    +        "date": "2019-05-15T19:37:08Z"
    +      },
    +      "committer": {
    +        "name": "GitHub Enterprise",
    +        "email": "noreply@octocoders.github.io",
    +        "date": "2019-05-15T19:37:08Z"
    +      },
    +      "message": "Initial commit",
    +      "tree": {
    +        "sha": "1b13fc88733f95cc8cb16170f6990ef30d78acf4",
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees/1b13fc88733f95cc8cb16170f6990ef30d78acf4"
    +      },
    +      "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits/4544205a385319fd846d5df4ed2e3b8173529d78",
    +      "comment_count": 1,
    +      "verification": {
    +        "verified": false,
    +        "reason": "unsigned",
    +        "signature": null,
    +        "payload": null
    +      }
    +    },
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78",
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78/comments",
    +    "author": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "committer": null,
    +    "parents": []
    +  },
    +  "branches": [
    +    {
    +      "name": "master",
    +      "commit": {
    +        "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a",
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/78a96099c3f442d7f6e8d1a7d07090091993e65a"
    +      },
    +      "protected": false
    +    },
    +    {
    +      "name": "changes",
    +      "commit": {
    +        "sha": "14977a7b5485400124827221a04bfb474bcd72d1",
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/14977a7b5485400124827221a04bfb474bcd72d1"
    +      },
    +      "protected": false
    +    },
    +    {
    +      "name": "gh-pages",
    +      "commit": {
    +        "sha": "3648135c2986115284ae152d90459473b15fd19c",
    +        "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/3648135c2986115284ae152d90459473b15fd19c"
    +      },
    +      "protected": false
    +    }
    +  ],
    +  "created_at": "2019-05-15T19:38:21+00:00",
    +  "updated_at": "2019-05-15T19:38:21+00:00",
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:15Z",
    +    "pushed_at": "2019-05-15T19:38:19Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 1,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 1,
    +    "open_issues": 2,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + team +

    +

    + Activity related to an organization's team. The type of activity is + specified in the action property of the payload object. For + more information, see the "teams" REST API. +

    +

    + + Availability +

    +
      +
    • Organization webhooks
    • +
    • GitHub Apps with the members permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of created, + deleted, edited, + added_to_repository, or + removed_from_repository. +
    teamobjectThe team itself.
    changesobject + The changes to the team if the action was edited. +
    changes[description][from]string + The previous version of the description if the action was + edited. +
    changes[name][from]string + The previous version of the name if the action was + edited. +
    changes[privacy][from]string + The previous version of the team's privacy if the action was + edited. +
    changes[repository][permissions][from][admin]boolean + The previous version of the team member's + admin permission on a repository, if the action was + edited. +
    changes[repository][permissions][from][pull]boolean + The previous version of the team member's + pull permission on a repository, if the action was + edited. +
    changes[repository][permissions][from][push]boolean + The previous version of the team member's + push permission on a repository, if the action was + edited. +
    repositoryobject + The repository that was added or removed from to the team's + purview if the action was added_to_repository, + removed_from_repository, or edited. For + edited actions, repository also contains + the team's new permission levels for the repository. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "added_to_repository",
    +  "team": {
    +    "name": "github",
    +    "id": 3,
    +    "node_id": "MDQ6VGVhbTM=",
    +    "slug": "github",
    +    "description": "Open-source team",
    +    "privacy": "secret",
    +    "url": "https://octocoders.github.io/api/v3/teams/3",
    +    "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github",
    +    "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}",
    +    "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos",
    +    "permission": "pull"
    +  },
    +  "repository": {
    +    "id": 120,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
    +    "name": "Hello-World",
    +    "full_name": "Octocoders/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Octocoders",
    +      "id": 6,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +      "html_url": "https://octocoders.github.io/Octocoders",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "description": null,
    +    "fork": true,
    +    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:38:10Z",
    +    "updated_at": "2019-05-15T19:38:14Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": false,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": false,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
    +    "watchers": 0,
    +    "default_branch": "master",
    +    "permissions": {
    +      "pull": true,
    +      "push": false,
    +      "admin": false
    +    }
    +  },
    +  "organization": {
    +    "login": "Octocoders",
    +    "id": 6,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
    +    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
    +    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
    +    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
    +    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
    +    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +    "description": ""
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + team_add +

    +

    + When a + repository is added to a team. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the members permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    teamobject + The + team + that was modified. Note: Older events may not + include this in the payload. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "team": {
    +    "name": "github",
    +    "id": 3,
    +    "node_id": "MDQ6VGVhbTM=",
    +    "slug": "github",
    +    "description": "Open-source team",
    +    "privacy": "secret",
    +    "url": "https://octocoders.github.io/api/v3/teams/3",
    +    "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github",
    +    "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}",
    +    "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos",
    +    "permission": "pull"
    +  },
    +  "repository": {
    +    "id": 120,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=",
    +    "name": "Hello-World",
    +    "full_name": "Octocoders/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Octocoders",
    +      "id": 6,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +      "html_url": "https://octocoders.github.io/Octocoders",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "description": null,
    +    "fork": true,
    +    "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:38:10Z",
    +    "updated_at": "2019-05-15T19:38:14Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Octocoders/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": "Ruby",
    +    "has_issues": false,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": false,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
    +    "watchers": 0,
    +    "default_branch": "master"
    +  },
    +  "organization": {
    +    "login": "Octocoders",
    +    "id": 6,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +    "url": "https://octocoders.github.io/api/v3/orgs/Octocoders",
    +    "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events",
    +    "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks",
    +    "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues",
    +    "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}",
    +    "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +    "description": ""
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Octocoders",
    +    "id": 6,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/6?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Octocoders",
    +    "html_url": "https://octocoders.github.io/Octocoders",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events",
    +    "type": "Organization",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + user +

    +

    When a user is created or deleted.

    +

    + + Availability +

    +
      +
    • + GitHub Enterprise webhooks. For more information, "Global webhooks." +
    • +
    +

    + + Webhook payload example +

    +
    +
    {
    +  "user": {
    +    "login": "Snowtocat",
    +    "id": 16,
    +    "node_id": "MDQ6VXNlcjE2",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/16?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Snowtocat",
    +    "html_url": "https://octocoders.github.io/Snowtocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "action": "created",
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Snowtocat",
    +    "id": 16,
    +    "node_id": "MDQ6VXNlcjE2",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/16?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Snowtocat",
    +    "html_url": "https://octocoders.github.io/Snowtocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  }
    +}
    +
    +
    +

    + + watch +

    +

    + When someone stars a repository. The type of activity is specified in + the action property of the payload object. For more + information, see the "starring" REST API. +

    +

    + The event’s actor is the + user who + starred a repository, and the event’s repository is the + repository + that was starred. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • GitHub Apps with the metadata permission
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Currently, can only be + started. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    installationobject + The GitHub App installation. Webhook payloads contain the + installation property when the event is configured + for and sent to a GitHub App. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "started",
    +  "repository": {
    +    "id": 118,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=",
    +    "name": "Hello-World",
    +    "full_name": "Codertocat/Hello-World",
    +    "private": false,
    +    "owner": {
    +      "login": "Codertocat",
    +      "id": 4,
    +      "node_id": "MDQ6VXNlcjQ=",
    +      "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +      "gravatar_id": "",
    +      "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +      "html_url": "https://octocoders.github.io/Codertocat",
    +      "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +      "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +      "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +      "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +      "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +      "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +      "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +      "type": "User",
    +      "site_admin": false
    +    },
    +    "html_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "description": null,
    +    "fork": false,
    +    "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World",
    +    "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks",
    +    "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams",
    +    "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks",
    +    "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events",
    +    "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}",
    +    "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}",
    +    "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags",
    +    "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages",
    +    "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers",
    +    "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors",
    +    "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription",
    +    "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}",
    +    "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}",
    +    "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}",
    +    "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges",
    +    "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads",
    +    "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}",
    +    "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}",
    +    "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}",
    +    "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}",
    +    "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}",
    +    "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments",
    +    "created_at": "2019-05-15T19:37:07Z",
    +    "updated_at": "2019-05-15T19:38:09Z",
    +    "pushed_at": "2019-05-15T19:38:03Z",
    +    "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git",
    +    "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git",
    +    "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git",
    +    "svn_url": "https://octocoders.github.io/Codertocat/Hello-World",
    +    "homepage": null,
    +    "size": 0,
    +    "stargazers_count": 1,
    +    "watchers_count": 1,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": true,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 2,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 2,
    +    "watchers": 1,
    +    "default_branch": "master"
    +  },
    +  "enterprise": {
    +    "id": 1,
    +    "slug": "github",
    +    "name": "GitHub",
    +    "node_id": "MDg6QnVzaW5lc3Mx",
    +    "avatar_url": "https://octocoders.github.io/avatars/b/1?",
    +    "description": null,
    +    "website_url": null,
    +    "html_url": "https://octocoders.github.io/businesses/github",
    +    "created_at": "2019-05-14T19:31:12Z",
    +    "updated_at": "2019-05-14T19:31:12Z"
    +  },
    +  "sender": {
    +    "login": "Codertocat",
    +    "id": 4,
    +    "node_id": "MDQ6VXNlcjQ=",
    +    "avatar_url": "https://octocoders.github.io/avatars/u/4?",
    +    "gravatar_id": "",
    +    "url": "https://octocoders.github.io/api/v3/users/Codertocat",
    +    "html_url": "https://octocoders.github.io/Codertocat",
    +    "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers",
    +    "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}",
    +    "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions",
    +    "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs",
    +    "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos",
    +    "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}",
    +    "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events",
    +    "type": "User",
    +    "site_admin": false
    +  },
    +  "installation": {
    +    "id": 5,
    +    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ=="
    +  }
    +}
    +
    +
    +

    + + workflow_dispatch +

    +

    + This event occurs when someone triggers a workflow run on GitHub or + sends a POST request to the "Create a workflow dispatch event" endpoint. For more information, see "Events that trigger workflows." +

    +

    + + Availability +

    +
      +
    • + GitHub Apps must have the contents permission to receive + this webhook. +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    inputsobject + Inputs to the workflow. Each key represents the name of the input + while it's value represents the value of that input. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    refstringThe branch ref from which the workflow was run.
    repositoryobject + The + repository + where the event occurred. +
    senderobjectThe user that triggered the event.
    workflowstring + Relative path to the workflow file which contains the workflow. +
    +

    + + Webhook payload example +

    +
    +
    {
    +  "inputs": {
    +    "name": "Mona the Octocat"
    +  },
    +  "organization": {
    +    "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
    +    "description": null,
    +    "events_url": "https://api.github.com/orgs/octo-org/events",
    +    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
    +    "id": 79927191,
    +    "issues_url": "https://api.github.com/orgs/octo-org/issues",
    +    "login": "octo-org",
    +    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI",
    +    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
    +    "repos_url": "https://api.github.com/orgs/octo-org/repos",
    +    "url": "https://api.github.com/orgs/octo-org"
    +  },
    +  "ref": "refs/heads/main",
    +  "repository": {
    +    "allow_forking": true,
    +    "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +    "archived": false,
    +    "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +    "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +    "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +    "clone_url": "https://github.com/octo-org/octo-repo.git",
    +    "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +    "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +    "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +    "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +    "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +    "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +    "created_at": "2021-08-16T21:34:28Z",
    +    "default_branch": "main",
    +    "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +    "description": null,
    +    "disabled": false,
    +    "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +    "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +    "fork": false,
    +    "forks": 1,
    +    "forks_count": 1,
    +    "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +    "full_name": "octo-org/octo-repo",
    +    "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +    "git_url": "git://github.com/octo-org/octo-repo.git",
    +    "has_downloads": true,
    +    "has_issues": true,
    +    "has_pages": false,
    +    "has_projects": true,
    +    "has_wiki": true,
    +    "homepage": null,
    +    "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +    "html_url": "https://github.com/octo-org/octo-repo",
    +    "id": 6811672,
    +    "is_template": false,
    +    "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +    "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +    "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +    "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +    "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +    "language": null,
    +    "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +    "license": null,
    +    "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +    "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +    "mirror_url": null,
    +    "name": "octo-repo",
    +    "node_id": "MDEwOlJlcG9zaXRvcnkzOTY5ODA4MTI=",
    +    "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +    "open_issues": 97,
    +    "open_issues_count": 97,
    +    "owner": {
    +      "avatar_url": "https://avatars.githubusercontent.com/u/6811672?v=4",
    +      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +      "followers_url": "https://api.github.com/users/octo-org/followers",
    +      "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +      "gravatar_id": "",
    +      "html_url": "https://github.com/octo-org",
    +      "id": 79927191,
    +      "login": "octo-org",
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI9",
    +      "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +      "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +      "repos_url": "https://api.github.com/users/octo-org/repos",
    +      "site_admin": false,
    +      "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +      "type": "Organization",
    +      "url": "https://api.github.com/users/octo-org"
    +    },
    +    "private": false,
    +    "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +    "pushed_at": "2022-01-07T21:57:21Z",
    +    "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +    "size": 144,
    +    "ssh_url": "git@github.com:octo-org/octo-repo.git",
    +    "stargazers_count": 0,
    +    "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +    "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +    "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +    "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +    "svn_url": "https://github.com/octo-org/octo-repo",
    +    "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +    "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +    "topics": [],
    +    "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +    "updated_at": "2022-01-07T21:57:24Z",
    +    "url": "https://api.github.com/repos/octo-org/octo-repo",
    +    "visibility": "public",
    +    "watchers": 0,
    +    "watchers_count": 0
    +  },
    +  "sender": {
    +    "avatar_url": "https://avatars.githubusercontent.com/u/25328854?v=4",
    +    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +    "followers_url": "https://api.github.com/users/octocat/followers",
    +    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    +    "gravatar_id": "",
    +    "html_url": "https://github.com/octocat",
    +    "id": 25328754,
    +    "login": "octocat",
    +    "node_id": "MDQ6VXNlcjI1MzI4ODU0",
    +    "organizations_url": "https://api.github.com/users/octocat/orgs",
    +    "received_events_url": "https://api.github.com/users/octocat/received_events",
    +    "repos_url": "https://api.github.com/users/octocat/repos",
    +    "site_admin": true,
    +    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    +    "type": "User",
    +    "url": "https://api.github.com/users/octocat"
    +  },
    +  "workflow": ".github/workflows/hello-world-workflow.yml"
    +}
    +
    +
    +

    + + workflow_job +

    +

    + A GitHub Actions workflow job has been queued, is in progress, or has + been completed on a repository. The type of activity is specified in the + action property of the payload object. +

    +

    + + Availability +

    +
      +
    • Repository webhooks
    • +
    • Organization webhooks
    • +
    • Enterprise webhooks
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action performed. Can be one of: +
      +
    • queued - A new job was created.
    • +
    • + in_progress - The job has started processing on + the runner. +
    • +
    • + completed - The status of the job is + completed. +
    • +
    +
    workflow_jobobject + The workflow job. Many workflow_job keys, such as + head_sha, conclusion, and + started_at are the same as those in a + check_run object. +
    workflow_job[status]string + The current status of the job. Can be queued, + in_progress, or completed. +
    workflow_job[labels]array + Custom labels for the job. Specified by the + "runs-on" attribute + in the workflow YAML. +
    workflow_job[runner_id]integer + The ID of the runner that is running this job. This will be + null as long as workflow_job[status] is + queued. +
    workflow_job[runner_name]string + The name of the runner that is running this job. This will be + null as long as workflow_job[status] is + queued. +
    workflow_job[runner_group_id]integer + The ID of the runner group that is running this job. This will be + null as long as workflow_job[status] is + queued. +
    workflow_job[runner_group_name]string + The name of the runner group that is running this job. This will + be null as long as + workflow_job[status] is queued. +
    repositoryobject + The + repository + where the event occurred. +
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "in_progress",
    +  "workflow_job": {
    +    "id": 2832853555,
    +    "run_id": 940463255,
    +    "run_url": "https://api.github.com/repos/octo-org/example-workflow/actions/runs/940463255",
    +    "node_id": "MDg6Q2hlY2tSdW4yODMyODUzNT55",
    +    "head_sha": "e3103f8eb03e1ad7f2331c5446b23c070fc54055",
    +    "url": "https://api.github.com/repos/octo-org/example-workflow/actions/jobs/2832853555",
    +    "html_url": "https://github.com/octo-org/example-workflow/runs/2832853555",
    +    "status": "in_progress",
    +    "conclusion": null,
    +    "started_at": "2021-06-15T19:22:27Z",
    +    "completed_at": null,
    +    "name": "Test workflow",
    +    "steps": [
    +      {
    +        "name": "Set up job",
    +        "status": "in_progress",
    +        "conclusion": null,
    +        "number": 1,
    +        "started_at": "2021-06-15T19:22:27.000Z",
    +        "completed_at": null
    +      }
    +    ],
    +    "check_run_url": "https://api.github.com/repos/octo-org/example-workflow/check-runs/2832853555",
    +    "labels": [
    +      "gpu",
    +      "db-app",
    +      "dc-03"
    +    ],
    +    "runner_id": 1,
    +    "runner_name": "my runner",
    +    "runner_group_id": 2,
    +    "runner_group_name": "my runner group"
    +  },
    +  "repository": {
    +    "id": 376034443,
    +    "node_id": "MDEwOlJlcG9zaXRvcnkzNzYwMzQ0ND55",
    +    "name": "example-workflow",
    +    "full_name": "octo-org/example-workflow",
    +    "private": true,
    +    "owner": {
    +      "login": "octo-org",
    +      "id": 33435655,
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzNDM1Nj55",
    +      "avatar_url": "https://avatars.githubusercontent.com/u/21031067?s=460&u=d851e01410b4f1674f000ba7e0dc94e0b82cd9cc&v=4",
    +      "gravatar_id": "",
    +      "url": "https://api.github.com/users/octo-org",
    +      "html_url": "https://github.com/octo-org",
    +      "followers_url": "https://api.github.com/users/octo-org/followers",
    +      "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +      "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +      "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +      "repos_url": "https://api.github.com/users/octo-org/repos",
    +      "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +      "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +      "type": "Organization",
    +      "site_admin": false
    +    },
    +    "html_url": "https://github.com/octo-org/example-workflow",
    +    "description": "Test workflow",
    +    "fork": false,
    +    "url": "https://api.github.com/repos/octo-org/example-workflow",
    +    "forks_url": "https://api.github.com/repos/octo-org/example-workflow/forks",
    +    "keys_url": "https://api.github.com/repos/octo-org/example-workflow/keys{/key_id}",
    +    "collaborators_url": "https://api.github.com/repos/octo-org/example-workflow/collaborators{/collaborator}",
    +    "teams_url": "https://api.github.com/repos/octo-org/example-workflow/teams",
    +    "hooks_url": "https://api.github.com/repos/octo-org/example-workflow/hooks",
    +    "issue_events_url": "https://api.github.com/repos/octo-org/example-workflow/issues/events{/number}",
    +    "events_url": "https://api.github.com/repos/octo-org/example-workflow/events",
    +    "assignees_url": "https://api.github.com/repos/octo-org/example-workflow/assignees{/user}",
    +    "branches_url": "https://api.github.com/repos/octo-org/example-workflow/branches{/branch}",
    +    "tags_url": "https://api.github.com/repos/octo-org/example-workflow/tags",
    +    "blobs_url": "https://api.github.com/repos/octo-org/example-workflow/git/blobs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/octo-org/example-workflow/git/tags{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/octo-org/example-workflow/git/refs{/sha}",
    +    "trees_url": "https://api.github.com/repos/octo-org/example-workflow/git/trees{/sha}",
    +    "statuses_url": "https://api.github.com/repos/octo-org/example-workflow/statuses/{sha}",
    +    "languages_url": "https://api.github.com/repos/octo-org/example-workflow/languages",
    +    "stargazers_url": "https://api.github.com/repos/octo-org/example-workflow/stargazers",
    +    "contributors_url": "https://api.github.com/repos/octo-org/example-workflow/contributors",
    +    "subscribers_url": "https://api.github.com/repos/octo-org/example-workflow/subscribers",
    +    "subscription_url": "https://api.github.com/repos/octo-org/example-workflow/subscription",
    +    "commits_url": "https://api.github.com/repos/octo-org/example-workflow/commits{/sha}",
    +    "git_commits_url": "https://api.github.com/repos/octo-org/example-workflow/git/commits{/sha}",
    +    "comments_url": "https://api.github.com/repos/octo-org/example-workflow/comments{/number}",
    +    "issue_comment_url": "https://api.github.com/repos/octo-org/example-workflow/issues/comments{/number}",
    +    "contents_url": "https://api.github.com/repos/octo-org/example-workflow/contents/{+path}",
    +    "compare_url": "https://api.github.com/repos/octo-org/example-workflow/compare/{base}...{head}",
    +    "merges_url": "https://api.github.com/repos/octo-org/example-workflow/merges",
    +    "archive_url": "https://api.github.com/repos/octo-org/example-workflow/{archive_format}{/ref}",
    +    "downloads_url": "https://api.github.com/repos/octo-org/example-workflow/downloads",
    +    "issues_url": "https://api.github.com/repos/octo-org/example-workflow/issues{/number}",
    +    "pulls_url": "https://api.github.com/repos/octo-org/example-workflow/pulls{/number}",
    +    "milestones_url": "https://api.github.com/repos/octo-org/example-workflow/milestones{/number}",
    +    "notifications_url": "https://api.github.com/repos/octo-org/example-workflow/notifications{?since,all,participating}",
    +    "labels_url": "https://api.github.com/repos/octo-org/example-workflow/labels{/name}",
    +    "releases_url": "https://api.github.com/repos/octo-org/example-workflow/releases{/id}",
    +    "deployments_url": "https://api.github.com/repos/octo-org/example-workflow/deployments",
    +    "created_at": "2021-06-11T13:29:13Z",
    +    "updated_at": "2021-06-11T13:33:01Z",
    +    "pushed_at": "2021-06-11T13:32:58Z",
    +    "git_url": "git://github.com/octo-org/example-workflow.git",
    +    "ssh_url": "git@github.com:octo-org/example-workflow.git",
    +    "clone_url": "https://github.com/octo-org/example-workflow.git",
    +    "svn_url": "https://github.com/octo-org/example-workflow",
    +    "homepage": null,
    +    "size": 1,
    +    "stargazers_count": 0,
    +    "watchers_count": 0,
    +    "language": null,
    +    "has_issues": true,
    +    "has_projects": true,
    +    "has_downloads": true,
    +    "has_wiki": true,
    +    "has_pages": false,
    +    "forks_count": 0,
    +    "mirror_url": null,
    +    "archived": false,
    +    "disabled": false,
    +    "open_issues_count": 0,
    +    "license": null,
    +    "forks": 0,
    +    "open_issues": 0,
    +    "watchers": 0,
    +    "default_branch": "main"
    +  },
    +  "organization": {
    +    "login": "octo-org",
    +    "id": 33435655,
    +    "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzNDM1Nj55",
    +    "url": "https://api.github.com/orgs/octo-org",
    +    "repos_url": "https://api.github.com/orgs/octo-org/repos",
    +    "events_url": "https://api.github.com/orgs/octo-org/events",
    +    "hooks_url": "https://api.github.com/orgs/octo-org/hooks",
    +    "issues_url": "https://api.github.com/orgs/octo-org/issues",
    +    "members_url": "https://api.github.com/orgs/octo-org/members{/member}",
    +    "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
    +    "avatar_url": "https://avatars.githubusercontent.com/u/21031067?s=460&u=d851e01410b4f1674f000ba7e0dc94e0b82cd9cc&v=4",
    +    "description": "octo-org"
    +  },
    +  "sender": {
    +    "login": "octocat",
    +    "id": 319655,
    +    "node_id": "MDQ6VXNlcjMxOTY1NQ55",
    +    "avatar_url": "https://avatars.githubusercontent.com/u/21031067?s=460&u=d851e01410b4f1674f000ba7e0dc94e0b82cd9cc&v=4",
    +    "gravatar_id": "",
    +    "url": "https://api.github.com/users/octocat",
    +    "html_url": "https://github.com/octocat",
    +    "followers_url": "https://api.github.com/users/octocat/followers",
    +    "following_url": "https://api.github.com/users/octocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
    +    "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
    +    "organizations_url": "https://api.github.com/users/octocat/orgs",
    +    "repos_url": "https://api.github.com/users/octocat/repos",
    +    "events_url": "https://api.github.com/users/octocat/events{/privacy}",
    +    "received_events_url": "https://api.github.com/users/octocat/received_events",
    +    "type": "User",
    +    "site_admin": true
    +  }
    +}
    +
    +
    +

    + + workflow_run +

    +

    + When a GitHub Actions workflow run is requested or completed. For more + information, see "Events that trigger workflows." +

    +

    + + Availability +

    +
      +
    • + GitHub Apps with the actions or + contents permissions. +
    • +
    +

    + + Webhook payload object +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    KeyTypeDescription
    actionstring + The action that was performed. Can be one of + requested or completed. +
    workflow_runobject + The workflow run. Includes information such as + artifacts_url, check_suite_id, + conclusion, head_branch, and + head_sha. +
    workflowobjectThe workflow that generated the workflow run.
    organizationobject + Webhook payloads contain the + organization + object when the webhook is configured for an organization or the + event occurs from activity in a repository owned by an + organization. +
    repositoryobject + The + repository + where the event occurred. +
    senderobjectThe user that triggered the event.
    +

    + + Webhook payload example +

    +
    +
    {
    +  "action": "completed",
    +  "organization": {
    +    "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +    "description": "",
    +    "events_url": "https://api.github.com/orgs/Octocoders/events",
    +    "hooks_url": "https://api.github.com/orgs/Octocoders/hooks",
    +    "id": 33435682,
    +    "issues_url": "https://api.github.com/orgs/Octocoders/issues",
    +    "login": "Codertocat",
    +    "members_url": "https://api.github.com/orgs/Octocoders/members{/member}",
    +    "node_id": "MDQ6VXNlcjIxMDMxMDY3",
    +    "public_members_url": "https://api.github.com/orgs/Octocoders/public_members{/member}",
    +    "repos_url": "https://api.github.com/orgs/Octocoders/repos",
    +    "url": "https://api.github.com/orgs/Codertocat"
    +  },
    +  "repository": {
    +    "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
    +    "archived": false,
    +    "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
    +    "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
    +    "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
    +    "clone_url": "https://github.com/Codertocat/Hello-World.git",
    +    "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
    +    "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
    +    "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
    +    "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
    +    "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
    +    "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
    +    "created_at": "2020-07-29T09:57:16Z",
    +    "default_branch": "main",
    +    "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
    +    "description": null,
    +    "disabled": false,
    +    "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
    +    "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
    +    "fork": false,
    +    "forks": 0,
    +    "forks_count": 0,
    +    "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
    +    "full_name": "Codertocat/Hello-World",
    +    "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
    +    "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
    +    "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
    +    "git_url": "git://github.com/Codertocat/Hello-World.git",
    +    "has_downloads": true,
    +    "has_issues": true,
    +    "has_pages": false,
    +    "has_projects": true,
    +    "has_wiki": true,
    +    "homepage": null,
    +    "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
    +    "html_url": "https://github.com/Codertocat/Hello-World",
    +    "id": 283462325,
    +    "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
    +    "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
    +    "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
    +    "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
    +    "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
    +    "language": null,
    +    "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
    +    "license": null,
    +    "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
    +    "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
    +    "mirror_url": null,
    +    "name": "Hello-World",
    +    "node_id": "MDEwOlJlcG9zaXRvcnkyODM0NjIzMjU=",
    +    "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
    +    "open_issues": 0,
    +    "open_issues_count": 0,
    +    "owner": {
    +      "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
    +      "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +      "followers_url": "https://api.github.com/users/Codertocat/followers",
    +      "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +      "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +      "gravatar_id": "",
    +      "html_url": "https://github.com/Codertocat",
    +      "id": 33435682,
    +      "login": "Codertocat",
    +      "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzNDM1Njgy",
    +      "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +      "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +      "repos_url": "https://api.github.com/users/Codertocat/repos",
    +      "site_admin": false,
    +      "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +      "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +      "type": "Organization",
    +      "url": "https://api.github.com/users/Codertocat"
    +    },
    +    "private": true,
    +    "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
    +    "pushed_at": "2020-07-29T10:06:16Z",
    +    "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
    +    "size": 0,
    +    "ssh_url": "git@github.com:Codertocat/Hello-World.git",
    +    "stargazers_count": 0,
    +    "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
    +    "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
    +    "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
    +    "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
    +    "svn_url": "https://github.com/Codertocat/Hello-World",
    +    "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
    +    "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
    +    "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
    +    "updated_at": "2020-07-29T10:06:18Z",
    +    "url": "https://api.github.com/repos/Codertocat/Hello-World",
    +    "watchers": 0,
    +    "watchers_count": 0
    +  },
    +  "sender": {
    +    "avatar_url": "https://avatars3.githubusercontent.com/u/54248166?v=4",
    +    "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
    +    "followers_url": "https://api.github.com/users/Codertocat/followers",
    +    "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
    +    "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
    +    "gravatar_id": "",
    +    "html_url": "https://github.com/Codertocat",
    +    "id": 54248166,
    +    "login": "Codertocat",
    +    "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=",
    +    "organizations_url": "https://api.github.com/users/Codertocat/orgs",
    +    "received_events_url": "https://api.github.com/users/Codertocat/received_events",
    +    "repos_url": "https://api.github.com/users/Codertocat/repos",
    +    "site_admin": true,
    +    "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
    +    "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
    +    "type": "User",
    +    "url": "https://api.github.com/users/Codertocat"
    +  },
    +  "workflow": {
    +    "badge_url": "https://github.com/octo-org/octo-repo/workflows/Manually%20triggered%20workflow/badge.svg",
    +    "created_at": "2021-12-15T20:11:38.000Z",
    +    "html_url": "https://github.com/octo-org/octo-repo/blob/main/.github/workflows/syntax.yml",
    +    "id": 16340987,
    +    "name": "Manually triggered workflow",
    +    "node_id": "W_kwDOF6lyTM4A-Vf7",
    +    "path": ".github/workflows/syntax.yml",
    +    "state": "active",
    +    "updated_at": "2021-12-16T18:40:41.000Z",
    +    "url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/16340987"
    +  },
    +  "workflow_run": {
    +    "artifacts_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1589141559/artifacts",
    +    "cancel_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1589141559/cancel",
    +    "check_suite_id": 4683454167,
    +    "check_suite_node_id": "CS_kwDOF6lyTM8AAAABFyfW1w",
    +    "check_suite_url": "https://api.github.com/repos/octo-org/octo-repo/check-suites/4683454167",
    +    "conclusion": null,
    +    "created_at": "2021-12-16T19:37:22Z",
    +    "event": "workflow_dispatch",
    +    "head_branch": "main",
    +    "head_commit": {
    +      "author": {
    +        "email": "octocat@github.com",
    +        "name": "Mona Lisa"
    +      },
    +      "committer": {
    +        "email": "noreply@github.com",
    +        "name": "GitHub"
    +      },
    +      "id": "5779607b49aab1200488439f02372c57b4f75444",
    +      "message": "Update milestone-created.yml",
    +      "timestamp": "2021-12-16T19:37:14Z",
    +      "tree_id": "8181cee091cf9627ac07c3cc4b94c015a1d56706"
    +    },
    +    "head_repository": {
    +      "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +      "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +      "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +      "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +      "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +      "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +      "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +      "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +      "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +      "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +      "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +      "description": null,
    +      "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +      "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +      "fork": false,
    +      "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +      "full_name": "octo-org/octo-repo",
    +      "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +      "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +      "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +      "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +      "html_url": "https://github.com/octo-org/octo-repo",
    +      "id": 396980812,
    +      "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +      "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +      "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +      "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +      "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +      "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +      "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +      "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +      "name": "octo-repo",
    +      "node_id": "MDEwOlJlcG9zaXRvcnkzOTY5ODA4MTI=",
    +      "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +      "owner": {
    +        "avatar_url": "https://avatars.githubusercontent.com/u/79927191?v=4",
    +        "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +        "followers_url": "https://api.github.com/users/octo-org/followers",
    +        "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +        "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +        "gravatar_id": "",
    +        "html_url": "https://github.com/octo-org",
    +        "id": 79927191,
    +        "login": "octo-org",
    +        "node_id": "MDEyOk9yZ2FuaXphdGlvbjc5OTI3MTkx",
    +        "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +        "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +        "repos_url": "https://api.github.com/users/octo-org/repos",
    +        "site_admin": false,
    +        "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +        "type": "Organization",
    +        "url": "https://api.github.com/users/octo-org"
    +      },
    +      "private": true,
    +      "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +      "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +      "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +      "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +      "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +      "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +      "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +      "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +      "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +      "url": "https://api.github.com/repos/octo-org/octo-repo"
    +    },
    +    "head_sha": "5779607b49aab1200488439f02372c57b4f75444",
    +    "html_url": "https://github.com/octo-org/octo-repo/actions/runs/1589141559",
    +    "id": 1589141559,
    +    "jobs_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1589141559/jobs",
    +    "logs_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1589141559/logs",
    +    "name": "Manually triggered workflow",
    +    "node_id": "WFR_kwLOF6lyTM5euGA3",
    +    "previous_attempt_url": null,
    +    "pull_requests": [],
    +    "repository": {
    +      "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}",
    +      "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}",
    +      "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}",
    +      "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}",
    +      "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}",
    +      "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}",
    +      "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}",
    +      "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}",
    +      "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}",
    +      "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors",
    +      "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments",
    +      "description": null,
    +      "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads",
    +      "events_url": "https://api.github.com/repos/octo-org/octo-repo/events",
    +      "fork": false,
    +      "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks",
    +      "full_name": "octo-org/octo-repo",
    +      "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}",
    +      "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}",
    +      "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}",
    +      "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks",
    +      "html_url": "https://github.com/octo-org/octo-repo",
    +      "id": 396980812,
    +      "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}",
    +      "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}",
    +      "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}",
    +      "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}",
    +      "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}",
    +      "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages",
    +      "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges",
    +      "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}",
    +      "name": "octo-repo",
    +      "node_id": "MDEwOlJlcG9zaXRvcnkzOTY5ODA4MTI=",
    +      "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}",
    +      "owner": {
    +        "avatar_url": "https://avatars.githubusercontent.com/u/79927191?v=4",
    +        "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
    +        "followers_url": "https://api.github.com/users/octo-org/followers",
    +        "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
    +        "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
    +        "gravatar_id": "",
    +        "html_url": "https://github.com/octo-org",
    +        "id": 79927191,
    +        "login": "octo-org",
    +        "node_id": "MDEyOk9yZ2FuaXphdGlvbjc5OTI3MTkx",
    +        "organizations_url": "https://api.github.com/users/octo-org/orgs",
    +        "received_events_url": "https://api.github.com/users/octo-org/received_events",
    +        "repos_url": "https://api.github.com/users/octo-org/repos",
    +        "site_admin": false,
    +        "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
    +        "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
    +        "type": "Organization",
    +        "url": "https://api.github.com/users/octo-org"
    +      },
    +      "private": true,
    +      "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}",
    +      "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}",
    +      "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers",
    +      "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}",
    +      "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers",
    +      "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription",
    +      "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags",
    +      "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams",
    +      "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}",
    +      "url": "https://api.github.com/repos/octo-org/octo-repo"
    +    },
    +    "rerun_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1589141559/rerun",
    +    "run_attempt": 1,
    +    "run_number": 36,
    +    "run_started_at": "2021-12-16T19:37:22Z",
    +    "status": "queued",
    +    "updated_at": "2021-12-16T19:37:22Z",
    +    "url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/1589141559",
    +    "workflow_id": 16340987,
    +    "workflow_url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/16340987"
    +  }
    +}
    +
    +
    +
    +
    +
    diff --git a/lib/check-or-update-webhooks.ts b/lib/check-or-update-webhooks.ts index 76500be37..c9f6930c3 100644 --- a/lib/check-or-update-webhooks.ts +++ b/lib/check-or-update-webhooks.ts @@ -34,7 +34,7 @@ export const checkOrUpdateWebhooks = async ({ } if (ghe === "") { - const gheVersions = ["2.21", "2.22", "3.0", "3.1", "3.2", "3.3"]; + const gheVersions = ["3.1", "3.2", "3.3", "3.4", "3.5"]; for (let gheVersion of gheVersions) { await checkOrUpdateWebhooks({ diff --git a/payload-examples/ghes-222/index.json b/payload-examples/ghes-222/index.json deleted file mode 100644 index a73aaba1a..000000000 --- a/payload-examples/ghes-222/index.json +++ /dev/null @@ -1,23738 +0,0 @@ -[ - { - "name": "check_run", - "description": "Check run activity has occurred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[check runs](https://docs.github.com/en/enterprise-server@2.22/rest/reference/checks#runs)\" REST API.", - "actions": ["completed", "created", "requested_action", "rerequested"], - "properties": { - "check_run": { - "type": "object", - "description": "The [check\\_run](https://docs.github.com/en/enterprise-server@2.22/rest/reference/checks#get-a-check-run)." - }, - "check_run[status]": { - "type": "string", - "description": "The current status of the check run. Can be `queued`, `in_progress`, or `completed`." - }, - "check_run[conclusion]": { - "type": "string", - "description": "The result of the completed check run. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has `completed`." - }, - "check_run[name]": { - "type": "string", - "description": "The name of the check run." - }, - "check_run[check_suite][id]": { - "type": "integer", - "description": "The id of the check suite that this check run is part of." - }, - "check_run[check_suite][pull_requests]": { - "type": "array", - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty." - }, - "requested_action": { - "type": "object", - "description": "The action requested by the user." - }, - "requested_action[identifier]": { - "type": "string", - "description": "The integrator reference of the action requested by the user." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "check_run": { - "id": 2, - "node_id": "MDg6Q2hlY2tSdW4y", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "external_id": "", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2", - "details_url": "https://octocoders.io", - "status": "queued", - "conclusion": null, - "started_at": "2019-05-15T19:39:04Z", - "completed_at": null, - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "queued", - "conclusion": null, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "completed", - "check_run": { - "id": 2, - "node_id": "MDg6Q2hlY2tSdW4y", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "external_id": "", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2", - "details_url": "https://octocoders.io", - "status": "completed", - "conclusion": "success", - "started_at": "2019-05-15T19:39:04Z", - "completed_at": "2019-05-15T19:39:04Z", - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "queued", - "conclusion": null, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "check_run": { - "id": 2, - "node_id": "MDg6Q2hlY2tSdW4y", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "external_id": "", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2", - "details_url": "https://octocoders.io", - "status": "queued", - "conclusion": null, - "started_at": "2019-05-15T19:39:04Z", - "completed_at": null, - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "queued", - "conclusion": null, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "check_suite", - "description": "Check suite activity has occurred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[check suites](https://docs.github.com/en/enterprise-server@2.22/rest/reference/checks#suites)\" REST API.", - "actions": ["completed", "requested", "rerequested"], - "properties": { - "check_suite": { - "type": "object", - "description": "The [check\\_suite](https://docs.github.com/en/enterprise-server@2.22/rest/reference/checks#suites)." - }, - "check_suite[head_branch]": { - "type": "string", - "description": "The head branch name the changes are on." - }, - "check_suite[head_sha]": { - "type": "string", - "description": "The SHA of the most recent commit for this check suite." - }, - "check_suite[status]": { - "type": "string", - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`." - }, - "check_suite[conclusion]": { - "type": "string", - "description": "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has `completed`." - }, - "check_suite[url]": { - "type": "string", - "description": "URL that points to the check suite API resource." - }, - "check_suite[pull_requests]": { - "type": "array", - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "completed", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "completed", - "conclusion": "success", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:39:09Z", - "latest_check_runs_count": 1, - "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs", - "head_commit": { - "id": "14977a7b5485400124827221a04bfb474bcd72d1", - "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea", - "message": "Update README.md", - "timestamp": "2019-05-15T19:38:01Z", - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - }, - "committer": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - } - } - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "completed", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "completed", - "conclusion": "success", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:39:09Z", - "latest_check_runs_count": 1, - "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs", - "head_commit": { - "id": "14977a7b5485400124827221a04bfb474bcd72d1", - "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea", - "message": "Update README.md", - "timestamp": "2019-05-15T19:38:01Z", - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - }, - "committer": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - } - } - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "requested", - "check_suite": { - "id": 10, - "node_id": "MDEwOkNoZWNrU3VpdGUxMA==", - "head_branch": "master", - "head_sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "status": "queued", - "conclusion": null, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/10", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "pull_requests": [], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z", - "latest_check_runs_count": 0, - "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/10/check-runs", - "head_commit": { - "id": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "tree_id": "c3e6e174b68ce629340ca817d52393dcf0aed707", - "message": "Add new gemfile", - "timestamp": "2019-05-15T19:38:01Z", - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - }, - "committer": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - } - } - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "rerequested", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "completed", - "conclusion": "success", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:39:09Z", - "latest_check_runs_count": 1, - "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs", - "head_commit": { - "id": "14977a7b5485400124827221a04bfb474bcd72d1", - "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea", - "message": "Update README.md", - "timestamp": "2019-05-15T19:38:01Z", - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - }, - "committer": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - } - } - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "octocoders-linter[bot]", - "id": 14, - "node_id": "MDM6Qm90MTQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "followers_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/followers", - "following_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/repos", - "events_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/received_events", - "type": "Bot", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "code_scanning_alert", - "description": "Activity related to code scanning alerts in a repository. The type of activity is specified in the action property of the payload object. For more information, see \"[About code scanning](https://docs.github.com/en/enterprise-server@2.22/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning).\"", - "actions": [ - "appeared_in_branch", - "closed_by_user", - "created", - "fixed", - "reopened", - "reopened_by_user" - ], - "properties": { - "alert": { - "type": "object", - "description": "The code scanning alert involved in the event." - }, - "ref": { - "type": "string", - "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty." - }, - "commit_oid": { - "type": "string", - "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "If the `action` is `reopened_by_user` or `closed_by_user`, the `sender` object will be the user that triggered the event. The `sender` object is empty for all other actions." - } - }, - "examples": [ - { - "action": "reopened", - "alert": { - "number": 10, - "created_at": "2020-07-22T14:06:31Z", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/code-scanning/alerts/10", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/security/code-scanning/10", - "instances": [ - { - "ref": "refs/heads/main", - "analysis_key": ".github/workflows/workflow.yml:upload", - "environment": "{}", - "state": "open" - } - ], - "state": "open", - "dismissed_by": null, - "dismissed_at": null, - "dismissed_reason": null, - "rule": { - "id": "Style/FrozenStringLiteralComment", - "severity": "note", - "description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default." - }, - "tool": { "name": "Rubocop", "version": null } - }, - "ref": "refs/heads/main", - "commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795", - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:19:27Z", - "pushed_at": "2019-05-15T15:20:32Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "main" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - } - }, - { - "action": "reopened", - "alert": { - "number": 10, - "created_at": "2020-07-22T14:06:31Z", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/code-scanning/alerts/10", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/security/code-scanning/10", - "instances": [ - { - "ref": "refs/heads/main", - "analysis_key": ".github/workflows/workflow.yml:upload", - "environment": "{}", - "state": "open" - } - ], - "state": "open", - "dismissed_by": null, - "dismissed_at": null, - "dismissed_reason": null, - "rule": { - "id": "Style/FrozenStringLiteralComment", - "severity": "note", - "description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default." - }, - "tool": { "name": "Rubocop", "version": null } - }, - "ref": "refs/heads/main", - "commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795", - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:19:27Z", - "pushed_at": "2019-05-15T15:20:32Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "main" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - } - } - ] - }, - { - "name": "commit_comment", - "description": "A commit comment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[commit comment](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#comments)\" REST API.", - "actions": ["created"], - "properties": { - "comment": { - "type": "object", - "description": "The [commit comment](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-commit-comment) resource." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78#commitcomment-2", - "id": 2, - "node_id": "MDEzOkNvbW1pdENvbW1lbnQy", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "position": null, - "line": null, - "path": null, - "commit_id": "4544205a385319fd846d5df4ed2e3b8173529d78", - "created_at": "2019-05-15T19:38:09Z", - "updated_at": "2019-05-15T19:38:09Z", - "author_association": "OWNER", - "body": "This is a really good change! :+1:" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78#commitcomment-2", - "id": 2, - "node_id": "MDEzOkNvbW1pdENvbW1lbnQy", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "position": null, - "line": null, - "path": null, - "commit_id": "4544205a385319fd846d5df4ed2e3b8173529d78", - "created_at": "2019-05-15T19:38:09Z", - "updated_at": "2019-05-15T19:38:09Z", - "author_association": "OWNER", - "body": "This is a really good change! :+1:" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "content_reference", - "description": "A new content reference is `created`. A new content reference is created when the body or comment of an issue or pull request includes a URL that matches a configured content reference domain. For more information, see \"[Using content attachments](https://docs.github.com/en/enterprise-server@2.22/apps/using-content-attachments)\" to learn more about content references and attachments.\n\nWebhook events are triggered based on the specificity of the domain you register. For example, if you register a subdomain (`https://subdomain.example.com`) then only URLs for the subdomain trigger this event. If you register a domain (`https://example.com`) then URLs for domain and all subdomains trigger this event. See \"[Create a content attachment](https://docs.github.com/en/enterprise-server@2.22/rest/reference/apps#create-a-content-attachment)\" to create a new content attachment.", - "properties": {}, - "actions": [], - "examples": [ - { - "action": "created", - "content_reference": { - "id": 17, - "node_id": "MDE2OkNvbnRlbnRSZWZlcmVuY2UxNjA5", - "reference": "https://errors.ai/" - }, - "repository": { - "id": 145551601, - "node_id": "MDEwOlJlcG9zaXRvcnkxNDU1NTE2MDE=", - "name": "hello-world", - "full_name": "octocoders/hello-world", - "private": true, - "owner": { - "login": "Codertocat", - "id": 7718702, - "node_id": "MDQ6VXNlcjc3MTg3MDI=", - "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": true - }, - "html_url": "https://github.com/Codertocat/hello-world", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/hello-world", - "forks_url": "https://api.github.com/repos/Codertocat/hello-world/forks", - "keys_url": "https://api.github.com/repos/Codertocat/hello-world/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/hello-world/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/hello-world/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/hello-world/events", - "assignees_url": "https://api.github.com/repos/Codertocat/hello-world/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/hello-world/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/hello-world/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/hello-world/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/hello-world/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/hello-world/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/hello-world/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/hello-world/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/hello-world/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/hello-world/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/hello-world/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/hello-world/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/hello-world/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/hello-world/merges", - "archive_url": "https://api.github.com/repos/Codertocat/hello-world/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/hello-world/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/hello-world/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/hello-world/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/hello-world/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/hello-world/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/hello-world/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/hello-world/deployments", - "created_at": "2018-08-21T10:58:58Z", - "updated_at": "2018-08-21T10:59:01Z", - "pushed_at": "2018-08-21T10:59:00Z", - "git_url": "git://github.com/Codertocat/hello-world.git", - "ssh_url": "git@github.com:Codertocat/hello-world.git", - "clone_url": "https://github.com/Codertocat/hello-world.git", - "svn_url": "https://github.com/Codertocat/hello-world", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 7718702, - "node_id": "MDQ6VXNlcjc3MTg3MDI=", - "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": true - }, - "installation": { - "id": 371641, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzcxNjQx" - } - } - ] - }, - { - "name": "create", - "description": "A Git branch or tag is created. For more information, see the \"[Git data](https://docs.github.com/en/enterprise-server@2.22/rest/reference/git)\" REST API.", - "actions": [], - "properties": { - "ref": { - "type": "string", - "description": "The [`git ref`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/git#get-a-reference) resource." - }, - "ref_type": { - "type": "string", - "description": "The type of Git ref object created in the repository. Can be either `branch` or `tag`." - }, - "master_branch": { - "type": "string", - "description": "The name of the repository's default branch (usually `master`)." - }, - "description": { - "type": "string", - "description": "The repository's current description." - }, - "pusher_type": { - "type": "string", - "description": "The pusher type for the event. Can be either `user` or a deploy key." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "ref": "simple-tag", - "ref_type": "tag", - "master_branch": "master", - "description": null, - "pusher_type": "user", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:22Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "ref": "simple-tag", - "ref_type": "tag", - "master_branch": "master", - "description": null, - "pusher_type": "user", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:22Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "delete", - "description": "A Git branch or tag is deleted. For more information, see the \"[Git data](https://docs.github.com/en/enterprise-server@2.22/rest/reference/git)\" REST API.", - "actions": [], - "properties": { - "ref": { - "type": "string", - "description": "The [`git ref`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/git#get-a-reference) resource." - }, - "ref_type": { - "type": "string", - "description": "The type of Git ref oject deleted in the repository. Can be `branch` or `tag`." - }, - "pusher_type": { - "type": "string", - "description": "The pusher type for the event. Can be either `user` or a deploy key." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "ref": "simple-tag", - "ref_type": "tag", - "pusher_type": "user", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "ref": "simple-tag", - "ref_type": "tag", - "pusher_type": "user", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "deploy_key", - "description": "A deploy key is added or removed from a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[Deploy keys](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#keys)\" REST API.", - "properties": { - "key": { - "type": "object", - "description": "The [`deploy key`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-deploy-key) resource." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "actions": ["created", "deleted"], - "examples": [ - { - "action": "created", - "key": { - "id": 100, - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQConScVc7ouWWgwcjneNnJ4PScDkkwEjuDL5leLIUU5aIg13dH55/f4aqKUSvfcLUOKJ0a8073tFqMbR9rfvLAhLGeStKxmYApJXpzVkphauu7kfNW8kQNi1fI4kmHyOpQ+dKtoonzjZAT4L9AV3FlVTOfRq3U8wJ2RPwU+4EtOpMKUF+wcoDJ5ONlKBOW6uAeBt/guBiu6r3awDClDGRo4Q2YCmMceiAyoiuXcr2mFNSyzTqU1f20fftFwucV/VqnxlJjZvZ/zhlfB+v+UgQN11pJJ5vChZ7bzyRtIRRsjxbTReyWxqVZ5hEle5sm1oAR97abW9zTWfwIABgClKo+z", - "url": "https://api.github.com/repos/Codertocat/Hello-World/keys/100", - "title": "hey-its-a-deploy-key", - "verified": true, - "created_at": "2019-04-02T17:37:07Z", - "read_only": true - }, - "repository": { - "id": 135493233, - "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2018-05-30T20:18:04Z", - "updated_at": "2018-05-30T20:18:50Z", - "pushed_at": "2018-05-30T20:18:48Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "deployment", - "description": "A deployment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[deployment](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#list-deployments)\" REST API.", - "actions": ["created"], - "properties": { - "deployment": { - "type": "object", - "description": "The [deployment](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#list-deployments)." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "deployment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "id": 2, - "node_id": "MDEwOkRlcGxveW1lbnQy", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "ref": "master", - "task": "deploy", - "payload": {}, - "original_environment": "production", - "environment": "production", - "description": null, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:20Z", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "deployment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "id": 2, - "node_id": "MDEwOkRlcGxveW1lbnQy", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "ref": "master", - "task": "deploy", - "payload": {}, - "original_environment": "production", - "environment": "production", - "description": null, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:20Z", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "deployment_status", - "description": "A deployment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[deployment statuses](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#list-deployment-statuses)\" REST API.", - "actions": ["created"], - "properties": { - "deployment_status": { - "type": "object", - "description": "The [deployment status](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#list-deployment-statuses)." - }, - "deployment_status[\"state\"]": { - "type": "string", - "description": "The new state. Can be `pending`, `success`, `failure`, or `error`." - }, - "deployment_status[\"target_url\"]": { - "type": "string", - "description": "The optional link added to the status." - }, - "deployment_status[\"description\"]": { - "type": "string", - "description": "The optional human-readable description added to the status." - }, - "deployment": { - "type": "object", - "description": "The [deployment](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#list-deployments) that this status is associated with." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "deployment_status": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2", - "id": 2, - "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy", - "state": "success", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "description": "", - "environment": "production", - "target_url": "", - "created_at": "2019-05-15T19:38:21Z", - "updated_at": "2019-05-15T19:38:21Z", - "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, - "deployment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "id": 2, - "node_id": "MDEwOkRlcGxveW1lbnQy", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "ref": "master", - "task": "deploy", - "payload": {}, - "original_environment": "production", - "environment": "production", - "description": null, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:21Z", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "deployment_status": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2", - "id": 2, - "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy", - "state": "success", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "description": "", - "environment": "production", - "target_url": "", - "created_at": "2019-05-15T19:38:21Z", - "updated_at": "2019-05-15T19:38:21Z", - "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, - "deployment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "id": 2, - "node_id": "MDEwOkRlcGxveW1lbnQy", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "ref": "master", - "task": "deploy", - "payload": {}, - "original_environment": "production", - "environment": "production", - "description": null, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:21Z", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "enterprise", - "description": "A site or repository administrator enables or disables anonymous Git read access. See \"[Allowing admins to enable anonymous Git read access to public repositories](https://docs.github.com/en/enterprise-server@2.22/admin/user-management/allowing-admins-to-enable-anonymous-git-read-access-to-public-repositories)\" for more details. This event is not available in the Events API.", - "actions": ["anonymous_access_disabled", "anonymous_access_enabled"], - "properties": {}, - "examples": [ - { - "action": "anonymous_access_enabled", - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": true - } - }, - { - "action": "anonymous_access_enabled", - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": true - } - } - ] - }, - { - "name": "fork", - "description": "A user forks a repository. For more information, see the \"[forks](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#forks)\" REST API.", - "actions": [], - "properties": { - "forkee": { - "type": "object", - "description": "The created [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) resource." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "forkee": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master", - "public": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "forkee": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master", - "public": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "github_app_authorization", - "description": "When someone revokes their authorization of a GitHub App, this event occurs. A GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about user-to-server requests, which require GitHub App authorization, see \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/en/enterprise-server@2.22/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps).\"", - "properties": { - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "actions": ["revoked"], - "examples": [ - { - "action": "revoked", - "sender": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "gollum", - "description": "A wiki page is created or updated. For more information, see the \"[About wikis](https://docs.github.com/en/enterprise-server@2.22/communities/documenting-your-project-with-wikis/about-wikis)\".", - "actions": [], - "properties": { - "pages": { - "type": "array", - "description": "The pages that were updated." - }, - "pages[][page_name]": { - "type": "string", - "description": "The name of the page." - }, - "pages[][title]": { - "type": "string", - "description": "The current page title." - }, - "pages[][action]": { - "type": "string", - "description": "The action that was performed on the page. Can be `created` or `edited`." - }, - "pages[][sha]": { - "type": "string", - "description": "The latest commit SHA of the page." - }, - "pages[][html_url]": { - "type": "string", - "description": "Points to the HTML wiki page." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "pages": [ - { - "page_name": "Home", - "title": "Home", - "summary": null, - "action": "edited", - "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home" - } - ], - "repository": { - "id": 122, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2018-10-04T18:29:19Z", - "updated_at": "2018-10-04T18:29:21Z", - "pushed_at": "2018-10-04T18:29:59Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "rachmari", - "id": 3, - "node_id": "MDQ6VXNlcjM=", - "avatar_url": "https://avatars.octocoders.github.io/u/3?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/rachmari", - "html_url": "https://octocoders.github.io/rachmari", - "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers", - "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos", - "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events", - "type": "User", - "site_admin": true - } - }, - { - "pages": [ - { - "page_name": "Home", - "title": "Home", - "summary": null, - "action": "edited", - "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home" - } - ], - "repository": { - "id": 122, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2018-10-04T18:29:19Z", - "updated_at": "2018-10-04T18:29:21Z", - "pushed_at": "2018-10-04T18:29:59Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "rachmari", - "id": 3, - "node_id": "MDQ6VXNlcjM=", - "avatar_url": "https://avatars.octocoders.github.io/u/3?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/rachmari", - "html_url": "https://octocoders.github.io/rachmari", - "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers", - "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos", - "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events", - "type": "User", - "site_admin": true - } - } - ] - }, - { - "name": "installation", - "description": "Activity related to a GitHub App installation. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[GitHub App installation](https://docs.github.com/en/enterprise-server@2.22/rest/reference/apps)\" REST API.", - "actions": [ - "created", - "deleted", - "new_permissions_accepted", - "suspend", - "unsuspend" - ], - "properties": { - "repositories": { - "type": "array", - "description": "An array of repository objects that the installation can access." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "deleted", - "installation": { - "id": 5, - "account": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", - "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository_selection": "selected", - "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens", - "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "repository_pre_receive_hooks": "write", - "metadata": "read", - "vulnerability_alerts": "read" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ], - "created_at": "2019-05-15T19:37:38.000Z", - "updated_at": "2019-05-15T19:37:38.000Z", - "single_file_name": null - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", - "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "created", - "installation": { - "id": 5, - "account": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository_selection": "selected", - "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", - "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", - "html_url": "https://octocoders.github.io/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "repository_pre_receive_hooks": "write", - "metadata": "read", - "vulnerability_alerts": "read" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ], - "created_at": 1557949058, - "updated_at": 1557949058, - "single_file_name": null - }, - "repositories": [ - { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false - } - ], - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "deleted", - "installation": { - "id": 5, - "account": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", - "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository_selection": "selected", - "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens", - "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "repository_pre_receive_hooks": "write", - "metadata": "read", - "vulnerability_alerts": "read" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ], - "created_at": "2019-05-15T19:37:38.000Z", - "updated_at": "2019-05-15T19:37:38.000Z", - "single_file_name": null - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", - "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "installation_repositories", - "description": "Activity related to repositories being added to a GitHub App installation. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[GitHub App installation](https://docs.github.com/en/enterprise-server@2.22/rest/reference/apps)\" REST API.", - "actions": ["added", "removed"], - "properties": { - "repository_selection": { - "type": "string", - "description": "The choice of repositories the installation is on. Can be either `selected` or `all`." - }, - "repositories_added": { - "type": "array", - "description": "An array of repository objects, which were added to the installation." - }, - "repositories_removed": { - "type": "array", - "description": "An array of repository objects, which were removed from the installation." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "added", - "installation": { - "id": 5, - "account": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository_selection": "selected", - "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", - "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", - "html_url": "https://octocoders.github.io/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "repository_pre_receive_hooks": "write", - "statuses": "write", - "repository_projects": "write", - "repository_hooks": "write", - "pull_requests": "write", - "pages": "write", - "issues": "write", - "deployments": "write", - "contents": "write", - "checks": "write", - "vulnerability_alerts": "read", - "metadata": "read" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ], - "created_at": 1557949058, - "updated_at": 1557949058, - "single_file_name": null - }, - "repository_selection": "selected", - "repositories_added": [ - { - "id": 119, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", - "name": "Space", - "full_name": "Codertocat/Space", - "private": false - } - ], - "repositories_removed": [], - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "added", - "installation": { - "id": 5, - "account": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository_selection": "selected", - "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", - "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", - "html_url": "https://octocoders.github.io/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "repository_pre_receive_hooks": "write", - "statuses": "write", - "repository_projects": "write", - "repository_hooks": "write", - "pull_requests": "write", - "pages": "write", - "issues": "write", - "deployments": "write", - "contents": "write", - "checks": "write", - "vulnerability_alerts": "read", - "metadata": "read" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ], - "created_at": 1557949058, - "updated_at": 1557949058, - "single_file_name": null - }, - "repository_selection": "selected", - "repositories_added": [ - { - "id": 119, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", - "name": "Space", - "full_name": "Codertocat/Space", - "private": false - } - ], - "repositories_removed": [], - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "removed", - "installation": { - "id": 5, - "account": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository_selection": "selected", - "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", - "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", - "html_url": "https://octocoders.github.io/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "repository_pre_receive_hooks": "write", - "metadata": "read", - "vulnerability_alerts": "read" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ], - "created_at": "2019-05-15T19:37:38.000Z", - "updated_at": "2019-05-15T19:37:38.000Z", - "single_file_name": null - }, - "repository_selection": "selected", - "repositories_added": [], - "repositories_removed": [ - { - "id": 119, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", - "name": "Space", - "full_name": "Codertocat/Space", - "private": false - } - ], - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "issue_comment", - "description": "Activity related to an issue or pull request comment. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[issue comments](https://docs.github.com/en/enterprise-server@2.22/rest/reference/issues#comments)\" REST API.", - "actions": ["created", "deleted", "edited"], - "properties": { - "changes": { - "type": "object", - "description": "The changes to the comment if the action was `edited`." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "issue": { - "type": "object", - "description": "The [issue](https://docs.github.com/en/enterprise-server@2.22/rest/reference/issues) the comment belongs to." - }, - "comment": { - "type": "object", - "description": "The [comment](https://docs.github.com/en/enterprise-server@2.22/rest/reference/issues#comments) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:55Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:55Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed right away." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:55Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:55Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed right away." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "deleted", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 1, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:56Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:56Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed today." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "edited", - "changes": { - "body": { - "from": "You are totally right! I'll get this fixed right away." - } - }, - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 1, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:56Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:56Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed today." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "issues", - "description": "Activity related to an issue. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[issues](https://docs.github.com/en/enterprise-server@2.22/rest/reference/issues#comments)\" REST API.", - "actions": [ - "assigned", - "closed", - "deleted", - "demilestoned", - "edited", - "labeled", - "locked", - "milestoned", - "opened", - "pinned", - "reopened", - "transferred", - "unassigned", - "unlabeled", - "unlocked", - "unpinned" - ], - "properties": { - "issue": { - "type": "object", - "description": "The [issue](https://docs.github.com/en/enterprise-server@2.22/rest/reference/issues) itself." - }, - "changes": { - "type": "object", - "description": "The changes to the issue if the action was `edited`." - }, - "changes[title][from]": { - "type": "string", - "description": "The previous version of the title if the action was `edited`." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "assignee": { - "type": "object", - "description": "The optional user who was assigned or unassigned from the issue." - }, - "label": { - "type": "object", - "description": "The optional label that was added or removed from the issue." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "edited", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:54Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "changes": {}, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "assigned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:53Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "demilestoned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "id": 11, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "number": 2, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:05Z", - "closed_at": null, - "author_association": "OWNER", - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch" - }, - "body": "This is a pretty simple change that we need to pull into master." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "edited", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:54Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "changes": {}, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "labeled", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:54Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "milestoned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "id": 11, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "number": 2, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:38:04Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:04Z", - "closed_at": null, - "author_association": "OWNER", - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch" - }, - "body": "This is a pretty simple change that we need to pull into master." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "opened", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:53Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "unassigned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:57Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "unlabeled", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:58Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "label", - "description": "Activity related to a label. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[labels](https://docs.github.com/en/enterprise-server@2.22/rest/reference/issues#labels)\" REST API.", - "actions": ["created", "deleted", "edited"], - "properties": { - "label": { "type": "object", "description": "The label that was added." }, - "changes": { - "type": "object", - "description": "The changes to the label if the action was `edited`." - }, - "changes[name][from]": { - "type": "string", - "description": "The previous version of the name if the action was `edited`." - }, - "changes[color][from]": { - "type": "string", - "description": "The previous version of the color if the action was `edited`." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "deleted", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cceeaa", - "default": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cb1f00", - "default": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "deleted", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cceeaa", - "default": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "edited", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cceeaa", - "default": false - }, - "changes": { "color": { "from": "cb1f00" } }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "member", - "description": "Activity related to repository collaborators. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[collaborators](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#collaborators)\" REST API.", - "actions": ["added", "edited", "removed"], - "properties": { - "member": { - "type": "object", - "description": "The [user](https://docs.github.com/en/enterprise-server@2.22/rest/reference/users) that was added." - }, - "changes": { - "type": "object", - "description": "The changes to the collaborator permissions if the action was `edited`." - }, - "changes[old_permission][from]": { - "type": "string", - "description": "The previous permissions of the collaborator if the action was `edited`." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "added", - "member": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "added", - "member": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "membership", - "description": "Activity related to team membership. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[team members](https://docs.github.com/en/enterprise-server@2.22/rest/reference/teams#members)\" REST API.", - "actions": ["added", "removed"], - "properties": { - "scope": { - "type": "string", - "description": "The scope of the membership. Currently, can only be `team`." - }, - "member": { - "type": "object", - "description": "The [user](https://docs.github.com/en/enterprise-server@2.22/rest/reference/users) that was added or removed." - }, - "team": { - "type": "object", - "description": "The [team](https://docs.github.com/en/enterprise-server@2.22/rest/reference/teams) for the membership." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "removed", - "scope": "team", - "member": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - } - }, - { - "action": "added", - "scope": "team", - "member": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - } - }, - { - "action": "removed", - "scope": "team", - "member": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - } - } - ] - }, - { - "name": "meta", - "description": "The webhook this event is configured on was deleted. This event will only listen for changes to the particular hook the event is installed on. Therefore, it must be selected for each hook that you'd like to receive meta events for.", - "properties": { - "hook_id": { - "type": "integer", - "description": "The id of the modified webhook." - }, - "hook": { - "type": "object", - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "actions": ["deleted"], - "examples": [ - { - "action": "deleted", - "hook_id": 101047067, - "hook": { - "type": "Repository", - "id": 101047067, - "name": "web", - "active": true, - "events": ["meta"], - "config": { - "content_type": "json", - "insecure_ssl": "0", - "url": "http://example.com/hook" - }, - "updated_at": "2019-04-10T03:57:12Z", - "created_at": "2019-04-10T03:57:12Z" - }, - "repository": { - "id": 135493233, - "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2018-05-30T20:18:04Z", - "updated_at": "2018-05-30T20:18:50Z", - "pushed_at": "2018-05-30T20:18:48Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "milestone", - "description": "Activity related to milestones. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[milestones](https://docs.github.com/en/enterprise-server@2.22/rest/reference/issues#milestones)\" REST API.", - "actions": ["closed", "created", "deleted", "edited", "opened"], - "properties": { - "milestone": { "type": "object", "description": "The milestone itself." }, - "changes": { - "type": "object", - "description": "The changes to the milestone if the action was `edited`." - }, - "changes[description][from]": { - "type": "string", - "description": "The previous version of the description if the action was `edited`." - }, - "changes[due_on][from]": { - "type": "string", - "description": "The previous version of the due date if the action was `edited`." - }, - "changes[title][from]": { - "type": "string", - "description": "The previous version of the title if the action was `edited`." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, - "state": "open", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:52Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": null - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "closed", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, - "state": "open", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:52Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": null - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "deleted", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:38:05Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "organization", - "description": "Activity related to an organization and its members. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[organizations](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs)\" REST API.", - "actions": [ - "created", - "deleted", - "member_added", - "member_invited", - "member_removed", - "renamed" - ], - "properties": { - "invitation": { - "type": "object", - "description": "The invitation for the user or email if the action is `member_invited`." - }, - "membership": { - "type": "object", - "description": "The membership between the user and the organization. Not present when the action is `member_invited`." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "member_added", - "membership": { - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat", - "state": "active", - "role": "member", - "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "user": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "member_added", - "membership": { - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat", - "state": "active", - "role": "member", - "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "user": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "member_removed", - "membership": { - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat", - "state": "inactive", - "role": "unaffiliated", - "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "user": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "page_build", - "description": "Represents an attempted build of a GitHub Pages site, whether successful or not. A push to a GitHub Pages enabled branch (`gh-pages` for project pages, the default branch for user and organization pages) triggers this event.", - "actions": [], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the page build." - }, - "build": { - "type": "object", - "description": "The [List GitHub Pages builds](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#list-github-pages-builds) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "id": 7, - "build": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7", - "status": "built", - "error": { "message": null }, - "pusher": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "commit": "3648135c2986115284ae152d90459473b15fd19c", - "duration": 6917, - "created_at": "2019-05-15T19:38:15Z", - "updated_at": "2019-05-15T19:38:22Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "id": 7, - "build": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7", - "status": "built", - "error": { "message": null }, - "pusher": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "commit": "3648135c2986115284ae152d90459473b15fd19c", - "duration": 6917, - "created_at": "2019-05-15T19:38:15Z", - "updated_at": "2019-05-15T19:38:22Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "ping", - "description": "When you create a new webhook, we'll send you a simple `ping` event to let you know you've set up the webhook correctly. This event isn't stored so it isn't retrievable via the [Events API](https://docs.github.com/en/enterprise-server@2.22/rest/reference/activity#ping-a-repository-webhook) endpoint.", - "actions": [], - "properties": { - "zen": { - "type": "string", - "description": "Random string of GitHub zen." - }, - "hook_id": { - "type": "integer", - "description": "The ID of the webhook that triggered the ping." - }, - "hook": { - "type": "object", - "description": "The [webhook configuration](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository-webhook)." - }, - "hook[app_id]": { - "type": "integer", - "description": "When you register a new GitHub App, GitHub Enterprise Server sends a ping event to the **webhook URL** you specified during registration. The event contains the `app_id`, which is required for [authenticating](https://docs.github.com/en/enterprise-server@2.22/apps/building-integrations/setting-up-and-registering-github-apps/about-authentication-options-for-github-apps) an app." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "zen": "Non-blocking is better than blocking.", - "hook_id": 30, - "hook": { - "type": "Repository", - "id": 30, - "name": "web", - "active": true, - "events": ["*"], - "config": { - "content_type": "json", - "url": "https://smee.io/YEbF2t8kjvPAn7Ck", - "insecure_ssl": "0" - }, - "updated_at": "2019-05-15T19:38:17Z", - "created_at": "2019-05-15T19:38:17Z", - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30", - "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test", - "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings", - "last_response": { "code": null, "status": "unused", "message": null } - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "zen": "Non-blocking is better than blocking.", - "hook_id": 30, - "hook": { - "type": "Repository", - "id": 30, - "name": "web", - "active": true, - "events": ["*"], - "config": { - "content_type": "json", - "url": "https://smee.io/YEbF2t8kjvPAn7Ck", - "insecure_ssl": "0" - }, - "updated_at": "2019-05-15T19:38:17Z", - "created_at": "2019-05-15T19:38:17Z", - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30", - "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test", - "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings", - "last_response": { "code": null, "status": "unused", "message": null } - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "project_card", - "description": "Activity related to project cards. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[project cards](https://docs.github.com/en/enterprise-server@2.22/rest/reference/projects#cards)\" REST API.", - "actions": ["converted", "created", "deleted", "edited", "moved"], - "properties": { - "changes": { - "type": "object", - "description": "The changes to the project card if the action was `edited` or `converted`." - }, - "changes[note][from]": { - "type": "string", - "description": "The previous version of the note if the action was `edited` or `converted`." - }, - "after_id": { - "type": "integer", - "description": "The id of the card that this card now follows if the action was \"moved\". Will be `null` if it is the first card in a column." - }, - "project_card": { - "type": "object", - "description": "The [project card](https://docs.github.com/en/enterprise-server@2.22/rest/reference/projects#cards) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "project_card": { - "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8", - "project_url": "https://octocoders.github.io/api/v3/projects/6", - "column_url": "https://octocoders.github.io/api/v3/projects/columns/8", - "column_id": 8, - "id": 8, - "node_id": "MDExOlByb2plY3RDYXJkOA==", - "note": "Work that can be completed in one hour or less.", - "archived": false, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:39:01Z", - "updated_at": "2019-05-15T19:39:01Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "created", - "project_card": { - "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8", - "project_url": "https://octocoders.github.io/api/v3/projects/6", - "column_url": "https://octocoders.github.io/api/v3/projects/columns/8", - "column_id": 8, - "id": 8, - "node_id": "MDExOlByb2plY3RDYXJkOA==", - "note": "Work that can be completed in one hour or less.", - "archived": false, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:39:01Z", - "updated_at": "2019-05-15T19:39:01Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "project_column", - "description": "Activity related to columns in a project board. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[project columns](https://docs.github.com/en/enterprise-server@2.22/rest/reference/projects#columns)\" REST API.", - "actions": ["created", "deleted", "edited", "moved"], - "properties": { - "changes": { - "type": "object", - "description": "The changes to the project column if the action was `edited`." - }, - "changes[name][from]": { - "type": "string", - "description": "The previous version of the name if the action was `edited`." - }, - "after_id": { - "type": "integer", - "description": "The id of the column that this column now follows if the action was \"moved\". Will be `null` if it is the first column in a project." - }, - "project_column": { - "type": "object", - "description": "The [project column](https://docs.github.com/en/enterprise-server@2.22/rest/reference/projects#columns) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "project_column": { - "url": "https://octocoders.github.io/api/v3/projects/columns/8", - "project_url": "https://octocoders.github.io/api/v3/projects/6", - "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards", - "id": 8, - "node_id": "MDEzOlByb2plY3RDb2x1bW44", - "name": "Small bugfixes", - "created_at": "2019-05-15T19:39:01Z", - "updated_at": "2019-05-15T19:39:01Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "project_column": { - "url": "https://octocoders.github.io/api/v3/projects/columns/8", - "project_url": "https://octocoders.github.io/api/v3/projects/6", - "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards", - "id": 8, - "node_id": "MDEzOlByb2plY3RDb2x1bW44", - "name": "Small bugfixes", - "created_at": "2019-05-15T19:39:01Z", - "updated_at": "2019-05-15T19:39:01Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "project", - "description": "Activity related to project boards. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[projects](https://docs.github.com/en/enterprise-server@2.22/rest/reference/projects)\" REST API.", - "actions": ["closed", "created", "deleted", "edited", "reopened"], - "properties": { - "changes": { - "type": "object", - "description": "The changes to the project if the action was `edited`." - }, - "changes[name][from]": { - "type": "string", - "description": "The previous version of the name if the action was `edited`." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "project": { - "type": "object", - "description": "The [project](https://docs.github.com/en/enterprise-server@2.22/rest/reference/projects) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "project": { - "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "url": "https://octocoders.github.io/api/v3/projects/6", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1", - "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns", - "id": 6, - "node_id": "MDc6UHJvamVjdDY=", - "name": "Space 2.0", - "body": "Project tasks for a trip to Space", - "number": 1, - "state": "open", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "project": { - "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "url": "https://octocoders.github.io/api/v3/projects/6", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1", - "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns", - "id": 6, - "node_id": "MDc6UHJvamVjdDY=", - "name": "Space 2.0", - "body": "Project tasks for a trip to Space", - "number": 1, - "state": "open", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "public", - "description": "When a private repository is made public. Without a doubt: the best GitHub Enterprise Server event.", - "actions": [], - "properties": { - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "pull_request", - "description": "Activity related to pull requests. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull requests](https://docs.github.com/en/enterprise-server@2.22/rest/reference/pulls)\" REST API.", - "actions": [ - "assigned", - "closed", - "converted_to_draft", - "edited", - "labeled", - "locked", - "merged", - "opened", - "ready_for_review", - "reopened", - "review_request_removed", - "review_requested", - "synchronize", - "unassigned", - "unlabeled", - "unlocked" - ], - "properties": { - "number": { - "type": "integer", - "description": "The pull request number." - }, - "changes": { - "type": "object", - "description": "The changes to the comment if the action was `edited`." - }, - "changes[title][from]": { - "type": "string", - "description": "The previous version of the title if the action was `edited`." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "pull_request": { - "type": "object", - "description": "The [pull request](https://docs.github.com/en/enterprise-server@2.22/rest/reference/pulls) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "opened", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:02Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": null, - "rebaseable": null, - "mergeable_state": "unknown", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "assigned", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:02Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "closed", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "closed", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:39:14Z", - "closed_at": "2019-05-15T19:39:14Z", - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 1, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "labeled", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:05Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "opened", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:02Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": null, - "rebaseable": null, - "mergeable_state": "unknown", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "unassigned", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:05Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "unlabeled", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": true, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:06Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "pull_request_review", - "description": "Activity related to pull request reviews. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull request reviews](https://docs.github.com/en/enterprise-server@2.22/rest/reference/pulls#reviews)\" REST API.", - "actions": ["dismissed", "edited", "submitted"], - "properties": { - "pull_request": { - "type": "object", - "description": "The [pull request](https://docs.github.com/en/enterprise-server@2.22/rest/reference/pulls) the review pertains to." - }, - "review": { - "type": "object", - "description": "The review that was affected." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "submitted", - "review": { - "id": 2, - "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": null, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "submitted_at": "2019-05-15T19:38:08Z", - "state": "commented", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2", - "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "author_association": "OWNER", - "_links": { - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2" - }, - "pull_request": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - } - } - }, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:08Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "submitted", - "review": { - "id": 2, - "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": null, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "submitted_at": "2019-05-15T19:38:08Z", - "state": "commented", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2", - "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "author_association": "OWNER", - "_links": { - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2" - }, - "pull_request": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - } - } - }, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:08Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "pull_request_review_comment", - "description": "Activity related to pull request review comments in the pull request's unified diff. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull request review comments](https://docs.github.com/en/enterprise-server@2.22/rest/reference/pulls#comments)\" REST API.", - "actions": ["created", "deleted", "edited"], - "properties": { - "changes": { - "type": "object", - "description": "The changes to the comment if the action was `edited`." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "pull_request": { - "type": "object", - "description": "The [pull request](https://docs.github.com/en/enterprise-server@2.22/rest/reference/pulls) the comment belongs to." - }, - "comment": { - "type": "object", - "description": "The [comment](https://docs.github.com/en/enterprise-server@2.22/rest/reference/pulls#comments) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2", - "pull_request_review_id": 2, - "id": 2, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=", - "diff_hunk": "@@ -1 +1 @@\n-# Hello-World", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Maybe you should use more emoji on this line.", - "created_at": "2019-05-15T19:38:07Z", - "updated_at": "2019-05-15T19:38:08Z", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2", - "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "author_association": "OWNER", - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2" - }, - "pull_request": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - } - } - }, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:08Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2", - "pull_request_review_id": 2, - "id": 2, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=", - "diff_hunk": "@@ -1 +1 @@\n-# Hello-World", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Maybe you should use more emojji on this line.", - "created_at": "2019-05-15T19:38:07Z", - "updated_at": "2019-05-15T19:38:08Z", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2", - "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "author_association": "OWNER", - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2" - }, - "pull_request": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - } - } - }, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:08Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "push", - "description": "One or more commits are pushed to a repository branch or tag.", - "actions": [], - "properties": { - "ref": { - "type": "string", - "description": "The full [`git ref`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/git#refs) that was pushed. Example: `refs/heads/main` or `refs/tags/v3.14.1`." - }, - "before": { - "type": "string", - "description": "The SHA of the most recent commit on `ref` before the push." - }, - "after": { - "type": "string", - "description": "The SHA of the most recent commit on `ref` after the push." - }, - "created": { - "type": "boolean", - "description": "Whether this push created the `ref`." - }, - "deleted": { - "type": "boolean", - "description": "Whether this push deleted the `ref`." - }, - "forced": { - "type": "boolean", - "description": "Whether this push was a force push of the `ref`." - }, - "head_commit": { - "type": "object", - "description": "For pushes where `after` is or points to a commit object, an expanded representation of that commit. For pushes where `after` refers to an annotated tag object, an expanded representation of the commit pointed to by the annotated tag." - }, - "compare": { - "type": "string", - "description": "URL that shows the changes in this `ref` update, from the `before` commit to the `after` commit. For a newly created `ref` that is directly based on the default branch, this is the comparison between the head of the default branch and the `after` commit. Otherwise, this shows all commits until the `after` commit." - }, - "commits": { - "type": "array", - "description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries." - }, - "commits[][id]": { - "type": "string", - "description": "The SHA of the commit." - }, - "commits[][timestamp]": { - "type": "string", - "description": "The ISO 8601 timestamp of the commit." - }, - "commits[][message]": { - "type": "string", - "description": "The commit message." - }, - "commits[][author]": { - "type": "object", - "description": "The git author of the commit." - }, - "commits[][author][name]": { - "type": "string", - "description": "The git author's name." - }, - "commits[][author][email]": { - "type": "string", - "description": "The git author's email address." - }, - "commits[][url]": { - "type": "url", - "description": "URL that points to the commit API resource." - }, - "commits[][distinct]": { - "type": "boolean", - "description": "Whether this commit is distinct from any that have been pushed before." - }, - "commits[][added]": { - "type": "array", - "description": "An array of files added in the commit." - }, - "commits[][modified]": { - "type": "array", - "description": "An array of files modified by the commit." - }, - "commits[][removed]": { - "type": "array", - "description": "An array of files removed in the commit." - }, - "pusher": { - "type": "object", - "description": "The user who pushed the commits." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "ref": "refs/tags/simple-tag", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "0000000000000000000000000000000000000000", - "created": false, - "deleted": true, - "forced": false, - "base_ref": null, - "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000", - "commits": [], - "head_commit": null, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io", - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": 1557949027, - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": 1557949103, - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "stargazers": 0, - "master_branch": "master" - }, - "pusher": { "name": "Codertocat", "email": "Codertocat@Octocoders.io" }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "ref": "refs/tags/simple-tag", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "0000000000000000000000000000000000000000", - "created": false, - "deleted": true, - "forced": false, - "base_ref": null, - "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000", - "commits": [], - "head_commit": null, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io", - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": 1557949027, - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": 1557949103, - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "stargazers": 0, - "master_branch": "master" - }, - "pusher": { "name": "Codertocat", "email": "Codertocat@Octocoders.io" }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "release", - "description": "Activity related to a release. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[releases](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#releases)\" REST API.", - "actions": [ - "created", - "deleted", - "edited", - "prereleased", - "published", - "released", - "unpublished" - ], - "properties": { - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "changes[name][from]": { - "type": "string", - "description": "The previous version of the name if the action was `edited`." - }, - "release": { - "type": "object", - "description": "The [release](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos/#get-a-release) object." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "published", - "release": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2", - "assets_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2/assets", - "upload_url": "https://octocoders.github.io/api/uploads/repos/Codertocat/Hello-World/releases/2/assets{?name,label}", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/releases/tag/0.0.1", - "id": 2, - "node_id": "MDc6UmVsZWFzZTI=", - "tag_name": "0.0.1", - "target_commitish": "master", - "name": null, - "draft": false, - "author": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "prerelease": false, - "created_at": "2019-05-15T19:37:08Z", - "published_at": "2019-05-15T19:38:20Z", - "assets": [], - "tarball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tarball/0.0.1", - "zipball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/zipball/0.0.1", - "body": null - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "published", - "release": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2", - "assets_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2/assets", - "upload_url": "https://octocoders.github.io/api/uploads/repos/Codertocat/Hello-World/releases/2/assets{?name,label}", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/releases/tag/0.0.1", - "id": 2, - "node_id": "MDc6UmVsZWFzZTI=", - "tag_name": "0.0.1", - "target_commitish": "master", - "name": null, - "draft": false, - "author": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "prerelease": false, - "created_at": "2019-05-15T19:37:08Z", - "published_at": "2019-05-15T19:38:20Z", - "assets": [], - "tarball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tarball/0.0.1", - "zipball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/zipball/0.0.1", - "body": null - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "repository_dispatch", - "description": "This event occurs when a GitHub App sends a `POST` request to the \"[Create a repository dispatch event](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#create-a-repository-dispatch-event)\" endpoint.", - "properties": {}, - "actions": [], - "examples": [ - { - "action": "on-demand-test", - "branch": "master", - "client_payload": {}, - "repository": { - "id": 17273051, - "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==", - "name": "octo-repo", - "full_name": "octo-org/octo-repo", - "private": true, - "owner": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octo-org", - "html_url": "https://github.com/octo-org", - "followers_url": "https://api.github.com/users/octo-org/followers", - "following_url": "https://api.github.com/users/octo-org/following{/other_user}", - "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", - "organizations_url": "https://api.github.com/users/octo-org/orgs", - "repos_url": "https://api.github.com/users/octo-org/repos", - "events_url": "https://api.github.com/users/octo-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/octo-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/octo-org/octo-repo", - "description": "My first repo on GitHub!", - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", - "created_at": "2014-02-28T02:42:51Z", - "updated_at": "2018-10-10T15:58:51Z", - "pushed_at": "2018-10-10T15:58:47Z", - "git_url": "git://github.com/octo-org/octo-repo.git", - "ssh_url": "git@github.com:octo-org/octo-repo.git", - "clone_url": "https://github.com/octo-org/octo-repo.git", - "svn_url": "https://github.com/octo-org/octo-repo", - "homepage": "", - "size": 59, - "stargazers_count": 0, - "watchers_count": 0, - "language": "JavaScript", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "open_issues_count": 23, - "license": null, - "forks": 1, - "open_issues": 23, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "url": "https://api.github.com/orgs/octo-org", - "repos_url": "https://api.github.com/orgs/octo-org/repos", - "events_url": "https://api.github.com/orgs/octo-org/events", - "hooks_url": "https://api.github.com/orgs/octo-org/hooks", - "issues_url": "https://api.github.com/orgs/octo-org/issues", - "members_url": "https://api.github.com/orgs/octo-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "description": "Working better together!" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 375706, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzc1NzA2" - } - } - ] - }, - { - "name": "repository", - "description": "Activity related to a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[repositories](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos)\" REST API.", - "actions": [ - "anonymous_access_disabled", - "anonymous_access_enabled", - "archived", - "created", - "deleted", - "edited", - "privatized", - "publicized", - "renamed", - "transferred", - "unarchived" - ], - "properties": { - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "publicized", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "deleted", - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/6?", - "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World", - "description": null, - "fork": false, - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World", - "forks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:39:36Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World.git", - "ssh_url": "git@rachmari-0a7d40112fe15292b.ghe-test.net:Octocoders/Hello-World.git", - "clone_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World.git", - "svn_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 1, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/events", - "hooks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/hooks", - "issues_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/issues", - "members_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", - "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "privatized", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": true, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:24Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "publicized", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "security_advisory", - "description": "Activity related to a security advisory. A security advisory provides information about security-related vulnerabilities in software on GitHub. The security advisory dataset also powers the GitHub security alerts, see \"[About alerts for vulnerable dependencies](https://docs.github.com/en/enterprise-server@2.22/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies).\"", - "properties": { - "security_advisory": { - "type": "object", - "description": "The details of the security advisory, including summary, description, and severity." - } - }, - "actions": ["performed", "published", "updated", "withdrawn"], - "examples": [ - { - "action": "published", - "security_advisory": { - "ghsa_id": "GHSA-rf4j-j272-fj86", - "summary": "Moderate severity vulnerability that affects django", - "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", - "severity": "moderate", - "identifiers": [ - { "value": "GHSA-rf4j-j272-fj86", "type": "GHSA" }, - { "value": "CVE-2018-6188", "type": "CVE" } - ], - "references": [ - { "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" } - ], - "published_at": "2018-10-03T21:13:54Z", - "updated_at": "2018-10-03T21:13:54Z", - "withdrawn_at": null, - "vulnerabilities": [ - { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "moderate", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { "identifier": "2.0.2" } - }, - { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "moderate", - "vulnerable_version_range": ">= 1.11.8, < 1.11.10", - "first_patched_version": { "identifier": "1.11.10" } - } - ] - } - } - ] - }, - { - "name": "star", - "description": "Activity related to a repository being starred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[starring](https://docs.github.com/en/enterprise-server@2.22/rest/reference/activity#starring)\" REST API.", - "properties": { - "starred_at": { - "type": "string", - "description": "The time the star was created. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "actions": ["created", "deleted"], - "examples": [ - { - "action": "created", - "starred_at": "2019-05-15T15:20:40Z", - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:20:40Z", - "pushed_at": "2019-05-15T15:20:33Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 1, - "watchers_count": 1, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 1, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "status", - "description": "When the status of a Git commit changes. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[statuses](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#statuses)\" REST API.", - "actions": [], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the status." - }, - "sha": { "type": "string", "description": "The Commit SHA." }, - "state": { - "type": "string", - "description": "The new state. Can be `pending`, `success`, `failure`, or `error`." - }, - "description": { - "type": "string", - "description": "The optional human-readable description added to the status." - }, - "target_url": { - "type": "string", - "description": "The optional link added to the status." - }, - "branches": { - "type": "array", - "description": "An array of branch objects containing the status' SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "id": 2, - "sha": "4544205a385319fd846d5df4ed2e3b8173529d78", - "name": "Codertocat/Hello-World", - "target_url": null, - "context": "default", - "description": null, - "state": "success", - "commit": { - "sha": "4544205a385319fd846d5df4ed2e3b8173529d78", - "node_id": "MDY6Q29tbWl0MTE4OjQ1NDQyMDVhMzg1MzE5ZmQ4NDZkNWRmNGVkMmUzYjgxNzM1MjlkNzg=", - "commit": { - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io", - "date": "2019-05-15T19:37:08Z" - }, - "committer": { - "name": "GitHub Enterprise", - "email": "noreply@octocoders.github.io", - "date": "2019-05-15T19:37:08Z" - }, - "message": "Initial commit", - "tree": { - "sha": "1b13fc88733f95cc8cb16170f6990ef30d78acf4", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees/1b13fc88733f95cc8cb16170f6990ef30d78acf4" - }, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits/4544205a385319fd846d5df4ed2e3b8173529d78", - "comment_count": 1, - "verification": { - "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null - } - }, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78/comments", - "author": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "committer": null, - "parents": [] - }, - "branches": [ - { - "name": "master", - "commit": { - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/78a96099c3f442d7f6e8d1a7d07090091993e65a" - }, - "protected": false - }, - { - "name": "changes", - "commit": { - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/14977a7b5485400124827221a04bfb474bcd72d1" - }, - "protected": false - }, - { - "name": "gh-pages", - "commit": { - "sha": "3648135c2986115284ae152d90459473b15fd19c", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/3648135c2986115284ae152d90459473b15fd19c" - }, - "protected": false - } - ], - "created_at": "2019-05-15T19:38:21+00:00", - "updated_at": "2019-05-15T19:38:21+00:00", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "id": 2, - "sha": "4544205a385319fd846d5df4ed2e3b8173529d78", - "name": "Codertocat/Hello-World", - "target_url": null, - "context": "default", - "description": null, - "state": "success", - "commit": { - "sha": "4544205a385319fd846d5df4ed2e3b8173529d78", - "node_id": "MDY6Q29tbWl0MTE4OjQ1NDQyMDVhMzg1MzE5ZmQ4NDZkNWRmNGVkMmUzYjgxNzM1MjlkNzg=", - "commit": { - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io", - "date": "2019-05-15T19:37:08Z" - }, - "committer": { - "name": "GitHub Enterprise", - "email": "noreply@octocoders.github.io", - "date": "2019-05-15T19:37:08Z" - }, - "message": "Initial commit", - "tree": { - "sha": "1b13fc88733f95cc8cb16170f6990ef30d78acf4", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees/1b13fc88733f95cc8cb16170f6990ef30d78acf4" - }, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits/4544205a385319fd846d5df4ed2e3b8173529d78", - "comment_count": 1, - "verification": { - "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null - } - }, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78/comments", - "author": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "committer": null, - "parents": [] - }, - "branches": [ - { - "name": "master", - "commit": { - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/78a96099c3f442d7f6e8d1a7d07090091993e65a" - }, - "protected": false - }, - { - "name": "changes", - "commit": { - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/14977a7b5485400124827221a04bfb474bcd72d1" - }, - "protected": false - }, - { - "name": "gh-pages", - "commit": { - "sha": "3648135c2986115284ae152d90459473b15fd19c", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/3648135c2986115284ae152d90459473b15fd19c" - }, - "protected": false - } - ], - "created_at": "2019-05-15T19:38:21+00:00", - "updated_at": "2019-05-15T19:38:21+00:00", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "team", - "description": "Activity related to an organization's team. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[teams](https://docs.github.com/en/enterprise-server@2.22/rest/reference/teams)\" REST API.", - "actions": [ - "added_to_repository", - "created", - "deleted", - "edited", - "removed_from_repository" - ], - "properties": { - "team": { "type": "object", "description": "The team itself." }, - "changes": { - "type": "object", - "description": "The changes to the team if the action was `edited`." - }, - "changes[description][from]": { - "type": "string", - "description": "The previous version of the description if the action was `edited`." - }, - "changes[name][from]": { - "type": "string", - "description": "The previous version of the name if the action was `edited`." - }, - "changes[privacy][from]": { - "type": "string", - "description": "The previous version of the team's privacy if the action was `edited`." - }, - "changes[repository][permissions][from][admin]": { - "type": "boolean", - "description": "The previous version of the team member's `admin` permission on a repository, if the action was `edited`." - }, - "changes[repository][permissions][from][pull]": { - "type": "boolean", - "description": "The previous version of the team member's `pull` permission on a repository, if the action was `edited`." - }, - "changes[repository][permissions][from][push]": { - "type": "boolean", - "description": "The previous version of the team member's `push` permission on a repository, if the action was `edited`." - }, - "repository": { - "type": "object", - "description": "The repository that was added or removed from to the team's purview if the action was `added_to_repository`, `removed_from_repository`, or `edited`. For `edited` actions, `repository` also contains the team's new permission levels for the repository." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "added_to_repository", - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master", - "permissions": { "pull": true, "push": false, "admin": false } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "added_to_repository", - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master", - "permissions": { "pull": true, "push": false, "admin": false } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "created", - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": null, - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "deleted", - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "changes": {}, - "action": "edited", - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "added_to_repository", - "team": { - "name": "github", - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "slug": "github", - "description": "My collabtocats", - "privacy": "closed", - "url": "https://octocoders.github.io/api/v3/teams/1", - "members_url": "https://octocoders.github.io/api/v3/teams/1/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/1/repos", - "permission": "pull" - }, - "repository": { - "id": 124, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjQ=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://avatars.octocoders.github.io/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "private": false, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2018-10-04T18:30:19Z", - "updated_at": "2018-10-04T18:30:21Z", - "pushed_at": "2018-10-04T18:30:12Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master", - "permissions": { "pull": true, "push": false, "admin": false } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://avatars.octocoders.github.io/u/6?", - "description": "" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "team_add", - "description": "When a [repository is added to a team](https://docs.github.com/en/enterprise-server@2.22/rest/reference/teams#add-or-update-team-repository-permissions).", - "actions": [], - "properties": { - "team": { - "type": "object", - "description": "The [team](https://docs.github.com/en/enterprise-server@2.22/rest/reference/teams) that was modified. **Note:** Older events may not include this in the payload." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - } - }, - { - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - } - } - ] - }, - { - "name": "user", - "description": "When a user is `created` or `deleted`.", - "actions": ["created", "deleted"], - "properties": {}, - "examples": [ - { - "user": { - "login": "Snowtocat", - "id": 16, - "node_id": "MDQ6VXNlcjE2", - "avatar_url": "https://octocoders.github.io/avatars/u/16?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Snowtocat", - "html_url": "https://octocoders.github.io/Snowtocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events", - "type": "User", - "site_admin": false - }, - "action": "created", - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Snowtocat", - "id": 16, - "node_id": "MDQ6VXNlcjE2", - "avatar_url": "https://octocoders.github.io/avatars/u/16?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Snowtocat", - "html_url": "https://octocoders.github.io/Snowtocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "user": { - "login": "Snowtocat", - "id": 16, - "node_id": "MDQ6VXNlcjE2", - "avatar_url": "https://octocoders.github.io/avatars/u/16?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Snowtocat", - "html_url": "https://octocoders.github.io/Snowtocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events", - "type": "User", - "site_admin": false - }, - "action": "created", - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Snowtocat", - "id": 16, - "node_id": "MDQ6VXNlcjE2", - "avatar_url": "https://octocoders.github.io/avatars/u/16?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Snowtocat", - "html_url": "https://octocoders.github.io/Snowtocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "user": { - "login": "Snowtocat", - "id": 16, - "node_id": "MDQ6VXNlcjE2", - "avatar_url": "https://octocoders.github.io/avatars/u/16?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Snowtocat", - "html_url": "https://octocoders.github.io/Snowtocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events", - "type": "User", - "site_admin": false - }, - "action": "deleted", - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "ghe-admin", - "id": 13, - "node_id": "MDQ6VXNlcjEz", - "avatar_url": "https://octocoders.github.io/avatars/u/13?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/ghe-admin", - "html_url": "https://octocoders.github.io/ghe-admin", - "followers_url": "https://octocoders.github.io/api/v3/users/ghe-admin/followers", - "following_url": "https://octocoders.github.io/api/v3/users/ghe-admin/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/ghe-admin/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/ghe-admin/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/ghe-admin/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/ghe-admin/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/ghe-admin/repos", - "events_url": "https://octocoders.github.io/api/v3/users/ghe-admin/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/ghe-admin/received_events", - "type": "User", - "site_admin": true - } - }, - { - "user": { - "login": "Octocat", - "id": 12, - "node_id": "MDQ6VXNlcjEy", - "avatar_url": "https://octocoders.github.io/avatars/u/12?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocat", - "html_url": "https://octocoders.github.io/Octocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", - "type": "User", - "site_admin": false - }, - "action": "created", - "sender": { - "login": "Octocat", - "id": 12, - "node_id": "MDQ6VXNlcjEy", - "avatar_url": "https://octocoders.github.io/avatars/u/12?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocat", - "html_url": "https://octocoders.github.io/Octocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "watch", - "description": "When someone stars a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[starring](https://docs.github.com/en/enterprise-server@2.22/rest/reference/activity#starring)\" REST API.\n\nThe event’s actor is the [user](https://docs.github.com/en/enterprise-server@2.22/rest/reference/users) who starred a repository, and the event’s repository is the [repository](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos) that was starred.", - "actions": ["started"], - "properties": { - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.22/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "started", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:09Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 1, - "watchers_count": 1, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 1, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "started", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:09Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 1, - "watchers_count": 1, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 1, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "workflow_dispatch", - "description": "This event occurs when someone triggers a workflow run on GitHub or sends a `POST` request to the \"[Create a workflow dispatch event](https://docs.github.com/en/enterprise-server@2.22/rest/reference/actions/#create-a-workflow-dispatch-event)\" endpoint. For more information, see \"[Events that trigger workflows](https://docs.github.com/en/enterprise-server@2.22/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"", - "properties": {}, - "actions": [], - "examples": [ - { - "inputs": {}, - "ref": "refs/heads/master", - "repository": { - "id": 17273051, - "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==", - "name": "octo-repo", - "full_name": "octo-org/octo-repo", - "private": true, - "owner": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octo-org", - "html_url": "https://github.com/octo-org", - "followers_url": "https://api.github.com/users/octo-org/followers", - "following_url": "https://api.github.com/users/octo-org/following{/other_user}", - "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", - "organizations_url": "https://api.github.com/users/octo-org/orgs", - "repos_url": "https://api.github.com/users/octo-org/repos", - "events_url": "https://api.github.com/users/octo-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/octo-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/octo-org/octo-repo", - "description": "My first repo on GitHub!", - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", - "created_at": "2014-02-28T02:42:51Z", - "updated_at": "2018-10-10T15:58:51Z", - "pushed_at": "2018-10-10T15:58:47Z", - "git_url": "git://github.com/octo-org/octo-repo.git", - "ssh_url": "git@github.com:octo-org/octo-repo.git", - "clone_url": "https://github.com/octo-org/octo-repo.git", - "svn_url": "https://github.com/octo-org/octo-repo", - "homepage": "", - "size": 59, - "stargazers_count": 0, - "watchers_count": 0, - "language": "JavaScript", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "open_issues_count": 23, - "license": null, - "forks": 1, - "open_issues": 23, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "url": "https://api.github.com/orgs/octo-org", - "repos_url": "https://api.github.com/orgs/octo-org/repos", - "events_url": "https://api.github.com/orgs/octo-org/events", - "hooks_url": "https://api.github.com/orgs/octo-org/hooks", - "issues_url": "https://api.github.com/orgs/octo-org/issues", - "members_url": "https://api.github.com/orgs/octo-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "description": "Working better together!" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "workflow": ".github/workflows/hello-world-workflow.yml" - } - ] - } -] diff --git a/payload-examples/ghes-30/check_run/completed.payload.json b/payload-examples/ghes-30/check_run/completed.payload.json deleted file mode 100644 index cbab42def..000000000 --- a/payload-examples/ghes-30/check_run/completed.payload.json +++ /dev/null @@ -1,385 +0,0 @@ -{ - "action": "completed", - "check_run": { - "id": 2, - "node_id": "MDg6Q2hlY2tSdW4y", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "external_id": "", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2", - "details_url": "https://octocoders.io", - "status": "completed", - "conclusion": "success", - "started_at": "2019-05-15T19:39:04Z", - "completed_at": "2019-05-15T19:39:04Z", - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "queued", - "conclusion": null, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/check_run/created.payload.json b/payload-examples/ghes-30/check_run/created.payload.json deleted file mode 100644 index a85f42c20..000000000 --- a/payload-examples/ghes-30/check_run/created.payload.json +++ /dev/null @@ -1,385 +0,0 @@ -{ - "action": "created", - "check_run": { - "id": 2, - "node_id": "MDg6Q2hlY2tSdW4y", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "external_id": "", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2", - "details_url": "https://octocoders.io", - "status": "queued", - "conclusion": null, - "started_at": "2019-05-15T19:39:04Z", - "completed_at": null, - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "queued", - "conclusion": null, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/check_suite/completed.payload.json b/payload-examples/ghes-30/check_suite/completed.payload.json deleted file mode 100644 index c4489e286..000000000 --- a/payload-examples/ghes-30/check_suite/completed.payload.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "action": "completed", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "completed", - "conclusion": "success", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:39:09Z", - "latest_check_runs_count": 1, - "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs", - "head_commit": { - "id": "14977a7b5485400124827221a04bfb474bcd72d1", - "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea", - "message": "Update README.md", - "timestamp": "2019-05-15T19:38:01Z", - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - }, - "committer": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - } - } - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/check_suite/requested.payload.json b/payload-examples/ghes-30/check_suite/requested.payload.json deleted file mode 100644 index 43f0a042f..000000000 --- a/payload-examples/ghes-30/check_suite/requested.payload.json +++ /dev/null @@ -1,247 +0,0 @@ -{ - "action": "requested", - "check_suite": { - "id": 10, - "node_id": "MDEwOkNoZWNrU3VpdGUxMA==", - "head_branch": "master", - "head_sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "status": "queued", - "conclusion": null, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/10", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "pull_requests": [], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z", - "latest_check_runs_count": 0, - "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/10/check-runs", - "head_commit": { - "id": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "tree_id": "c3e6e174b68ce629340ca817d52393dcf0aed707", - "message": "Add new gemfile", - "timestamp": "2019-05-15T19:38:01Z", - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - }, - "committer": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - } - } - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/check_suite/rerequested.payload.json b/payload-examples/ghes-30/check_suite/rerequested.payload.json deleted file mode 100644 index 2a4cdeb26..000000000 --- a/payload-examples/ghes-30/check_suite/rerequested.payload.json +++ /dev/null @@ -1,271 +0,0 @@ -{ - "action": "rerequested", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "completed", - "conclusion": "success", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:39:09Z", - "latest_check_runs_count": 1, - "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs", - "head_commit": { - "id": "14977a7b5485400124827221a04bfb474bcd72d1", - "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea", - "message": "Update README.md", - "timestamp": "2019-05-15T19:38:01Z", - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - }, - "committer": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - } - } - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "octocoders-linter[bot]", - "id": 14, - "node_id": "MDM6Qm90MTQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "followers_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/followers", - "following_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/repos", - "events_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/received_events", - "type": "Bot", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/commit_comment/created.payload.json b/payload-examples/ghes-30/commit_comment/created.payload.json deleted file mode 100644 index 7581a6c7a..000000000 --- a/payload-examples/ghes-30/commit_comment/created.payload.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "action": "created", - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78#commitcomment-2", - "id": 2, - "node_id": "MDEzOkNvbW1pdENvbW1lbnQy", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "position": null, - "line": null, - "path": null, - "commit_id": "4544205a385319fd846d5df4ed2e3b8173529d78", - "created_at": "2019-05-15T19:38:09Z", - "updated_at": "2019-05-15T19:38:09Z", - "author_association": "OWNER", - "body": "This is a really good change! :+1:" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/create/event.payload.json b/payload-examples/ghes-30/create/event.payload.json deleted file mode 100644 index 26a21e64a..000000000 --- a/payload-examples/ghes-30/create/event.payload.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "ref": "simple-tag", - "ref_type": "tag", - "master_branch": "master", - "description": null, - "pusher_type": "user", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:22Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/delete/event.payload.json b/payload-examples/ghes-30/delete/event.payload.json deleted file mode 100644 index d7b804cd8..000000000 --- a/payload-examples/ghes-30/delete/event.payload.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "ref": "simple-tag", - "ref_type": "tag", - "pusher_type": "user", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/deployment/event.payload.json b/payload-examples/ghes-30/deployment/event.payload.json deleted file mode 100644 index 5b188c77f..000000000 --- a/payload-examples/ghes-30/deployment/event.payload.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "deployment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "id": 2, - "node_id": "MDEwOkRlcGxveW1lbnQy", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "ref": "master", - "task": "deploy", - "payload": {}, - "original_environment": "production", - "environment": "production", - "description": null, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:20Z", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/deployment_status/event.payload.json b/payload-examples/ghes-30/deployment_status/event.payload.json deleted file mode 100644 index 537f0f915..000000000 --- a/payload-examples/ghes-30/deployment_status/event.payload.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "deployment_status": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2", - "id": 2, - "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy", - "state": "success", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "description": "", - "environment": "production", - "target_url": "", - "created_at": "2019-05-15T19:38:21Z", - "updated_at": "2019-05-15T19:38:21Z", - "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, - "deployment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "id": 2, - "node_id": "MDEwOkRlcGxveW1lbnQy", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "ref": "master", - "task": "deploy", - "payload": {}, - "original_environment": "production", - "environment": "production", - "description": null, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:21Z", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/enterprise/anonymous_access_enabled.payload.json b/payload-examples/ghes-30/enterprise/anonymous_access_enabled.payload.json deleted file mode 100644 index b994adddb..000000000 --- a/payload-examples/ghes-30/enterprise/anonymous_access_enabled.payload.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "action": "anonymous_access_enabled", - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": true - } -} diff --git a/payload-examples/ghes-30/fork/event.payload.json b/payload-examples/ghes-30/fork/event.payload.json deleted file mode 100644 index 79bde452b..000000000 --- a/payload-examples/ghes-30/fork/event.payload.json +++ /dev/null @@ -1,227 +0,0 @@ -{ - "forkee": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master", - "public": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/gollum/event.payload.json b/payload-examples/ghes-30/gollum/event.payload.json deleted file mode 100644 index f3c6b2469..000000000 --- a/payload-examples/ghes-30/gollum/event.payload.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "pages": [ - { - "page_name": "Home", - "title": "Home", - "summary": null, - "action": "edited", - "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home" - } - ], - "repository": { - "id": 122, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2018-10-04T18:29:19Z", - "updated_at": "2018-10-04T18:29:21Z", - "pushed_at": "2018-10-04T18:29:59Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "rachmari", - "id": 3, - "node_id": "MDQ6VXNlcjM=", - "avatar_url": "https://avatars.octocoders.github.io/u/3?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/rachmari", - "html_url": "https://octocoders.github.io/rachmari", - "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers", - "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos", - "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events", - "type": "User", - "site_admin": true - } -} diff --git a/payload-examples/ghes-30/issue_comment/created.payload.json b/payload-examples/ghes-30/issue_comment/created.payload.json deleted file mode 100644 index 18e2bc51d..000000000 --- a/payload-examples/ghes-30/issue_comment/created.payload.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "action": "created", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:55Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:55Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed right away." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/issue_comment/deleted.payload.json b/payload-examples/ghes-30/issue_comment/deleted.payload.json deleted file mode 100644 index 0cc65b3e7..000000000 --- a/payload-examples/ghes-30/issue_comment/deleted.payload.json +++ /dev/null @@ -1,293 +0,0 @@ -{ - "action": "deleted", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 1, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:56Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:56Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed today." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/issue_comment/edited.payload.json b/payload-examples/ghes-30/issue_comment/edited.payload.json deleted file mode 100644 index 3862c18fe..000000000 --- a/payload-examples/ghes-30/issue_comment/edited.payload.json +++ /dev/null @@ -1,298 +0,0 @@ -{ - "action": "edited", - "changes": { - "body": { - "from": "You are totally right! I'll get this fixed right away." - } - }, - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 1, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:56Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:56Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed today." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/issues/assigned.payload.json b/payload-examples/ghes-30/issues/assigned.payload.json deleted file mode 100644 index d03ef5dbf..000000000 --- a/payload-examples/ghes-30/issues/assigned.payload.json +++ /dev/null @@ -1,273 +0,0 @@ -{ - "action": "assigned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:53Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/issues/demilestoned.payload.json b/payload-examples/ghes-30/issues/demilestoned.payload.json deleted file mode 100644 index 6d7ba38ab..000000000 --- a/payload-examples/ghes-30/issues/demilestoned.payload.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "action": "demilestoned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "id": 11, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "number": 2, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:05Z", - "closed_at": null, - "author_association": "OWNER", - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch" - }, - "body": "This is a pretty simple change that we need to pull into master." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/issues/edited.payload.json b/payload-examples/ghes-30/issues/edited.payload.json deleted file mode 100644 index b42ffed88..000000000 --- a/payload-examples/ghes-30/issues/edited.payload.json +++ /dev/null @@ -1,263 +0,0 @@ -{ - "action": "edited", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:54Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "changes": {}, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/issues/labeled.payload.json b/payload-examples/ghes-30/issues/labeled.payload.json deleted file mode 100644 index 2de68051a..000000000 --- a/payload-examples/ghes-30/issues/labeled.payload.json +++ /dev/null @@ -1,270 +0,0 @@ -{ - "action": "labeled", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:54Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/issues/milestoned.payload.json b/payload-examples/ghes-30/issues/milestoned.payload.json deleted file mode 100644 index b4d2d13fd..000000000 --- a/payload-examples/ghes-30/issues/milestoned.payload.json +++ /dev/null @@ -1,268 +0,0 @@ -{ - "action": "milestoned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "id": 11, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "number": 2, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:38:04Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:04Z", - "closed_at": null, - "author_association": "OWNER", - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch" - }, - "body": "This is a pretty simple change that we need to pull into master." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/issues/opened.payload.json b/payload-examples/ghes-30/issues/opened.payload.json deleted file mode 100644 index d8063d999..000000000 --- a/payload-examples/ghes-30/issues/opened.payload.json +++ /dev/null @@ -1,253 +0,0 @@ -{ - "action": "opened", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:53Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/issues/unassigned.payload.json b/payload-examples/ghes-30/issues/unassigned.payload.json deleted file mode 100644 index 6eba906f8..000000000 --- a/payload-examples/ghes-30/issues/unassigned.payload.json +++ /dev/null @@ -1,261 +0,0 @@ -{ - "action": "unassigned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:57Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/issues/unlabeled.payload.json b/payload-examples/ghes-30/issues/unlabeled.payload.json deleted file mode 100644 index 63e8d64bb..000000000 --- a/payload-examples/ghes-30/issues/unlabeled.payload.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "action": "unlabeled", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:58Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/label/created.payload.json b/payload-examples/ghes-30/label/created.payload.json deleted file mode 100644 index 08dedf01c..000000000 --- a/payload-examples/ghes-30/label/created.payload.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "action": "created", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cb1f00", - "default": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/label/deleted.payload.json b/payload-examples/ghes-30/label/deleted.payload.json deleted file mode 100644 index fdb601689..000000000 --- a/payload-examples/ghes-30/label/deleted.payload.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "action": "deleted", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cceeaa", - "default": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/label/edited.payload.json b/payload-examples/ghes-30/label/edited.payload.json deleted file mode 100644 index efaa58b25..000000000 --- a/payload-examples/ghes-30/label/edited.payload.json +++ /dev/null @@ -1,146 +0,0 @@ -{ - "action": "edited", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cceeaa", - "default": false - }, - "changes": { - "color": { - "from": "cb1f00" - } - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/member/added.payload.json b/payload-examples/ghes-30/member/added.payload.json deleted file mode 100644 index 7c5b1b7c4..000000000 --- a/payload-examples/ghes-30/member/added.payload.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "action": "added", - "member": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/membership/added.payload.json b/payload-examples/ghes-30/membership/added.payload.json deleted file mode 100644 index 12c2fb1bf..000000000 --- a/payload-examples/ghes-30/membership/added.payload.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "action": "added", - "scope": "team", - "member": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - } -} diff --git a/payload-examples/ghes-30/membership/removed.payload.json b/payload-examples/ghes-30/membership/removed.payload.json deleted file mode 100644 index f4c489399..000000000 --- a/payload-examples/ghes-30/membership/removed.payload.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "action": "removed", - "scope": "team", - "member": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - } -} diff --git a/payload-examples/ghes-30/milestone/closed.payload.json b/payload-examples/ghes-30/milestone/closed.payload.json deleted file mode 100644 index 24eb4d66f..000000000 --- a/payload-examples/ghes-30/milestone/closed.payload.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "action": "closed", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/milestone/created.payload.json b/payload-examples/ghes-30/milestone/created.payload.json deleted file mode 100644 index 448528717..000000000 --- a/payload-examples/ghes-30/milestone/created.payload.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "action": "created", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, - "state": "open", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:52Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": null - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/milestone/deleted.payload.json b/payload-examples/ghes-30/milestone/deleted.payload.json deleted file mode 100644 index 42fb2badf..000000000 --- a/payload-examples/ghes-30/milestone/deleted.payload.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "action": "deleted", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:38:05Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/organization/member_added.payload.json b/payload-examples/ghes-30/organization/member_added.payload.json deleted file mode 100644 index 203a239df..000000000 --- a/payload-examples/ghes-30/organization/member_added.payload.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "action": "member_added", - "membership": { - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat", - "state": "active", - "role": "member", - "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "user": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/organization/member_removed.payload.json b/payload-examples/ghes-30/organization/member_removed.payload.json deleted file mode 100644 index 62d1f9da2..000000000 --- a/payload-examples/ghes-30/organization/member_removed.payload.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "action": "member_removed", - "membership": { - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat", - "state": "inactive", - "role": "unaffiliated", - "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "user": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/page_build/event.payload.json b/payload-examples/ghes-30/page_build/event.payload.json deleted file mode 100644 index 1cd0e7e30..000000000 --- a/payload-examples/ghes-30/page_build/event.payload.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "id": 7, - "build": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7", - "status": "built", - "error": { - "message": null - }, - "pusher": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "commit": "3648135c2986115284ae152d90459473b15fd19c", - "duration": 6917, - "created_at": "2019-05-15T19:38:15Z", - "updated_at": "2019-05-15T19:38:22Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/ping/event.payload.json b/payload-examples/ghes-30/ping/event.payload.json deleted file mode 100644 index 2e513c023..000000000 --- a/payload-examples/ghes-30/ping/event.payload.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "zen": "Non-blocking is better than blocking.", - "hook_id": 30, - "hook": { - "type": "Repository", - "id": 30, - "name": "web", - "active": true, - "events": ["*"], - "config": { - "content_type": "json", - "url": "https://smee.io/YEbF2t8kjvPAn7Ck", - "insecure_ssl": "0" - }, - "updated_at": "2019-05-15T19:38:17Z", - "created_at": "2019-05-15T19:38:17Z", - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30", - "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test", - "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings", - "last_response": { - "code": null, - "status": "unused", - "message": null - } - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/project/created.payload.json b/payload-examples/ghes-30/project/created.payload.json deleted file mode 100644 index 520bd08d6..000000000 --- a/payload-examples/ghes-30/project/created.payload.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "action": "created", - "project": { - "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "url": "https://octocoders.github.io/api/v3/projects/6", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1", - "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns", - "id": 6, - "node_id": "MDc6UHJvamVjdDY=", - "name": "Space 2.0", - "body": "Project tasks for a trip to Space", - "number": 1, - "state": "open", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/project_card/created.payload.json b/payload-examples/ghes-30/project_card/created.payload.json deleted file mode 100644 index 49ae90c8e..000000000 --- a/payload-examples/ghes-30/project_card/created.payload.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "action": "created", - "project_card": { - "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8", - "project_url": "https://octocoders.github.io/api/v3/projects/6", - "column_url": "https://octocoders.github.io/api/v3/projects/columns/8", - "column_id": 8, - "id": 8, - "node_id": "MDExOlByb2plY3RDYXJkOA==", - "note": "Work that can be completed in one hour or less.", - "archived": false, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:39:01Z", - "updated_at": "2019-05-15T19:39:01Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/project_column/created.payload.json b/payload-examples/ghes-30/project_column/created.payload.json deleted file mode 100644 index 7c45b465d..000000000 --- a/payload-examples/ghes-30/project_column/created.payload.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "action": "created", - "project_column": { - "url": "https://octocoders.github.io/api/v3/projects/columns/8", - "project_url": "https://octocoders.github.io/api/v3/projects/6", - "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards", - "id": 8, - "node_id": "MDEzOlByb2plY3RDb2x1bW44", - "name": "Small bugfixes", - "created_at": "2019-05-15T19:39:01Z", - "updated_at": "2019-05-15T19:39:01Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/pull_request/assigned.payload.json b/payload-examples/ghes-30/pull_request/assigned.payload.json deleted file mode 100644 index bf9c049e5..000000000 --- a/payload-examples/ghes-30/pull_request/assigned.payload.json +++ /dev/null @@ -1,503 +0,0 @@ -{ - "action": "assigned", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:02Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/pull_request/closed.payload.json b/payload-examples/ghes-30/pull_request/closed.payload.json deleted file mode 100644 index 124f9e7b9..000000000 --- a/payload-examples/ghes-30/pull_request/closed.payload.json +++ /dev/null @@ -1,462 +0,0 @@ -{ - "action": "closed", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "closed", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:39:14Z", - "closed_at": "2019-05-15T19:39:14Z", - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 1, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/pull_request/labeled.payload.json b/payload-examples/ghes-30/pull_request/labeled.payload.json deleted file mode 100644 index e7a522b6f..000000000 --- a/payload-examples/ghes-30/pull_request/labeled.payload.json +++ /dev/null @@ -1,479 +0,0 @@ -{ - "action": "labeled", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:05Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/pull_request/opened.payload.json b/payload-examples/ghes-30/pull_request/opened.payload.json deleted file mode 100644 index d49af9fc2..000000000 --- a/payload-examples/ghes-30/pull_request/opened.payload.json +++ /dev/null @@ -1,462 +0,0 @@ -{ - "action": "opened", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:02Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": null, - "rebaseable": null, - "mergeable_state": "unknown", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/pull_request/unassigned.payload.json b/payload-examples/ghes-30/pull_request/unassigned.payload.json deleted file mode 100644 index e0a71aa14..000000000 --- a/payload-examples/ghes-30/pull_request/unassigned.payload.json +++ /dev/null @@ -1,482 +0,0 @@ -{ - "action": "unassigned", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:05Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/pull_request/unlabeled.payload.json b/payload-examples/ghes-30/pull_request/unlabeled.payload.json deleted file mode 100644 index 589712c74..000000000 --- a/payload-examples/ghes-30/pull_request/unlabeled.payload.json +++ /dev/null @@ -1,470 +0,0 @@ -{ - "action": "unlabeled", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": true, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:06Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/pull_request_review/submitted.payload.json b/payload-examples/ghes-30/pull_request_review/submitted.payload.json deleted file mode 100644 index baa76ad18..000000000 --- a/payload-examples/ghes-30/pull_request_review/submitted.payload.json +++ /dev/null @@ -1,487 +0,0 @@ -{ - "action": "submitted", - "review": { - "id": 2, - "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": null, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "submitted_at": "2019-05-15T19:38:08Z", - "state": "commented", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2", - "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "author_association": "OWNER", - "_links": { - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2" - }, - "pull_request": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - } - } - }, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:08Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/pull_request_review_comment/created.payload.json b/payload-examples/ghes-30/pull_request_review_comment/created.payload.json deleted file mode 100644 index d341a497d..000000000 --- a/payload-examples/ghes-30/pull_request_review_comment/created.payload.json +++ /dev/null @@ -1,497 +0,0 @@ -{ - "action": "created", - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2", - "pull_request_review_id": 2, - "id": 2, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=", - "diff_hunk": "@@ -1 +1 @@\n-# Hello-World", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Maybe you should use more emojji on this line.", - "created_at": "2019-05-15T19:38:07Z", - "updated_at": "2019-05-15T19:38:08Z", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2", - "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "author_association": "OWNER", - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2" - }, - "pull_request": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - } - } - }, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:08Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/push/event.payload.json b/payload-examples/ghes-30/push/event.payload.json deleted file mode 100644 index 3f4b13ee1..000000000 --- a/payload-examples/ghes-30/push/event.payload.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "ref": "refs/tags/simple-tag", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "0000000000000000000000000000000000000000", - "created": false, - "deleted": true, - "forced": false, - "base_ref": null, - "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000", - "commits": [], - "head_commit": null, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io", - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": 1557949027, - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": 1557949103, - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "stargazers": 0, - "master_branch": "master" - }, - "pusher": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/release/published.payload.json b/payload-examples/ghes-30/release/published.payload.json deleted file mode 100644 index 125185f66..000000000 --- a/payload-examples/ghes-30/release/published.payload.json +++ /dev/null @@ -1,172 +0,0 @@ -{ - "action": "published", - "release": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2", - "assets_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2/assets", - "upload_url": "https://octocoders.github.io/api/uploads/repos/Codertocat/Hello-World/releases/2/assets{?name,label}", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/releases/tag/0.0.1", - "id": 2, - "node_id": "MDc6UmVsZWFzZTI=", - "tag_name": "0.0.1", - "target_commitish": "master", - "name": null, - "draft": false, - "author": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "prerelease": false, - "created_at": "2019-05-15T19:37:08Z", - "published_at": "2019-05-15T19:38:20Z", - "assets": [], - "tarball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tarball/0.0.1", - "zipball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/zipball/0.0.1", - "body": null - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/repository/created.payload.json b/payload-examples/ghes-30/repository/created.payload.json deleted file mode 100644 index fdfb1e0dc..000000000 --- a/payload-examples/ghes-30/repository/created.payload.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "action": "created", - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/repository/deleted.payload.json b/payload-examples/ghes-30/repository/deleted.payload.json deleted file mode 100644 index 8fe940bc7..000000000 --- a/payload-examples/ghes-30/repository/deleted.payload.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "action": "deleted", - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/6?", - "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World", - "description": null, - "fork": false, - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World", - "forks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:39:36Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World.git", - "ssh_url": "git@rachmari-0a7d40112fe15292b.ghe-test.net:Octocoders/Hello-World.git", - "clone_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World.git", - "svn_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 1, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/events", - "hooks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/hooks", - "issues_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/issues", - "members_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", - "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/repository/privatized.payload.json b/payload-examples/ghes-30/repository/privatized.payload.json deleted file mode 100644 index 10df7cae3..000000000 --- a/payload-examples/ghes-30/repository/privatized.payload.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "action": "privatized", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": true, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:24Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/status/event.payload.json b/payload-examples/ghes-30/status/event.payload.json deleted file mode 100644 index 29f4bfdac..000000000 --- a/payload-examples/ghes-30/status/event.payload.json +++ /dev/null @@ -1,221 +0,0 @@ -{ - "id": 2, - "sha": "4544205a385319fd846d5df4ed2e3b8173529d78", - "name": "Codertocat/Hello-World", - "target_url": null, - "context": "default", - "description": null, - "state": "success", - "commit": { - "sha": "4544205a385319fd846d5df4ed2e3b8173529d78", - "node_id": "MDY6Q29tbWl0MTE4OjQ1NDQyMDVhMzg1MzE5ZmQ4NDZkNWRmNGVkMmUzYjgxNzM1MjlkNzg=", - "commit": { - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io", - "date": "2019-05-15T19:37:08Z" - }, - "committer": { - "name": "GitHub Enterprise", - "email": "noreply@octocoders.github.io", - "date": "2019-05-15T19:37:08Z" - }, - "message": "Initial commit", - "tree": { - "sha": "1b13fc88733f95cc8cb16170f6990ef30d78acf4", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees/1b13fc88733f95cc8cb16170f6990ef30d78acf4" - }, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits/4544205a385319fd846d5df4ed2e3b8173529d78", - "comment_count": 1, - "verification": { - "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null - } - }, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78/comments", - "author": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "committer": null, - "parents": [] - }, - "branches": [ - { - "name": "master", - "commit": { - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/78a96099c3f442d7f6e8d1a7d07090091993e65a" - }, - "protected": false - }, - { - "name": "changes", - "commit": { - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/14977a7b5485400124827221a04bfb474bcd72d1" - }, - "protected": false - }, - { - "name": "gh-pages", - "commit": { - "sha": "3648135c2986115284ae152d90459473b15fd19c", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/3648135c2986115284ae152d90459473b15fd19c" - }, - "protected": false - } - ], - "created_at": "2019-05-15T19:38:21+00:00", - "updated_at": "2019-05-15T19:38:21+00:00", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/team/added_to_repository.payload.json b/payload-examples/ghes-30/team/added_to_repository.payload.json deleted file mode 100644 index fb1fd0e85..000000000 --- a/payload-examples/ghes-30/team/added_to_repository.payload.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "action": "added_to_repository", - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master", - "permissions": { - "pull": true, - "push": false, - "admin": false - } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/team/created.payload.json b/payload-examples/ghes-30/team/created.payload.json deleted file mode 100644 index 85b6ee763..000000000 --- a/payload-examples/ghes-30/team/created.payload.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "action": "created", - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": null, - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/team/deleted.payload.json b/payload-examples/ghes-30/team/deleted.payload.json deleted file mode 100644 index 86b26f998..000000000 --- a/payload-examples/ghes-30/team/deleted.payload.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "action": "deleted", - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/team/edited.payload.json b/payload-examples/ghes-30/team/edited.payload.json deleted file mode 100644 index ba588cab1..000000000 --- a/payload-examples/ghes-30/team/edited.payload.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "changes": {}, - "action": "edited", - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/team/event.payload.json b/payload-examples/ghes-30/team/event.payload.json deleted file mode 100644 index 112b62dc1..000000000 --- a/payload-examples/ghes-30/team/event.payload.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "action": "added_to_repository", - "team": { - "name": "github", - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "slug": "github", - "description": "My collabtocats", - "privacy": "closed", - "url": "https://octocoders.github.io/api/v3/teams/1", - "members_url": "https://octocoders.github.io/api/v3/teams/1/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/1/repos", - "permission": "pull" - }, - "repository": { - "id": 124, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjQ=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://avatars.octocoders.github.io/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "private": false, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2018-10-04T18:30:19Z", - "updated_at": "2018-10-04T18:30:21Z", - "pushed_at": "2018-10-04T18:30:12Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master", - "permissions": { - "pull": true, - "push": false, - "admin": false - } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://avatars.octocoders.github.io/u/6?", - "description": "" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/team_add/event.payload.json b/payload-examples/ghes-30/team_add/event.payload.json deleted file mode 100644 index 46339c98a..000000000 --- a/payload-examples/ghes-30/team_add/event.payload.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/user/created.payload.json b/payload-examples/ghes-30/user/created.payload.json deleted file mode 100644 index 761a34d75..000000000 --- a/payload-examples/ghes-30/user/created.payload.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "user": { - "login": "Snowtocat", - "id": 16, - "node_id": "MDQ6VXNlcjE2", - "avatar_url": "https://octocoders.github.io/avatars/u/16?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Snowtocat", - "html_url": "https://octocoders.github.io/Snowtocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events", - "type": "User", - "site_admin": false - }, - "action": "created", - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Snowtocat", - "id": 16, - "node_id": "MDQ6VXNlcjE2", - "avatar_url": "https://octocoders.github.io/avatars/u/16?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Snowtocat", - "html_url": "https://octocoders.github.io/Snowtocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/user/deleted.payload.json b/payload-examples/ghes-30/user/deleted.payload.json deleted file mode 100644 index 1185a005c..000000000 --- a/payload-examples/ghes-30/user/deleted.payload.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "user": { - "login": "Snowtocat", - "id": 16, - "node_id": "MDQ6VXNlcjE2", - "avatar_url": "https://octocoders.github.io/avatars/u/16?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Snowtocat", - "html_url": "https://octocoders.github.io/Snowtocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Snowtocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Snowtocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Snowtocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Snowtocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Snowtocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Snowtocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Snowtocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Snowtocat/received_events", - "type": "User", - "site_admin": false - }, - "action": "deleted", - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "ghe-admin", - "id": 13, - "node_id": "MDQ6VXNlcjEz", - "avatar_url": "https://octocoders.github.io/avatars/u/13?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/ghe-admin", - "html_url": "https://octocoders.github.io/ghe-admin", - "followers_url": "https://octocoders.github.io/api/v3/users/ghe-admin/followers", - "following_url": "https://octocoders.github.io/api/v3/users/ghe-admin/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/ghe-admin/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/ghe-admin/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/ghe-admin/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/ghe-admin/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/ghe-admin/repos", - "events_url": "https://octocoders.github.io/api/v3/users/ghe-admin/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/ghe-admin/received_events", - "type": "User", - "site_admin": true - } -} diff --git a/payload-examples/ghes-30/user/event.payload.json b/payload-examples/ghes-30/user/event.payload.json deleted file mode 100644 index a0a0a0c38..000000000 --- a/payload-examples/ghes-30/user/event.payload.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "user": { - "login": "Octocat", - "id": 12, - "node_id": "MDQ6VXNlcjEy", - "avatar_url": "https://octocoders.github.io/avatars/u/12?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocat", - "html_url": "https://octocoders.github.io/Octocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", - "type": "User", - "site_admin": false - }, - "action": "created", - "sender": { - "login": "Octocat", - "id": 12, - "node_id": "MDQ6VXNlcjEy", - "avatar_url": "https://octocoders.github.io/avatars/u/12?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocat", - "html_url": "https://octocoders.github.io/Octocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", - "type": "User", - "site_admin": false - } -} diff --git a/payload-examples/ghes-30/watch/started.payload.json b/payload-examples/ghes-30/watch/started.payload.json deleted file mode 100644 index 4bdee57de..000000000 --- a/payload-examples/ghes-30/watch/started.payload.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "action": "started", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:09Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 1, - "watchers_count": 1, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 1, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } -} diff --git a/payload-examples/ghes-30/public/event.payload.json b/payload-examples/ghes-34/cache_sync/synced.json similarity index 87% rename from payload-examples/ghes-30/public/event.payload.json rename to payload-examples/ghes-34/cache_sync/synced.json index 055d0e31a..6c7111159 100644 --- a/payload-examples/ghes-30/public/event.payload.json +++ b/payload-examples/ghes-34/cache_sync/synced.json @@ -1,4 +1,8 @@ { + "cache_location": "morocco", + "ref": "refs/heads/main", + "before": "0000000000000000000000000000000000000000", + "after": "de40facb99837f9ca38a0d399b0d20fe135510eb", "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -66,8 +70,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -76,7 +80,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": "Ruby", + "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, @@ -106,27 +110,23 @@ "updated_at": "2019-05-14T19:31:12Z" }, "sender": { - "login": "Codertocat", + "login": "github-enterprise", "id": 4, "node_id": "MDQ6VXNlcjQ=", "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "url": "https://octocoders.github.io/api/v3/users/github-enterprise", + "html_url": "https://octocoders.github.io/github-enterprise", + "followers_url": "https://octocoders.github.io/api/v3/users/github-enterprise/followers", + "following_url": "https://octocoders.github.io/api/v3/users/github-enterprise/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/github-enterprise/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/github-enterprise/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/github-enterprise/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/github-enterprise/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/github-enterprise/repos", + "events_url": "https://octocoders.github.io/api/v3/users/github-enterprise/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/github-enterprise/received_events", "type": "User", "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } } diff --git a/payload-examples/ghes-221/check_run/completed.payload.json b/payload-examples/ghes-34/check_run/completed.json similarity index 100% rename from payload-examples/ghes-221/check_run/completed.payload.json rename to payload-examples/ghes-34/check_run/completed.json diff --git a/payload-examples/ghes-221/check_run/created.payload.json b/payload-examples/ghes-34/check_run/created.json similarity index 100% rename from payload-examples/ghes-221/check_run/created.payload.json rename to payload-examples/ghes-34/check_run/created.json diff --git a/payload-examples/ghes-221/check_suite/completed.payload.json b/payload-examples/ghes-34/check_suite/completed.json similarity index 100% rename from payload-examples/ghes-221/check_suite/completed.payload.json rename to payload-examples/ghes-34/check_suite/completed.json diff --git a/payload-examples/ghes-221/check_suite/requested.payload.json b/payload-examples/ghes-34/check_suite/requested.json similarity index 100% rename from payload-examples/ghes-221/check_suite/requested.payload.json rename to payload-examples/ghes-34/check_suite/requested.json diff --git a/payload-examples/ghes-221/check_suite/rerequested.payload.json b/payload-examples/ghes-34/check_suite/rerequested.json similarity index 100% rename from payload-examples/ghes-221/check_suite/rerequested.payload.json rename to payload-examples/ghes-34/check_suite/rerequested.json diff --git a/payload-examples/ghes-222/code_scanning_alert/reopened.payload.json b/payload-examples/ghes-34/code_scanning_alert/reopened.json similarity index 100% rename from payload-examples/ghes-222/code_scanning_alert/reopened.payload.json rename to payload-examples/ghes-34/code_scanning_alert/reopened.json diff --git a/payload-examples/ghes-221/commit_comment/created.payload.json b/payload-examples/ghes-34/commit_comment/created.json similarity index 100% rename from payload-examples/ghes-221/commit_comment/created.payload.json rename to payload-examples/ghes-34/commit_comment/created.json diff --git a/payload-examples/ghes-34/content_reference/created.json b/payload-examples/ghes-34/content_reference/created.json new file mode 100644 index 000000000..fa7743711 --- /dev/null +++ b/payload-examples/ghes-34/content_reference/created.json @@ -0,0 +1,125 @@ +{ + "action": "created", + "content_reference": { + "id": 17, + "node_id": "MDE2OkNvbnRlbnRSZWZlcmVuY2UxNjA5", + "reference": "https://errors.ai/" + }, + "repository": { + "id": 145551601, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDU1NTE2MDE=", + "name": "hello-world", + "full_name": "octocoders/hello-world", + "private": true, + "owner": { + "login": "Codertocat", + "id": 7718702, + "node_id": "MDQ6VXNlcjc3MTg3MDI=", + "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": true + }, + "html_url": "https://github.com/Codertocat/hello-world", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/hello-world", + "forks_url": "https://api.github.com/repos/Codertocat/hello-world/forks", + "keys_url": "https://api.github.com/repos/Codertocat/hello-world/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/hello-world/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/hello-world/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/hello-world/events", + "assignees_url": "https://api.github.com/repos/Codertocat/hello-world/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/hello-world/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/hello-world/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/hello-world/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/hello-world/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/hello-world/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/hello-world/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/hello-world/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/hello-world/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/hello-world/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/hello-world/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/hello-world/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/hello-world/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/hello-world/merges", + "archive_url": "https://api.github.com/repos/Codertocat/hello-world/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/hello-world/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/hello-world/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/hello-world/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/hello-world/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/hello-world/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/hello-world/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/hello-world/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/hello-world/deployments", + "created_at": "2018-08-21T10:58:58Z", + "updated_at": "2018-08-21T10:59:01Z", + "pushed_at": "2018-08-21T10:59:00Z", + "git_url": "git://github.com/Codertocat/hello-world.git", + "ssh_url": "git@github.com:Codertocat/hello-world.git", + "clone_url": "https://github.com/Codertocat/hello-world.git", + "svn_url": "https://github.com/Codertocat/hello-world", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "Codertocat", + "id": 7718702, + "node_id": "MDQ6VXNlcjc3MTg3MDI=", + "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": true + }, + "installation": { + "id": 371641, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzcxNjQx" + } +} diff --git a/payload-examples/ghes-221/create/event.payload.json b/payload-examples/ghes-34/create/payload.json similarity index 100% rename from payload-examples/ghes-221/create/event.payload.json rename to payload-examples/ghes-34/create/payload.json diff --git a/payload-examples/ghes-221/delete/event.payload.json b/payload-examples/ghes-34/delete/payload.json similarity index 100% rename from payload-examples/ghes-221/delete/event.payload.json rename to payload-examples/ghes-34/delete/payload.json diff --git a/payload-examples/ghes-221/deployment/event.payload.json b/payload-examples/ghes-34/deployment/payload.json similarity index 100% rename from payload-examples/ghes-221/deployment/event.payload.json rename to payload-examples/ghes-34/deployment/payload.json diff --git a/payload-examples/ghes-221/deployment_status/event.payload.json b/payload-examples/ghes-34/deployment_status/payload.json similarity index 100% rename from payload-examples/ghes-221/deployment_status/event.payload.json rename to payload-examples/ghes-34/deployment_status/payload.json diff --git a/payload-examples/ghes-221/enterprise/anonymous_access_enabled.payload.json b/payload-examples/ghes-34/enterprise/anonymous_access_enabled.json similarity index 100% rename from payload-examples/ghes-221/enterprise/anonymous_access_enabled.payload.json rename to payload-examples/ghes-34/enterprise/anonymous_access_enabled.json diff --git a/payload-examples/ghes-221/fork/event.payload.json b/payload-examples/ghes-34/fork/payload.json similarity index 100% rename from payload-examples/ghes-221/fork/event.payload.json rename to payload-examples/ghes-34/fork/payload.json diff --git a/payload-examples/ghes-221/gollum/event.payload.json b/payload-examples/ghes-34/gollum/payload.json similarity index 100% rename from payload-examples/ghes-221/gollum/event.payload.json rename to payload-examples/ghes-34/gollum/payload.json diff --git a/payload-examples/ghes-30/index.json b/payload-examples/ghes-34/index.json similarity index 95% rename from payload-examples/ghes-30/index.json rename to payload-examples/ghes-34/index.json index 7e747a78f..c9e6837ca 100644 --- a/payload-examples/ghes-30/index.json +++ b/payload-examples/ghes-34/index.json @@ -1,12 +1,209 @@ [ + { + "name": "branch_protection_rule", + "description": "Activity related to a branch protection rule. For more information, see \"[About branch protection rules](https://docs.github.com/en/enterprise-server@3.4/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-rules).\"", + "properties": { + "rule": { + "type": "object", + "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/en/enterprise-server@3.4/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings." + }, + "changes": { + "type": "object", + "description": "If the action was `edited`, the changes to the rule." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["created", "deleted", "edited"], + "examples": [] + }, + { + "name": "cache_sync", + "description": "A Git ref has been successfully synced to a cache replica. For more information, see \"[About repository caching](https://docs.github.com/en/enterprise-server@3.4/admin/enterprise-management/caching-repositories/about-repository-caching).\"", + "actions": [], + "properties": { + "cache_location": { + "type": "string", + "description": "The location of the cache server that has been updated." + }, + "ref": { + "type": "string", + "description": "The ref that has been updated." + }, + "before": { + "type": "string", + "description": "The OID of the ref on the cache replica before it was updated." + }, + "after": { + "type": "string", + "description": "The OID of the ref on the cache replica after the update." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ + { + "cache_location": "morocco", + "ref": "refs/heads/main", + "before": "0000000000000000000000000000000000000000", + "after": "de40facb99837f9ca38a0d399b0d20fe135510eb", + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "github-enterprise", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/github-enterprise", + "html_url": "https://octocoders.github.io/github-enterprise", + "followers_url": "https://octocoders.github.io/api/v3/users/github-enterprise/followers", + "following_url": "https://octocoders.github.io/api/v3/users/github-enterprise/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/github-enterprise/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/github-enterprise/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/github-enterprise/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/github-enterprise/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/github-enterprise/repos", + "events_url": "https://octocoders.github.io/api/v3/users/github-enterprise/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/github-enterprise/received_events", + "type": "User", + "site_admin": false + } + } + ] + }, { "name": "check_run", - "description": "Check run activity has occurred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[check runs](https://docs.github.com/en/enterprise-server@3.0/rest/reference/checks#runs)\" REST API.", + "description": "Check run activity has occurred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[check runs](https://docs.github.com/en/enterprise-server@3.4/rest/reference/checks#runs)\" REST API.", "actions": ["completed", "created", "requested_action", "rerequested"], "properties": { "check_run": { "type": "object", - "description": "The [check\\_run](https://docs.github.com/en/enterprise-server@3.0/rest/reference/checks#get-a-check-run)." + "description": "The [check\\_run](https://docs.github.com/en/enterprise-server@3.4/rest/reference/checks#get-a-check-run)." }, "check_run[status]": { "type": "string", @@ -26,7 +223,11 @@ }, "check_run[check_suite][pull_requests]": { "type": "array", - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty." + "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_branch`. \n \n**Note:**\n\n* The `head_sha` of the check suite can differ from the `sha` of the pull request if subsequent pushes are made into the PR.\n* When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty." + }, + "check_run[check_suite][deployment]": { + "type": "object", + "description": "A deployment to a repository environment. This will only be populated if the check run was created by a GitHub Actions workflow job that references an environment." }, "requested_action": { "type": "object", @@ -38,11 +239,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -828,12 +1029,12 @@ }, { "name": "check_suite", - "description": "Check suite activity has occurred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[check suites](https://docs.github.com/en/enterprise-server@3.0/rest/reference/checks#suites)\" REST API.", + "description": "Check suite activity has occurred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[check suites](https://docs.github.com/en/enterprise-server@3.4/rest/reference/checks#suites)\" REST API.", "actions": ["completed", "requested", "rerequested"], "properties": { "check_suite": { "type": "object", - "description": "The [check\\_suite](https://docs.github.com/en/enterprise-server@3.0/rest/reference/checks#suites)." + "description": "The [check\\_suite](https://docs.github.com/en/enterprise-server@3.4/rest/reference/checks#suites)." }, "check_suite[head_branch]": { "type": "string", @@ -857,15 +1058,15 @@ }, "check_suite[pull_requests]": { "type": "array", - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty." + "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_branch`. \n \n**Note:**\n\n* The `head_sha` of the check suite can differ from the `sha` of the pull request if subsequent pushes are made into the PR.\n* When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -1670,7 +1871,7 @@ }, { "name": "code_scanning_alert", - "description": "Activity related to code scanning alerts in a repository. The type of activity is specified in the action property of the payload object. For more information, see \"[About code scanning](https://docs.github.com/en/enterprise-server@3.0/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning).\"", + "description": "Activity related to code scanning alerts in a repository. The type of activity is specified in the action property of the payload object. For more information, see \"[About code scanning](https://docs.github.com/en/enterprise-server@3.4/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning).\"", "actions": [ "appeared_in_branch", "closed_by_user", @@ -1694,11 +1895,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -1706,7 +1907,7 @@ }, "sender": { "type": "object", - "description": "If the `action` is `reopened_by_user` or `closed_by_user`, the `sender` object will be the user that triggered the event. The `sender` object is empty for all other actions." + "description": "If the `action` is `reopened_by_user` or `closed_by_user`, the `sender` object will be the user that triggered the event. The `sender` object is `github-enterprise` for all other actions." } }, "examples": [ @@ -1851,20 +2052,20 @@ }, { "name": "commit_comment", - "description": "A commit comment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[commit comment](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#comments)\" REST API.", + "description": "A commit comment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[commit comment](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#comments)\" REST API.", "actions": ["created"], "properties": { "comment": { "type": "object", - "description": "The [commit comment](https://docs.github.com/en/enterprise-server@3.0/rest/reference/commits#get-a-commit-comment) resource." + "description": "The [commit comment](https://docs.github.com/en/enterprise-server@3.4/rest/reference/commits#get-a-commit-comment) resource." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -2045,21 +2246,14 @@ } ] }, - { - "name": "content_reference", - "description": "A new content reference is `created`. A new content reference is created when the body or comment of an issue or pull request includes a URL that matches a configured content reference domain. For more information, see \"[Using content attachments](https://docs.github.com/en/enterprise-server@3.0/apps/using-content-attachments)\" to learn more about content references and attachments.\n\nWebhook events are triggered based on the specificity of the domain you register. For example, if you register a subdomain (`https://subdomain.example.com`) then only URLs for the subdomain trigger this event. If you register a domain (`https://example.com`) then URLs for domain and all subdomains trigger this event. See \"[Create a content attachment](https://docs.github.com/en/enterprise-server@3.0/rest/reference/apps#create-a-content-attachment)\" to create a new content attachment.", - "properties": {}, - "actions": [], - "examples": [] - }, { "name": "create", - "description": "A Git branch or tag is created. For more information, see the \"[Git database](https://docs.github.com/en/enterprise-server@3.0/rest/reference/git#create-a-reference)\" REST API.", + "description": "A Git branch or tag is created. For more information, see the \"[Git database](https://docs.github.com/en/enterprise-server@3.4/rest/reference/git#create-a-reference)\" REST API.", "actions": [], "properties": { "ref": { "type": "string", - "description": "The [`git ref`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/git#get-a-reference) resource." + "description": "The [`git ref`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/git#get-a-reference) resource." }, "ref_type": { "type": "string", @@ -2067,7 +2261,7 @@ }, "master_branch": { "type": "string", - "description": "The name of the repository's default branch (usually `master`)." + "description": "The name of the repository's default branch (usually `main`)." }, "description": { "type": "string", @@ -2079,11 +2273,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -2236,16 +2430,16 @@ }, { "name": "delete", - "description": "A Git branch or tag is deleted. For more information, see the \"[Git database](https://docs.github.com/en/enterprise-server@3.0/rest/reference/git#delete-a-reference)\" REST API.", + "description": "A Git branch or tag is deleted. For more information, see the \"[Git database](https://docs.github.com/en/enterprise-server@3.4/rest/reference/git#delete-a-reference)\" REST API.", "actions": [], "properties": { "ref": { "type": "string", - "description": "The [`git ref`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/git#get-a-reference) resource." + "description": "The [`git ref`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/git#get-a-reference) resource." }, "ref_type": { "type": "string", - "description": "The type of Git ref oject deleted in the repository. Can be `branch` or `tag`." + "description": "The type of Git ref object deleted in the repository. Can be either `branch` or `tag`." }, "pusher_type": { "type": "string", @@ -2253,11 +2447,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -2408,19 +2602,19 @@ }, { "name": "deploy_key", - "description": "A deploy key is added or removed from a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[Deploy keys](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#keys)\" REST API.", + "description": "A deploy key is added or removed from a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[Deploy keys](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#keys)\" REST API.", "properties": { "key": { "type": "object", - "description": "The [`deploy key`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/deployments#get-a-deploy-key) resource." + "description": "The [`deploy key`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/deployments#get-a-deploy-key) resource." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "sender": { "type": "object", @@ -2432,20 +2626,20 @@ }, { "name": "deployment", - "description": "A deployment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[deployment](https://docs.github.com/en/enterprise-server@3.0/rest/reference/deployments#list-deployments)\" REST API.", + "description": "A deployment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[deployment](https://docs.github.com/en/enterprise-server@3.4/rest/reference/deployments#list-deployments)\" REST API.", "actions": ["created"], "properties": { "deployment": { "type": "object", - "description": "The [deployment](https://docs.github.com/en/enterprise-server@3.0/rest/reference/deployments#list-deployments)." + "description": "The [deployment](https://docs.github.com/en/enterprise-server@3.4/rest/reference/deployments#list-deployments)." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -2629,12 +2823,12 @@ }, { "name": "deployment_status", - "description": "A deployment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[deployments](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#deployments)\" REST API.", + "description": "A deployment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[deployments](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#deployments)\" REST API.", "actions": ["created"], "properties": { "deployment_status": { "type": "object", - "description": "The [deployment status](https://docs.github.com/en/enterprise-server@3.0/rest/reference/deployments#list-deployment-statuses)." + "description": "The [deployment status](https://docs.github.com/en/enterprise-server@3.4/rest/reference/deployments#list-deployment-statuses)." }, "deployment_status[\"state\"]": { "type": "string", @@ -2650,15 +2844,15 @@ }, "deployment": { "type": "object", - "description": "The [deployment](https://docs.github.com/en/enterprise-server@3.0/rest/reference/deployments#list-deployments) that this status is associated with." + "description": "The [deployment](https://docs.github.com/en/enterprise-server@3.4/rest/reference/deployments#list-deployments) that this status is associated with." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -2875,7 +3069,7 @@ }, { "name": "enterprise", - "description": "A site or repository administrator enables or disables anonymous Git read access. See \"[Allowing admins to enable anonymous Git read access to public repositories](https://docs.github.com/en/enterprise-server@3.0/admin/user-management/allowing-admins-to-enable-anonymous-git-read-access-to-public-repositories)\" for more details. This event is not available in the Events API.", + "description": "A site or repository administrator enables or disables anonymous Git read access. See \"[Allowing admins to enable anonymous Git read access to public repositories](https://docs.github.com/en/enterprise-server@3.4/admin/user-management/allowing-admins-to-enable-anonymous-git-read-access-to-public-repositories)\" for more details. This event is not available in the Events API.", "actions": ["anonymous_access_disabled", "anonymous_access_enabled"], "properties": {}, "examples": [ @@ -2906,20 +3100,20 @@ }, { "name": "fork", - "description": "A user forks a repository. For more information, see the \"[forks](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#forks)\" REST API.", + "description": "A user forks a repository. For more information, see the \"[forks](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#forks)\" REST API.", "actions": [], "properties": { "forkee": { "type": "object", - "description": "The created [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) resource." + "description": "The created [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) resource." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -3162,7 +3356,7 @@ }, { "name": "github_app_authorization", - "description": "When someone revokes their authorization of a GitHub App, this event occurs. A GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about user-to-server requests, which require GitHub App authorization, see \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/en/enterprise-server@3.0/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps).\"", + "description": "When someone revokes their authorization of a GitHub App, this event occurs. A GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about user-to-server requests, which require GitHub App authorization, see \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/en/enterprise-server@3.4/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps).\"", "properties": { "sender": { "type": "object", @@ -3174,7 +3368,7 @@ }, { "name": "gollum", - "description": "A wiki page is created or updated. For more information, see \"[About wikis](https://docs.github.com/en/enterprise-server@3.0/communities/documenting-your-project-with-wikis/about-wikis).\"", + "description": "A wiki page is created or updated. For more information, see \"[About wikis](https://docs.github.com/en/enterprise-server@3.4/communities/documenting-your-project-with-wikis/about-wikis).\"", "actions": [], "properties": { "pages": { @@ -3203,11 +3397,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -3348,7 +3542,7 @@ }, { "name": "installation", - "description": "Activity related to a GitHub App installation. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[GitHub App installation](https://docs.github.com/en/enterprise-server@3.0/rest/reference/apps)\" REST API.", + "description": "Activity related to a GitHub App installation. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[GitHub App installation](https://docs.github.com/en/enterprise-server@3.4/rest/reference/apps)\" REST API.", "actions": [ "created", "deleted", @@ -3616,7 +3810,7 @@ }, { "name": "installation_repositories", - "description": "Activity related to repositories being added to a GitHub App installation. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[GitHub App installation](https://docs.github.com/en/enterprise-server@3.0/rest/reference/apps)\" REST API.", + "description": "Activity related to repositories being added to a GitHub App installation. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[GitHub App installation](https://docs.github.com/en/enterprise-server@3.4/rest/reference/apps)\" REST API.", "actions": ["added", "removed"], "properties": { "repository_selection": { @@ -3899,7 +4093,7 @@ }, { "name": "issue_comment", - "description": "Activity related to an issue or pull request comment. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[issue comments](https://docs.github.com/en/enterprise-server@3.0/rest/reference/issues#comments)\" REST API.", + "description": "Activity related to an issue or pull request comment. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[issue comments](https://docs.github.com/en/enterprise-server@3.4/rest/reference/issues#comments)\" REST API.", "actions": ["created", "deleted", "edited"], "properties": { "changes": { @@ -3912,19 +4106,19 @@ }, "issue": { "type": "object", - "description": "The [issue](https://docs.github.com/en/enterprise-server@3.0/rest/reference/issues) the comment belongs to." + "description": "The [issue](https://docs.github.com/en/enterprise-server@3.4/rest/reference/issues) the comment belongs to." }, "comment": { "type": "object", - "description": "The [comment](https://docs.github.com/en/enterprise-server@3.0/rest/reference/issues#comments) itself." + "description": "The [comment](https://docs.github.com/en/enterprise-server@3.4/rest/reference/issues#comments) itself." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -4824,7 +5018,7 @@ }, { "name": "issues", - "description": "Activity related to an issue. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[issues](https://docs.github.com/en/enterprise-server@3.0/rest/reference/issues)\" REST API.", + "description": "Activity related to an issue. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[issues](https://docs.github.com/en/enterprise-server@3.4/rest/reference/issues)\" REST API.", "actions": [ "assigned", "closed", @@ -4846,7 +5040,7 @@ "properties": { "issue": { "type": "object", - "description": "The [issue](https://docs.github.com/en/enterprise-server@3.0/rest/reference/issues) itself." + "description": "The [issue](https://docs.github.com/en/enterprise-server@3.4/rest/reference/issues) itself." }, "changes": { "type": "object", @@ -4870,11 +5064,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -6846,7 +7040,7 @@ }, { "name": "label", - "description": "Activity related to a label. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[labels](https://docs.github.com/en/enterprise-server@3.0/rest/reference/issues#labels)\" REST API.", + "description": "Activity related to a label. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[labels](https://docs.github.com/en/enterprise-server@3.4/rest/reference/issues#labels)\" REST API.", "actions": ["created", "deleted", "edited"], "properties": { "label": { "type": "object", "description": "The label that was added." }, @@ -6864,11 +7058,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -7308,12 +7502,12 @@ }, { "name": "member", - "description": "Activity related to repository collaborators. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[collaborators](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#collaborators)\" REST API.", + "description": "Activity related to repository collaborators. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[collaborators](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#collaborators)\" REST API.", "actions": ["added", "edited", "removed"], "properties": { "member": { "type": "object", - "description": "The [user](https://docs.github.com/en/enterprise-server@3.0/rest/reference/users) that was added." + "description": "The [user](https://docs.github.com/en/enterprise-server@3.4/rest/reference/users) that was added." }, "changes": { "type": "object", @@ -7325,11 +7519,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -7498,7 +7692,7 @@ }, { "name": "membership", - "description": "Activity related to team membership. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[team members](https://docs.github.com/en/enterprise-server@3.0/rest/reference/teams#members)\" REST API.", + "description": "Activity related to team membership. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[team members](https://docs.github.com/en/enterprise-server@3.4/rest/reference/teams#members)\" REST API.", "actions": ["added", "removed"], "properties": { "scope": { @@ -7507,15 +7701,15 @@ }, "member": { "type": "object", - "description": "The [user](https://docs.github.com/en/enterprise-server@3.0/rest/reference/users) that was added or removed." + "description": "The [user](https://docs.github.com/en/enterprise-server@3.4/rest/reference/users) that was added or removed." }, "team": { "type": "object", - "description": "The [team](https://docs.github.com/en/enterprise-server@3.0/rest/reference/teams) for the membership." + "description": "The [team](https://docs.github.com/en/enterprise-server@3.4/rest/reference/teams) for the membership." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -7709,11 +7903,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "sender": { "type": "object", @@ -7725,7 +7919,7 @@ }, { "name": "milestone", - "description": "Activity related to milestones. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[milestones](https://docs.github.com/en/enterprise-server@3.0/rest/reference/issues#milestones)\" REST API.", + "description": "Activity related to milestones. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[milestones](https://docs.github.com/en/enterprise-server@3.4/rest/reference/issues#milestones)\" REST API.", "actions": ["closed", "created", "deleted", "edited", "opened"], "properties": { "milestone": { "type": "object", "description": "The milestone itself." }, @@ -7747,11 +7941,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -8277,7 +8471,7 @@ }, { "name": "organization", - "description": "Activity related to an organization and its members. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[organizations](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs)\" REST API.", + "description": "Activity related to an organization and its members. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[organizations](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs)\" REST API.", "actions": [ "created", "deleted", @@ -8297,7 +8491,7 @@ }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -8461,6 +8655,30 @@ } ] }, + { + "name": "package", + "description": "Activity related to GitHub Packages. The type of activity is specified in the `action` property of the payload object. For more information, see \"[Managing packages with GitHub Packages](https://docs.github.com/en/enterprise-server@3.4/github/managing-packages-with-github-packages)\" to learn more about GitHub Packages.", + "properties": { + "package": { + "type": "object", + "description": "Information about the package." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["published", "updated"], + "examples": [] + }, { "name": "page_build", "description": "Represents an attempted build of a GitHub Pages site, whether successful or not. A push to a GitHub Pages enabled branch (`gh-pages` for project pages, the default branch for user and organization pages) triggers this event.", @@ -8472,15 +8690,15 @@ }, "build": { "type": "object", - "description": "The [List GitHub Pages builds](https://docs.github.com/en/enterprise-server@3.0/rest/reference/pages#list-github-pages-builds) itself." + "description": "The [List GitHub Pages builds](https://docs.github.com/en/enterprise-server@3.4/rest/reference/pages#list-github-pages-builds) itself." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -8658,7 +8876,7 @@ }, { "name": "ping", - "description": "When you create a new webhook, we'll send you a simple `ping` event to let you know you've set up the webhook correctly. This event isn't stored so it isn't retrievable via the [Events API](https://docs.github.com/en/enterprise-server@3.0/rest/reference/activity#ping-a-repository-webhook) endpoint.", + "description": "When you create a new webhook, we'll send you a simple `ping` event to let you know you've set up the webhook correctly. This event isn't stored so it isn't retrievable via the [Events API](https://docs.github.com/en/enterprise-server@3.4/rest/reference/activity#ping-a-repository-webhook) endpoint.", "actions": [], "properties": { "zen": { @@ -8671,19 +8889,19 @@ }, "hook": { "type": "object", - "description": "The [webhook configuration](https://docs.github.com/en/enterprise-server@3.0/rest/reference/webhooks#get-a-repository-webhook)." + "description": "The [webhook configuration](https://docs.github.com/en/enterprise-server@3.4/rest/reference/webhooks#get-a-repository-webhook)." }, "hook[app_id]": { "type": "integer", - "description": "When you register a new GitHub App, GitHub Enterprise Server sends a ping event to the **webhook URL** you specified during registration. The event contains the `app_id`, which is required for [authenticating](https://docs.github.com/en/enterprise-server@3.0/apps/building-integrations/setting-up-and-registering-github-apps/about-authentication-options-for-github-apps) an app." + "description": "When you register a new GitHub App, GitHub Enterprise Server sends a ping event to the **webhook URL** you specified during registration. The event contains the `app_id`, which is required for [authenticating](https://docs.github.com/en/enterprise-server@3.4/apps/building-integrations/setting-up-and-registering-github-apps/about-authentication-options-for-github-apps) an app." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "sender": { "type": "object", @@ -8831,7 +9049,7 @@ }, { "name": "project", - "description": "Activity related to project boards. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[projects](https://docs.github.com/en/enterprise-server@3.0/rest/reference/projects)\" REST API.", + "description": "Activity related to project boards. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[projects](https://docs.github.com/en/enterprise-server@3.4/rest/reference/projects)\" REST API.", "actions": ["closed", "created", "deleted", "edited", "reopened"], "properties": { "changes": { @@ -8848,15 +9066,15 @@ }, "project": { "type": "object", - "description": "The [project](https://docs.github.com/en/enterprise-server@3.0/rest/reference/projects) itself." + "description": "The [project](https://docs.github.com/en/enterprise-server@3.4/rest/reference/projects) itself." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -9039,7 +9257,7 @@ }, { "name": "project_card", - "description": "Activity related to project cards. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[project cards](https://docs.github.com/en/enterprise-server@3.0/rest/reference/projects#cards)\" REST API.", + "description": "Activity related to project cards. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[project cards](https://docs.github.com/en/enterprise-server@3.4/rest/reference/projects#cards)\" REST API.", "actions": ["converted", "created", "deleted", "edited", "moved"], "properties": { "changes": { @@ -9056,15 +9274,15 @@ }, "project_card": { "type": "object", - "description": "The [project card](https://docs.github.com/en/enterprise-server@3.0/rest/reference/projects#cards) itself." + "description": "The [project card](https://docs.github.com/en/enterprise-server@3.4/rest/reference/projects#cards) itself." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -9241,7 +9459,7 @@ }, { "name": "project_column", - "description": "Activity related to columns in a project board. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[project columns](https://docs.github.com/en/enterprise-server@3.0/rest/reference/projects#columns)\" REST API.", + "description": "Activity related to columns in a project board. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[project columns](https://docs.github.com/en/enterprise-server@3.4/rest/reference/projects#columns)\" REST API.", "actions": ["created", "deleted", "edited", "moved"], "properties": { "changes": { @@ -9258,15 +9476,15 @@ }, "project_column": { "type": "object", - "description": "The [project column](https://docs.github.com/en/enterprise-server@3.0/rest/reference/projects#columns) itself." + "description": "The [project column](https://docs.github.com/en/enterprise-server@3.4/rest/reference/projects#columns) itself." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -9430,11 +9648,11 @@ "properties": { "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -9582,9 +9800,11 @@ }, { "name": "pull_request", - "description": "Activity related to pull requests. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull requests](https://docs.github.com/en/enterprise-server@3.0/rest/reference/pulls)\" REST API.", + "description": "Activity related to pull requests. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull requests](https://docs.github.com/en/enterprise-server@3.4/rest/reference/pulls)\" REST API.", "actions": [ "assigned", + "auto_merge_disabled", + "auto_merge_enabled", "closed", "converted_to_draft", "edited", @@ -9620,15 +9840,15 @@ }, "pull_request": { "type": "object", - "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.0/rest/reference/pulls) itself." + "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.4/rest/reference/pulls) itself." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -12502,12 +12722,12 @@ }, { "name": "pull_request_review", - "description": "Activity related to pull request reviews. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull request reviews](https://docs.github.com/en/enterprise-server@3.0/rest/reference/pulls#reviews)\" REST API.", + "description": "Activity related to pull request reviews. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull request reviews](https://docs.github.com/en/enterprise-server@3.4/rest/reference/pulls#reviews)\" REST API.", "actions": ["dismissed", "edited", "submitted"], "properties": { "pull_request": { "type": "object", - "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.0/rest/reference/pulls) the review pertains to." + "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.4/rest/reference/pulls) the review pertains to." }, "review": { "type": "object", @@ -12519,11 +12739,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -13026,7 +13246,7 @@ }, { "name": "pull_request_review_comment", - "description": "Activity related to pull request review comments in the pull request's unified diff. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull request review comments](https://docs.github.com/en/enterprise-server@3.0/rest/reference/pulls#comments)\" REST API.", + "description": "Activity related to pull request review comments in the pull request's unified diff. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull request review comments](https://docs.github.com/en/enterprise-server@3.4/rest/reference/pulls#comments)\" REST API.", "actions": ["created", "deleted", "edited"], "properties": { "changes": { @@ -13039,19 +13259,19 @@ }, "pull_request": { "type": "object", - "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.0/rest/reference/pulls) the comment belongs to." + "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.4/rest/reference/pulls) the comment belongs to." }, "comment": { "type": "object", - "description": "The [comment](https://docs.github.com/en/enterprise-server@3.0/rest/reference/pulls#comments) itself." + "description": "The [comment](https://docs.github.com/en/enterprise-server@3.4/rest/reference/pulls#comments) itself." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -13096,7 +13316,7 @@ "type": "User", "site_admin": false }, - "body": "Maybe you should use more emojji on this line.", + "body": "Maybe you should use more emoji on this line.", "created_at": "2019-05-15T19:38:07Z", "updated_at": "2019-05-15T19:38:08Z", "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2", @@ -13562,6 +13782,38 @@ } ] }, + { + "name": "pull_request_review_thread", + "description": "Activity related to a comment thread on a pull request being marked as resolved or unresolved. The type of activity is specified in the `action` property of the payload object.", + "properties": { + "pull_request": { + "type": "object", + "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.4/rest/reference/pulls) the thread pertains to." + }, + "thread": { + "type": "object", + "description": "The thread that was affected." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["resolved", "unresolved"], + "examples": [] + }, { "name": "push", "description": "One or more commits are pushed to a repository branch or tag.", @@ -13569,7 +13821,7 @@ "properties": { "ref": { "type": "string", - "description": "The full [`git ref`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/git#refs) that was pushed. Example: `refs/heads/main` or `refs/tags/v3.14.1`." + "description": "The full [`git ref`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/git#refs) that was pushed. Example: `refs/heads/main` or `refs/tags/v3.14.1`." }, "before": { "type": "string", @@ -13653,11 +13905,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -13671,15 +13923,35 @@ "examples": [ { "ref": "refs/tags/simple-tag", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "0000000000000000000000000000000000000000", - "created": false, - "deleted": true, + "before": "0000000000000000000000000000000000000000", + "after": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "created": true, + "deleted": false, "forced": false, "base_ref": null, - "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000", + "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/simple-tag", "commits": [], - "head_commit": null, + "head_commit": { + "id": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "tree_id": "4b825dc642cb6eb9a060e54bf8d69288fbee4904", + "distinct": true, + "message": "Adding a .gitignore file", + "timestamp": "2019-05-15T15:20:41Z", + "url": "https://octocoders.github.io/Codertocat/Hello-World/commit/6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "author": { + "name": "Codertocat", + "email": "Codertocat@Octocoders.io", + "username": "Codertocat" + }, + "committer": { + "name": "Codertocat", + "email": "Codertocat@Octocoders.io", + "username": "Codertocat" + }, + "added": [".gitignore"], + "removed": [], + "modified": [] + }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -13820,7 +14092,7 @@ }, { "name": "release", - "description": "Activity related to a release. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[releases](https://docs.github.com/en/enterprise-server@3.0/rest/reference/releases)\" REST API.", + "description": "Activity related to a release. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[releases](https://docs.github.com/en/enterprise-server@3.4/rest/reference/releases)\" REST API.", "actions": [ "created", "deleted", @@ -13841,15 +14113,15 @@ }, "release": { "type": "object", - "description": "The [release](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos/#get-a-release) object." + "description": "The [release](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos/#get-a-release) object." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -14037,14 +14309,14 @@ }, { "name": "repository_dispatch", - "description": "This event occurs when a GitHub App sends a `POST` request to the \"[Create a repository dispatch event](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#create-a-repository-dispatch-event)\" endpoint.", + "description": "This event occurs when a GitHub App sends a `POST` request to the \"[Create a repository dispatch event](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#create-a-repository-dispatch-event)\" endpoint.", "properties": {}, "actions": [], "examples": [] }, { "name": "repository", - "description": "Activity related to a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[repositories](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos)\" REST API.", + "description": "Activity related to a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[repositories](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos)\" REST API.", "actions": [ "anonymous_access_disabled", "anonymous_access_enabled", @@ -14061,11 +14333,11 @@ "properties": { "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -14631,9 +14903,176 @@ } ] }, + { + "name": "secret_scanning_alert", + "description": "Activity related to secret scanning alerts in a repository. The type of activity is specified in the action property of the payload object. For more information, see the \"[secret scanning API](https://docs.github.com/en/enterprise-server@3.4/rest/secret-scanning).\"", + "actions": ["created", "reopened", "resolved"], + "properties": { + "alert": { + "type": "object", + "description": "The secret scanning alert involved in the event." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "If the `action` is `resolved` or `reopened`, the `sender` object will be the user that triggered the event. The `sender` object is empty for all other actions." + } + }, + "examples": [ + { + "action": "reopened", + "alert": { + "number": 191, + "secret_type": "adafruit_io_key", + "resolution": null, + "resolved_by": null, + "resolved_at": null + }, + "repository": { + "id": 257423561, + "node_id": "MDEwOlJlcG9zaXRvcnkyNTc0MjM1NjE=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": true, + "owner": { + "login": "Codertocat", + "id": 30846345, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1", + "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2020-04-20T22:59:11Z", + "updated_at": "2020-11-24T01:37:33Z", + "pushed_at": "2020-11-24T01:37:31Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 1156, + "stargazers_count": 0, + "watchers_count": 0, + "language": "JavaScript", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "Codertocat", + "id": 30846345, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1", + "url": "https://api.github.com/orgs/Codertocat", + "repos_url": "https://api.github.com/orgs/Codertocat/repos", + "events_url": "https://api.github.com/orgs/Codertocat/events", + "hooks_url": "https://api.github.com/orgs/Codertocat/hooks", + "issues_url": "https://api.github.com/orgs/Codertocat/issues", + "members_url": "https://api.github.com/orgs/Codertocat/members{/member}", + "public_members_url": "https://api.github.com/orgs/Codertocat/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4", + "description": "Demos and testing of GitHub security products" + }, + "sender": { + "login": "Codertocat", + "id": 10136561, + "node_id": "MDQ6VXNlcjEwMTM2NTYx", + "avatar_url": "https://avatars1.githubusercontent.com/u/10136561?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": true + } + } + ] + }, { "name": "security_advisory", - "description": "Activity related to a security advisory that has been reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub.\n\nThe security advisory dataset also powers the GitHub Dependabot alerts. For more information, see \"[About alerts for vulnerable dependencies](https://docs.github.com/en/enterprise-server@3.0/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies).\"", + "description": "Activity related to a security advisory that has been reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub.\n\nThe security advisory dataset also powers the GitHub Dependabot alerts. For more information, see \"[About Dependabot alerts](https://docs.github.com/en/enterprise-server@3.4/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies).\"", "properties": { "security_advisory": { "type": "object", @@ -14645,7 +15084,7 @@ }, { "name": "star", - "description": "Activity related to a repository being starred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[starring](https://docs.github.com/en/enterprise-server@3.0/rest/reference/activity#starring)\" REST API.", + "description": "Activity related to a repository being starred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[starring](https://docs.github.com/en/enterprise-server@3.4/rest/reference/activity#starring)\" REST API.", "properties": { "starred_at": { "type": "string", @@ -14653,11 +15092,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "sender": { "type": "object", @@ -14669,7 +15108,7 @@ }, { "name": "status", - "description": "When the status of a Git commit changes. For more information, see the \"[statuses](https://docs.github.com/en/enterprise-server@3.0/rest/reference/commits#commit-statuses)\" REST API.", + "description": "When the status of a Git commit changes. For more information, see the \"[statuses](https://docs.github.com/en/enterprise-server@3.4/rest/reference/commits#commit-statuses)\" REST API.", "actions": [], "properties": { "id": { @@ -14695,11 +15134,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -14936,7 +15375,7 @@ }, { "name": "team", - "description": "Activity related to an organization's team. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[teams](https://docs.github.com/en/enterprise-server@3.0/rest/reference/teams)\" REST API.", + "description": "Activity related to an organization's team. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[teams](https://docs.github.com/en/enterprise-server@3.4/rest/reference/teams)\" REST API.", "actions": [ "added_to_repository", "created", @@ -14980,7 +15419,7 @@ }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "sender": { "type": "object", @@ -15479,20 +15918,20 @@ }, { "name": "team_add", - "description": "When a [repository is added to a team](https://docs.github.com/en/enterprise-server@3.0/rest/reference/teams#add-or-update-team-repository-permissions).", + "description": "When a [repository is added to a team](https://docs.github.com/en/enterprise-server@3.4/rest/reference/teams#add-or-update-team-repository-permissions).", "actions": [], "properties": { "team": { "type": "object", - "description": "The [team](https://docs.github.com/en/enterprise-server@3.0/rest/reference/teams) that was modified. **Note:** Older events may not include this in the payload." + "description": "The [team](https://docs.github.com/en/enterprise-server@3.4/rest/reference/teams) that was modified. **Note:** Older events may not include this in the payload." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -15667,6 +16106,49 @@ "actions": ["created", "deleted"], "properties": {}, "examples": [ + { + "user": { + "login": "Octocat", + "id": 12, + "node_id": "MDQ6VXNlcjEy", + "avatar_url": "https://octocoders.github.io/avatars/u/12?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Octocat", + "html_url": "https://octocoders.github.io/Octocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", + "type": "User", + "site_admin": false + }, + "action": "created", + "sender": { + "login": "Octocat", + "id": 12, + "node_id": "MDQ6VXNlcjEy", + "avatar_url": "https://octocoders.github.io/avatars/u/12?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Octocat", + "html_url": "https://octocoders.github.io/Octocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", + "type": "User", + "site_admin": false + } + }, { "user": { "login": "Snowtocat", @@ -15776,64 +16258,21 @@ "type": "User", "site_admin": true } - }, - { - "user": { - "login": "Octocat", - "id": 12, - "node_id": "MDQ6VXNlcjEy", - "avatar_url": "https://octocoders.github.io/avatars/u/12?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocat", - "html_url": "https://octocoders.github.io/Octocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", - "type": "User", - "site_admin": false - }, - "action": "created", - "sender": { - "login": "Octocat", - "id": 12, - "node_id": "MDQ6VXNlcjEy", - "avatar_url": "https://octocoders.github.io/avatars/u/12?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocat", - "html_url": "https://octocoders.github.io/Octocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", - "type": "User", - "site_admin": false - } } ] }, { "name": "watch", - "description": "When someone stars a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[starring](https://docs.github.com/en/enterprise-server@3.0/rest/reference/activity#starring)\" REST API.\n\nThe event’s actor is the [user](https://docs.github.com/en/enterprise-server@3.0/rest/reference/users) who starred a repository, and the event’s repository is the [repository](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos) that was starred.", + "description": "When someone stars a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[starring](https://docs.github.com/en/enterprise-server@3.4/rest/reference/activity#starring)\" REST API.\n\nThe event’s actor is the [user](https://docs.github.com/en/enterprise-server@3.4/rest/reference/users) who starred a repository, and the event’s repository is the [repository](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos) that was starred.", "actions": ["started"], "properties": { "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -15982,14 +16421,87 @@ }, { "name": "workflow_dispatch", - "description": "This event occurs when someone triggers a workflow run on GitHub or sends a `POST` request to the \"[Create a workflow dispatch event](https://docs.github.com/en/enterprise-server@3.0/rest/reference/actions/#create-a-workflow-dispatch-event)\" endpoint. For more information, see \"[Events that trigger workflows](https://docs.github.com/en/enterprise-server@3.0/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"", - "properties": {}, + "description": "This event occurs when someone triggers a workflow run on GitHub or sends a `POST` request to the \"[Create a workflow dispatch event](https://docs.github.com/en/enterprise-server@3.4/rest/reference/actions/#create-a-workflow-dispatch-event)\" endpoint. For more information, see \"[Events that trigger workflows](https://docs.github.com/en/enterprise-server@3.4/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"", + "properties": { + "inputs": { + "type": "object", + "description": "Inputs to the workflow. Each key represents the name of the input while it's value represents the value of that input." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "ref": { + "type": "string", + "description": "The branch ref from which the workflow was run." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + }, + "workflow": { + "type": "string", + "description": "Relative path to the workflow file which contains the workflow." + } + }, "actions": [], "examples": [] }, + { + "name": "workflow_job", + "description": "A GitHub Actions workflow job has been queued, is in progress, or has been completed on a repository. The type of activity is specified in the `action` property of the payload object.", + "properties": { + "workflow_job": { + "type": "object", + "description": "The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object." + }, + "workflow_job[status]": { + "type": "string", + "description": "The current status of the job. Can be `queued`, `in_progress`, or `completed`." + }, + "workflow_job[labels]": { + "type": "array", + "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/en/enterprise-server@3.4/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML." + }, + "workflow_job[runner_id]": { + "type": "integer", + "description": "The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`." + }, + "workflow_job[runner_name]": { + "type": "string", + "description": "The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`." + }, + "workflow_job[runner_group_id]": { + "type": "integer", + "description": "The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`." + }, + "workflow_job[runner_group_name]": { + "type": "string", + "description": "The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["completed", "in_progress", "queued"], + "examples": [] + }, { "name": "workflow_run", - "description": "When a GitHub Actions workflow run is requested or completed. For more information, see \"[Events that trigger workflows](https://docs.github.com/en/enterprise-server@3.0/actions/reference/events-that-trigger-workflows#workflow_run).\"", + "description": "When a GitHub Actions workflow run is requested or completed. For more information, see \"[Events that trigger workflows](https://docs.github.com/en/enterprise-server@3.4/actions/reference/events-that-trigger-workflows#workflow_run).\"", "properties": { "workflow_run": { "type": "object", @@ -16001,11 +16513,11 @@ }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.0/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.4/rest/reference/repos#get-a-repository) where the event occurred." }, "sender": { "type": "object", diff --git a/payload-examples/ghes-221/installation/created.payload.json b/payload-examples/ghes-34/installation/created.json similarity index 100% rename from payload-examples/ghes-221/installation/created.payload.json rename to payload-examples/ghes-34/installation/created.json diff --git a/payload-examples/ghes-221/installation/deleted.payload.json b/payload-examples/ghes-34/installation/deleted.json similarity index 100% rename from payload-examples/ghes-221/installation/deleted.payload.json rename to payload-examples/ghes-34/installation/deleted.json diff --git a/payload-examples/ghes-221/installation_repositories/added.payload.json b/payload-examples/ghes-34/installation_repositories/added.json similarity index 100% rename from payload-examples/ghes-221/installation_repositories/added.payload.json rename to payload-examples/ghes-34/installation_repositories/added.json diff --git a/payload-examples/ghes-221/installation_repositories/removed.payload.json b/payload-examples/ghes-34/installation_repositories/removed.json similarity index 100% rename from payload-examples/ghes-221/installation_repositories/removed.payload.json rename to payload-examples/ghes-34/installation_repositories/removed.json diff --git a/payload-examples/ghes-222/installation/created.payload.json b/payload-examples/ghes-34/integration_installation/created.json similarity index 100% rename from payload-examples/ghes-222/installation/created.payload.json rename to payload-examples/ghes-34/integration_installation/created.json diff --git a/payload-examples/ghes-222/installation/deleted.payload.json b/payload-examples/ghes-34/integration_installation/deleted.json similarity index 100% rename from payload-examples/ghes-222/installation/deleted.payload.json rename to payload-examples/ghes-34/integration_installation/deleted.json diff --git a/payload-examples/ghes-30/installation_repositories/added.payload.json b/payload-examples/ghes-34/integration_installation_repositories/added.json similarity index 98% rename from payload-examples/ghes-30/installation_repositories/added.payload.json rename to payload-examples/ghes-34/integration_installation_repositories/added.json index 54a5e3686..c520b8124 100644 --- a/payload-examples/ghes-30/installation_repositories/added.payload.json +++ b/payload-examples/ghes-34/integration_installation_repositories/added.json @@ -31,18 +31,18 @@ "target_type": "User", "permissions": { "administration": "write", - "repository_pre_receive_hooks": "write", - "statuses": "write", - "repository_projects": "write", - "repository_hooks": "write", - "pull_requests": "write", - "pages": "write", - "issues": "write", - "deployments": "write", - "contents": "write", "checks": "write", - "vulnerability_alerts": "read", - "metadata": "read" + "contents": "write", + "deployments": "write", + "issues": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "repository_pre_receive_hooks": "write", + "metadata": "read", + "vulnerability_alerts": "read" }, "events": [ "check_run", diff --git a/payload-examples/ghes-222/installation_repositories/removed.payload.json b/payload-examples/ghes-34/integration_installation_repositories/removed.json similarity index 100% rename from payload-examples/ghes-222/installation_repositories/removed.payload.json rename to payload-examples/ghes-34/integration_installation_repositories/removed.json diff --git a/payload-examples/ghes-221/issue_comment/created.payload.json b/payload-examples/ghes-34/issue_comment/created.json similarity index 100% rename from payload-examples/ghes-221/issue_comment/created.payload.json rename to payload-examples/ghes-34/issue_comment/created.json diff --git a/payload-examples/ghes-221/issue_comment/deleted.payload.json b/payload-examples/ghes-34/issue_comment/deleted.json similarity index 100% rename from payload-examples/ghes-221/issue_comment/deleted.payload.json rename to payload-examples/ghes-34/issue_comment/deleted.json diff --git a/payload-examples/ghes-221/issue_comment/edited.payload.json b/payload-examples/ghes-34/issue_comment/edited.json similarity index 100% rename from payload-examples/ghes-221/issue_comment/edited.payload.json rename to payload-examples/ghes-34/issue_comment/edited.json diff --git a/payload-examples/ghes-221/issues/assigned.payload.json b/payload-examples/ghes-34/issues/assigned.json similarity index 100% rename from payload-examples/ghes-221/issues/assigned.payload.json rename to payload-examples/ghes-34/issues/assigned.json diff --git a/payload-examples/ghes-221/issues/demilestoned.payload.json b/payload-examples/ghes-34/issues/demilestoned.json similarity index 100% rename from payload-examples/ghes-221/issues/demilestoned.payload.json rename to payload-examples/ghes-34/issues/demilestoned.json diff --git a/payload-examples/ghes-221/issues/edited.payload.json b/payload-examples/ghes-34/issues/edited.json similarity index 100% rename from payload-examples/ghes-221/issues/edited.payload.json rename to payload-examples/ghes-34/issues/edited.json diff --git a/payload-examples/ghes-221/issues/labeled.payload.json b/payload-examples/ghes-34/issues/labeled.json similarity index 100% rename from payload-examples/ghes-221/issues/labeled.payload.json rename to payload-examples/ghes-34/issues/labeled.json diff --git a/payload-examples/ghes-221/issues/milestoned.payload.json b/payload-examples/ghes-34/issues/milestoned.json similarity index 100% rename from payload-examples/ghes-221/issues/milestoned.payload.json rename to payload-examples/ghes-34/issues/milestoned.json diff --git a/payload-examples/ghes-221/issues/opened.payload.json b/payload-examples/ghes-34/issues/opened.json similarity index 100% rename from payload-examples/ghes-221/issues/opened.payload.json rename to payload-examples/ghes-34/issues/opened.json diff --git a/payload-examples/ghes-221/issues/unassigned.payload.json b/payload-examples/ghes-34/issues/unassigned.json similarity index 100% rename from payload-examples/ghes-221/issues/unassigned.payload.json rename to payload-examples/ghes-34/issues/unassigned.json diff --git a/payload-examples/ghes-221/issues/unlabeled.payload.json b/payload-examples/ghes-34/issues/unlabeled.json similarity index 100% rename from payload-examples/ghes-221/issues/unlabeled.payload.json rename to payload-examples/ghes-34/issues/unlabeled.json diff --git a/payload-examples/ghes-221/label/created.payload.json b/payload-examples/ghes-34/label/created.json similarity index 100% rename from payload-examples/ghes-221/label/created.payload.json rename to payload-examples/ghes-34/label/created.json diff --git a/payload-examples/ghes-221/label/deleted.payload.json b/payload-examples/ghes-34/label/deleted.json similarity index 100% rename from payload-examples/ghes-221/label/deleted.payload.json rename to payload-examples/ghes-34/label/deleted.json diff --git a/payload-examples/ghes-221/label/edited.payload.json b/payload-examples/ghes-34/label/edited.json similarity index 100% rename from payload-examples/ghes-221/label/edited.payload.json rename to payload-examples/ghes-34/label/edited.json diff --git a/payload-examples/ghes-221/member/added.payload.json b/payload-examples/ghes-34/member/added.json similarity index 100% rename from payload-examples/ghes-221/member/added.payload.json rename to payload-examples/ghes-34/member/added.json diff --git a/payload-examples/ghes-221/membership/added.payload.json b/payload-examples/ghes-34/membership/added.json similarity index 100% rename from payload-examples/ghes-221/membership/added.payload.json rename to payload-examples/ghes-34/membership/added.json diff --git a/payload-examples/ghes-221/membership/removed.payload.json b/payload-examples/ghes-34/membership/removed.json similarity index 100% rename from payload-examples/ghes-221/membership/removed.payload.json rename to payload-examples/ghes-34/membership/removed.json diff --git a/payload-examples/ghes-221/milestone/closed.payload.json b/payload-examples/ghes-34/milestone/closed.json similarity index 100% rename from payload-examples/ghes-221/milestone/closed.payload.json rename to payload-examples/ghes-34/milestone/closed.json diff --git a/payload-examples/ghes-221/milestone/created.payload.json b/payload-examples/ghes-34/milestone/created.json similarity index 100% rename from payload-examples/ghes-221/milestone/created.payload.json rename to payload-examples/ghes-34/milestone/created.json diff --git a/payload-examples/ghes-221/milestone/deleted.payload.json b/payload-examples/ghes-34/milestone/deleted.json similarity index 100% rename from payload-examples/ghes-221/milestone/deleted.payload.json rename to payload-examples/ghes-34/milestone/deleted.json diff --git a/payload-examples/ghes-221/organization/member_added.payload.json b/payload-examples/ghes-34/organization/member_added.json similarity index 100% rename from payload-examples/ghes-221/organization/member_added.payload.json rename to payload-examples/ghes-34/organization/member_added.json diff --git a/payload-examples/ghes-221/organization/member_removed.payload.json b/payload-examples/ghes-34/organization/member_removed.json similarity index 100% rename from payload-examples/ghes-221/organization/member_removed.payload.json rename to payload-examples/ghes-34/organization/member_removed.json diff --git a/payload-examples/ghes-221/page_build/event.payload.json b/payload-examples/ghes-34/page_build/payload.json similarity index 100% rename from payload-examples/ghes-221/page_build/event.payload.json rename to payload-examples/ghes-34/page_build/payload.json diff --git a/payload-examples/ghes-221/ping/event.payload.json b/payload-examples/ghes-34/ping/payload.json similarity index 100% rename from payload-examples/ghes-221/ping/event.payload.json rename to payload-examples/ghes-34/ping/payload.json diff --git a/payload-examples/ghes-221/project/created.payload.json b/payload-examples/ghes-34/project/created.json similarity index 100% rename from payload-examples/ghes-221/project/created.payload.json rename to payload-examples/ghes-34/project/created.json diff --git a/payload-examples/ghes-221/project_card/created.payload.json b/payload-examples/ghes-34/project_card/created.json similarity index 100% rename from payload-examples/ghes-221/project_card/created.payload.json rename to payload-examples/ghes-34/project_card/created.json diff --git a/payload-examples/ghes-221/project_column/created.payload.json b/payload-examples/ghes-34/project_column/created.json similarity index 100% rename from payload-examples/ghes-221/project_column/created.payload.json rename to payload-examples/ghes-34/project_column/created.json diff --git a/payload-examples/ghes-221/public/event.payload.json b/payload-examples/ghes-34/public/payload.json similarity index 100% rename from payload-examples/ghes-221/public/event.payload.json rename to payload-examples/ghes-34/public/payload.json diff --git a/payload-examples/ghes-221/pull_request/assigned.payload.json b/payload-examples/ghes-34/pull_request/assigned.json similarity index 100% rename from payload-examples/ghes-221/pull_request/assigned.payload.json rename to payload-examples/ghes-34/pull_request/assigned.json diff --git a/payload-examples/ghes-221/pull_request/closed.payload.json b/payload-examples/ghes-34/pull_request/closed.json similarity index 100% rename from payload-examples/ghes-221/pull_request/closed.payload.json rename to payload-examples/ghes-34/pull_request/closed.json diff --git a/payload-examples/ghes-221/pull_request/labeled.payload.json b/payload-examples/ghes-34/pull_request/labeled.json similarity index 100% rename from payload-examples/ghes-221/pull_request/labeled.payload.json rename to payload-examples/ghes-34/pull_request/labeled.json diff --git a/payload-examples/ghes-221/pull_request/opened.payload.json b/payload-examples/ghes-34/pull_request/opened.json similarity index 100% rename from payload-examples/ghes-221/pull_request/opened.payload.json rename to payload-examples/ghes-34/pull_request/opened.json diff --git a/payload-examples/ghes-221/pull_request/unassigned.payload.json b/payload-examples/ghes-34/pull_request/unassigned.json similarity index 100% rename from payload-examples/ghes-221/pull_request/unassigned.payload.json rename to payload-examples/ghes-34/pull_request/unassigned.json diff --git a/payload-examples/ghes-221/pull_request/unlabeled.payload.json b/payload-examples/ghes-34/pull_request/unlabeled.json similarity index 100% rename from payload-examples/ghes-221/pull_request/unlabeled.payload.json rename to payload-examples/ghes-34/pull_request/unlabeled.json diff --git a/payload-examples/ghes-221/pull_request_review/submitted.payload.json b/payload-examples/ghes-34/pull_request_review/submitted.json similarity index 100% rename from payload-examples/ghes-221/pull_request_review/submitted.payload.json rename to payload-examples/ghes-34/pull_request_review/submitted.json diff --git a/payload-examples/ghes-221/pull_request_review_comment/created.payload.json b/payload-examples/ghes-34/pull_request_review_comment/created.json similarity index 99% rename from payload-examples/ghes-221/pull_request_review_comment/created.payload.json rename to payload-examples/ghes-34/pull_request_review_comment/created.json index d341a497d..f38411732 100644 --- a/payload-examples/ghes-221/pull_request_review_comment/created.payload.json +++ b/payload-examples/ghes-34/pull_request_review_comment/created.json @@ -31,7 +31,7 @@ "type": "User", "site_admin": false }, - "body": "Maybe you should use more emojji on this line.", + "body": "Maybe you should use more emoji on this line.", "created_at": "2019-05-15T19:38:07Z", "updated_at": "2019-05-15T19:38:08Z", "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2", diff --git a/payload-examples/ghes-221/push/event.payload.json b/payload-examples/ghes-34/push/payload.json similarity index 90% rename from payload-examples/ghes-221/push/event.payload.json rename to payload-examples/ghes-34/push/payload.json index 3f4b13ee1..4f55c82d2 100644 --- a/payload-examples/ghes-221/push/event.payload.json +++ b/payload-examples/ghes-34/push/payload.json @@ -1,14 +1,34 @@ { "ref": "refs/tags/simple-tag", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "0000000000000000000000000000000000000000", - "created": false, - "deleted": true, + "before": "0000000000000000000000000000000000000000", + "after": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "created": true, + "deleted": false, "forced": false, "base_ref": null, - "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000", + "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/simple-tag", "commits": [], - "head_commit": null, + "head_commit": { + "id": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "tree_id": "4b825dc642cb6eb9a060e54bf8d69288fbee4904", + "distinct": true, + "message": "Adding a .gitignore file", + "timestamp": "2019-05-15T15:20:41Z", + "url": "https://octocoders.github.io/Codertocat/Hello-World/commit/6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "author": { + "name": "Codertocat", + "email": "Codertocat@Octocoders.io", + "username": "Codertocat" + }, + "committer": { + "name": "Codertocat", + "email": "Codertocat@Octocoders.io", + "username": "Codertocat" + }, + "added": [".gitignore"], + "removed": [], + "modified": [] + }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", diff --git a/payload-examples/ghes-221/release/published.payload.json b/payload-examples/ghes-34/release/published.json similarity index 100% rename from payload-examples/ghes-221/release/published.payload.json rename to payload-examples/ghes-34/release/published.json diff --git a/payload-examples/ghes-221/repository/created.payload.json b/payload-examples/ghes-34/repository/created.json similarity index 100% rename from payload-examples/ghes-221/repository/created.payload.json rename to payload-examples/ghes-34/repository/created.json diff --git a/payload-examples/ghes-221/repository/deleted.payload.json b/payload-examples/ghes-34/repository/deleted.json similarity index 100% rename from payload-examples/ghes-221/repository/deleted.payload.json rename to payload-examples/ghes-34/repository/deleted.json diff --git a/payload-examples/ghes-221/repository/privatized.payload.json b/payload-examples/ghes-34/repository/privatized.json similarity index 100% rename from payload-examples/ghes-221/repository/privatized.payload.json rename to payload-examples/ghes-34/repository/privatized.json diff --git a/payload-examples/ghes-221/repository/publicized.payload.json b/payload-examples/ghes-34/repository/publicized.json similarity index 100% rename from payload-examples/ghes-221/repository/publicized.payload.json rename to payload-examples/ghes-34/repository/publicized.json diff --git a/payload-examples/ghes-34/secret_scanning_alert/reopened.json b/payload-examples/ghes-34/secret_scanning_alert/reopened.json new file mode 100644 index 000000000..31bcfa513 --- /dev/null +++ b/payload-examples/ghes-34/secret_scanning_alert/reopened.json @@ -0,0 +1,138 @@ +{ + "action": "reopened", + "alert": { + "number": 191, + "secret_type": "adafruit_io_key", + "resolution": null, + "resolved_by": null, + "resolved_at": null + }, + "repository": { + "id": 257423561, + "node_id": "MDEwOlJlcG9zaXRvcnkyNTc0MjM1NjE=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": true, + "owner": { + "login": "Codertocat", + "id": 30846345, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1", + "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2020-04-20T22:59:11Z", + "updated_at": "2020-11-24T01:37:33Z", + "pushed_at": "2020-11-24T01:37:31Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 1156, + "stargazers_count": 0, + "watchers_count": 0, + "language": "JavaScript", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "Codertocat", + "id": 30846345, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1", + "url": "https://api.github.com/orgs/Codertocat", + "repos_url": "https://api.github.com/orgs/Codertocat/repos", + "events_url": "https://api.github.com/orgs/Codertocat/events", + "hooks_url": "https://api.github.com/orgs/Codertocat/hooks", + "issues_url": "https://api.github.com/orgs/Codertocat/issues", + "members_url": "https://api.github.com/orgs/Codertocat/members{/member}", + "public_members_url": "https://api.github.com/orgs/Codertocat/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4", + "description": "Demos and testing of GitHub security products" + }, + "sender": { + "login": "Codertocat", + "id": 10136561, + "node_id": "MDQ6VXNlcjEwMTM2NTYx", + "avatar_url": "https://avatars1.githubusercontent.com/u/10136561?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": true + } +} diff --git a/payload-examples/ghes-221/status/event.payload.json b/payload-examples/ghes-34/status/payload.json similarity index 100% rename from payload-examples/ghes-221/status/event.payload.json rename to payload-examples/ghes-34/status/payload.json diff --git a/payload-examples/ghes-221/team/added_to_repository.payload.json b/payload-examples/ghes-34/team/added_to_repository.json similarity index 100% rename from payload-examples/ghes-221/team/added_to_repository.payload.json rename to payload-examples/ghes-34/team/added_to_repository.json diff --git a/payload-examples/ghes-221/team/created.payload.json b/payload-examples/ghes-34/team/created.json similarity index 100% rename from payload-examples/ghes-221/team/created.payload.json rename to payload-examples/ghes-34/team/created.json diff --git a/payload-examples/ghes-221/team/deleted.payload.json b/payload-examples/ghes-34/team/deleted.json similarity index 100% rename from payload-examples/ghes-221/team/deleted.payload.json rename to payload-examples/ghes-34/team/deleted.json diff --git a/payload-examples/ghes-221/team/edited.payload.json b/payload-examples/ghes-34/team/edited.json similarity index 100% rename from payload-examples/ghes-221/team/edited.payload.json rename to payload-examples/ghes-34/team/edited.json diff --git a/payload-examples/ghes-221/team/event.payload.json b/payload-examples/ghes-34/team/payload.json similarity index 100% rename from payload-examples/ghes-221/team/event.payload.json rename to payload-examples/ghes-34/team/payload.json diff --git a/payload-examples/ghes-221/team_add/event.payload.json b/payload-examples/ghes-34/team_add/payload.json similarity index 100% rename from payload-examples/ghes-221/team_add/event.payload.json rename to payload-examples/ghes-34/team_add/payload.json diff --git a/payload-examples/ghes-221/user/event.payload.json b/payload-examples/ghes-34/user/created.1.json similarity index 100% rename from payload-examples/ghes-221/user/event.payload.json rename to payload-examples/ghes-34/user/created.1.json diff --git a/payload-examples/ghes-221/user/created.payload.json b/payload-examples/ghes-34/user/created.json similarity index 100% rename from payload-examples/ghes-221/user/created.payload.json rename to payload-examples/ghes-34/user/created.json diff --git a/payload-examples/ghes-221/user/deleted.payload.json b/payload-examples/ghes-34/user/deleted.json similarity index 100% rename from payload-examples/ghes-221/user/deleted.payload.json rename to payload-examples/ghes-34/user/deleted.json diff --git a/payload-examples/ghes-221/watch/started.payload.json b/payload-examples/ghes-34/watch/started.json similarity index 100% rename from payload-examples/ghes-221/watch/started.payload.json rename to payload-examples/ghes-34/watch/started.json diff --git a/payload-examples/ghes-30/repository/publicized.payload.json b/payload-examples/ghes-35/cache_sync/synced.json similarity index 87% rename from payload-examples/ghes-30/repository/publicized.payload.json rename to payload-examples/ghes-35/cache_sync/synced.json index bd804634c..6c7111159 100644 --- a/payload-examples/ghes-30/repository/publicized.payload.json +++ b/payload-examples/ghes-35/cache_sync/synced.json @@ -1,5 +1,8 @@ { - "action": "publicized", + "cache_location": "morocco", + "ref": "refs/heads/main", + "before": "0000000000000000000000000000000000000000", + "after": "de40facb99837f9ca38a0d399b0d20fe135510eb", "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -67,8 +70,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -77,7 +80,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": "Ruby", + "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, @@ -107,27 +110,23 @@ "updated_at": "2019-05-14T19:31:12Z" }, "sender": { - "login": "Codertocat", + "login": "github-enterprise", "id": 4, "node_id": "MDQ6VXNlcjQ=", "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "url": "https://octocoders.github.io/api/v3/users/github-enterprise", + "html_url": "https://octocoders.github.io/github-enterprise", + "followers_url": "https://octocoders.github.io/api/v3/users/github-enterprise/followers", + "following_url": "https://octocoders.github.io/api/v3/users/github-enterprise/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/github-enterprise/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/github-enterprise/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/github-enterprise/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/github-enterprise/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/github-enterprise/repos", + "events_url": "https://octocoders.github.io/api/v3/users/github-enterprise/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/github-enterprise/received_events", "type": "User", "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } } diff --git a/payload-examples/ghes-222/check_run/completed.payload.json b/payload-examples/ghes-35/check_run/completed.json similarity index 100% rename from payload-examples/ghes-222/check_run/completed.payload.json rename to payload-examples/ghes-35/check_run/completed.json diff --git a/payload-examples/ghes-222/check_run/created.payload.json b/payload-examples/ghes-35/check_run/created.json similarity index 100% rename from payload-examples/ghes-222/check_run/created.payload.json rename to payload-examples/ghes-35/check_run/created.json diff --git a/payload-examples/ghes-222/check_suite/completed.payload.json b/payload-examples/ghes-35/check_suite/completed.json similarity index 100% rename from payload-examples/ghes-222/check_suite/completed.payload.json rename to payload-examples/ghes-35/check_suite/completed.json diff --git a/payload-examples/ghes-222/check_suite/requested.payload.json b/payload-examples/ghes-35/check_suite/requested.json similarity index 100% rename from payload-examples/ghes-222/check_suite/requested.payload.json rename to payload-examples/ghes-35/check_suite/requested.json diff --git a/payload-examples/ghes-222/check_suite/rerequested.payload.json b/payload-examples/ghes-35/check_suite/rerequested.json similarity index 100% rename from payload-examples/ghes-222/check_suite/rerequested.payload.json rename to payload-examples/ghes-35/check_suite/rerequested.json diff --git a/payload-examples/ghes-30/code_scanning_alert/reopened.payload.json b/payload-examples/ghes-35/code_scanning_alert/reopened.json similarity index 100% rename from payload-examples/ghes-30/code_scanning_alert/reopened.payload.json rename to payload-examples/ghes-35/code_scanning_alert/reopened.json diff --git a/payload-examples/ghes-222/commit_comment/created.payload.json b/payload-examples/ghes-35/commit_comment/created.json similarity index 100% rename from payload-examples/ghes-222/commit_comment/created.payload.json rename to payload-examples/ghes-35/commit_comment/created.json diff --git a/payload-examples/ghes-35/content_reference/created.json b/payload-examples/ghes-35/content_reference/created.json new file mode 100644 index 000000000..fa7743711 --- /dev/null +++ b/payload-examples/ghes-35/content_reference/created.json @@ -0,0 +1,125 @@ +{ + "action": "created", + "content_reference": { + "id": 17, + "node_id": "MDE2OkNvbnRlbnRSZWZlcmVuY2UxNjA5", + "reference": "https://errors.ai/" + }, + "repository": { + "id": 145551601, + "node_id": "MDEwOlJlcG9zaXRvcnkxNDU1NTE2MDE=", + "name": "hello-world", + "full_name": "octocoders/hello-world", + "private": true, + "owner": { + "login": "Codertocat", + "id": 7718702, + "node_id": "MDQ6VXNlcjc3MTg3MDI=", + "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": true + }, + "html_url": "https://github.com/Codertocat/hello-world", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/hello-world", + "forks_url": "https://api.github.com/repos/Codertocat/hello-world/forks", + "keys_url": "https://api.github.com/repos/Codertocat/hello-world/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/hello-world/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/hello-world/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/hello-world/events", + "assignees_url": "https://api.github.com/repos/Codertocat/hello-world/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/hello-world/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/hello-world/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/hello-world/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/hello-world/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/hello-world/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/hello-world/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/hello-world/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/hello-world/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/hello-world/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/hello-world/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/hello-world/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/hello-world/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/hello-world/merges", + "archive_url": "https://api.github.com/repos/Codertocat/hello-world/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/hello-world/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/hello-world/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/hello-world/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/hello-world/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/hello-world/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/hello-world/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/hello-world/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/hello-world/deployments", + "created_at": "2018-08-21T10:58:58Z", + "updated_at": "2018-08-21T10:59:01Z", + "pushed_at": "2018-08-21T10:59:00Z", + "git_url": "git://github.com/Codertocat/hello-world.git", + "ssh_url": "git@github.com:Codertocat/hello-world.git", + "clone_url": "https://github.com/Codertocat/hello-world.git", + "svn_url": "https://github.com/Codertocat/hello-world", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "sender": { + "login": "Codertocat", + "id": 7718702, + "node_id": "MDQ6VXNlcjc3MTg3MDI=", + "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": true + }, + "installation": { + "id": 371641, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzcxNjQx" + } +} diff --git a/payload-examples/ghes-222/create/event.payload.json b/payload-examples/ghes-35/create/payload.json similarity index 100% rename from payload-examples/ghes-222/create/event.payload.json rename to payload-examples/ghes-35/create/payload.json diff --git a/payload-examples/ghes-222/delete/event.payload.json b/payload-examples/ghes-35/delete/payload.json similarity index 100% rename from payload-examples/ghes-222/delete/event.payload.json rename to payload-examples/ghes-35/delete/payload.json diff --git a/payload-examples/ghes-222/deployment/event.payload.json b/payload-examples/ghes-35/deployment/payload.json similarity index 100% rename from payload-examples/ghes-222/deployment/event.payload.json rename to payload-examples/ghes-35/deployment/payload.json diff --git a/payload-examples/ghes-222/deployment_status/event.payload.json b/payload-examples/ghes-35/deployment_status/payload.json similarity index 100% rename from payload-examples/ghes-222/deployment_status/event.payload.json rename to payload-examples/ghes-35/deployment_status/payload.json diff --git a/payload-examples/ghes-222/enterprise/anonymous_access_enabled.payload.json b/payload-examples/ghes-35/enterprise/anonymous_access_enabled.json similarity index 100% rename from payload-examples/ghes-222/enterprise/anonymous_access_enabled.payload.json rename to payload-examples/ghes-35/enterprise/anonymous_access_enabled.json diff --git a/payload-examples/ghes-222/fork/event.payload.json b/payload-examples/ghes-35/fork/payload.json similarity index 100% rename from payload-examples/ghes-222/fork/event.payload.json rename to payload-examples/ghes-35/fork/payload.json diff --git a/payload-examples/ghes-222/gollum/event.payload.json b/payload-examples/ghes-35/gollum/payload.json similarity index 100% rename from payload-examples/ghes-222/gollum/event.payload.json rename to payload-examples/ghes-35/gollum/payload.json diff --git a/payload-examples/ghes-221/index.json b/payload-examples/ghes-35/index.json similarity index 69% rename from payload-examples/ghes-221/index.json rename to payload-examples/ghes-35/index.json index 8ef63146e..3bc3d85f2 100644 --- a/payload-examples/ghes-221/index.json +++ b/payload-examples/ghes-35/index.json @@ -1,12 +1,209 @@ [ + { + "name": "branch_protection_rule", + "description": "Activity related to a branch protection rule. For more information, see \"[About branch protection rules](https://docs.github.com/en/enterprise-server@3.5/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-rules).\"", + "properties": { + "rule": { + "type": "object", + "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/en/enterprise-server@3.5/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings." + }, + "changes": { + "type": "object", + "description": "If the action was `edited`, the changes to the rule." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["created", "deleted", "edited"], + "examples": [] + }, + { + "name": "cache_sync", + "description": "A Git ref has been successfully synced to a cache replica. For more information, see \"[About repository caching](https://docs.github.com/en/enterprise-server@3.5/admin/enterprise-management/caching-repositories/about-repository-caching).\"", + "actions": [], + "properties": { + "cache_location": { + "type": "string", + "description": "The location of the cache server that has been updated." + }, + "ref": { + "type": "string", + "description": "The ref that has been updated." + }, + "before": { + "type": "string", + "description": "The OID of the ref on the cache replica before it was updated." + }, + "after": { + "type": "string", + "description": "The OID of the ref on the cache replica after the update." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ + { + "cache_location": "morocco", + "ref": "refs/heads/main", + "before": "0000000000000000000000000000000000000000", + "after": "de40facb99837f9ca38a0d399b0d20fe135510eb", + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "github-enterprise", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/github-enterprise", + "html_url": "https://octocoders.github.io/github-enterprise", + "followers_url": "https://octocoders.github.io/api/v3/users/github-enterprise/followers", + "following_url": "https://octocoders.github.io/api/v3/users/github-enterprise/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/github-enterprise/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/github-enterprise/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/github-enterprise/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/github-enterprise/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/github-enterprise/repos", + "events_url": "https://octocoders.github.io/api/v3/users/github-enterprise/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/github-enterprise/received_events", + "type": "User", + "site_admin": false + } + } + ] + }, { "name": "check_run", - "description": "Check run activity has occurred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[check runs](https://docs.github.com/en/enterprise-server@2.21/rest/reference/checks#runs)\" REST API.", + "description": "Check run activity has occurred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[check runs](https://docs.github.com/en/enterprise-server@3.5/rest/reference/checks#runs)\" REST API.", "actions": ["completed", "created", "requested_action", "rerequested"], "properties": { "check_run": { "type": "object", - "description": "The [check\\_run](https://docs.github.com/en/enterprise-server@2.21/rest/reference/checks#get-a-check-run)." + "description": "The [check\\_run](https://docs.github.com/en/enterprise-server@3.5/rest/reference/checks#get-a-check-run)." }, "check_run[status]": { "type": "string", @@ -26,7 +223,11 @@ }, "check_run[check_suite][pull_requests]": { "type": "array", - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty." + "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_branch`. \n \n**Note:**\n\n* The `head_sha` of the check suite can differ from the `sha` of the pull request if subsequent pushes are made into the PR.\n* When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty." + }, + "check_run[check_suite][deployment]": { + "type": "object", + "description": "A deployment to a repository environment. This will only be populated if the check run was created by a GitHub Actions workflow job that references an environment." }, "requested_action": { "type": "object", @@ -38,11 +239,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -55,7 +256,7 @@ }, "examples": [ { - "action": "created", + "action": "completed", "check_run": { "id": 2, "node_id": "MDg6Q2hlY2tSdW4y", @@ -64,10 +265,10 @@ "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2", "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2", "details_url": "https://octocoders.io", - "status": "queued", - "conclusion": null, + "status": "completed", + "conclusion": "success", "started_at": "2019-05-15T19:39:04Z", - "completed_at": null, + "completed_at": "2019-05-15T19:39:04Z", "output": { "title": null, "summary": null, @@ -440,7 +641,7 @@ } }, { - "action": "completed", + "action": "created", "check_run": { "id": 2, "node_id": "MDg6Q2hlY2tSdW4y", @@ -449,10 +650,10 @@ "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2", "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2", "details_url": "https://octocoders.io", - "status": "completed", - "conclusion": "success", + "status": "queued", + "conclusion": null, "started_at": "2019-05-15T19:39:04Z", - "completed_at": "2019-05-15T19:39:04Z", + "completed_at": null, "output": { "title": null, "summary": null, @@ -823,151 +1024,97 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "check_suite", + "description": "Check suite activity has occurred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[check suites](https://docs.github.com/en/enterprise-server@3.5/rest/reference/checks#suites)\" REST API.", + "actions": ["completed", "requested", "rerequested"], + "properties": { + "check_suite": { + "type": "object", + "description": "The [check\\_suite](https://docs.github.com/en/enterprise-server@3.5/rest/reference/checks#suites)." + }, + "check_suite[head_branch]": { + "type": "string", + "description": "The head branch name the changes are on." + }, + "check_suite[head_sha]": { + "type": "string", + "description": "The SHA of the most recent commit for this check suite." + }, + "check_suite[status]": { + "type": "string", + "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`." + }, + "check_suite[conclusion]": { + "type": "string", + "description": "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has `completed`." + }, + "check_suite[url]": { + "type": "string", + "description": "URL that points to the check suite API resource." + }, + "check_suite[pull_requests]": { + "type": "array", + "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_branch`. \n \n**Note:**\n\n* The `head_sha` of the check suite can differ from the `sha` of the pull request if subsequent pushes are made into the PR.\n* When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "created", - "check_run": { - "id": 2, - "node_id": "MDg6Q2hlY2tSdW4y", + "action": "completed", + "check_suite": { + "id": 9, + "node_id": "MDEwOkNoZWNrU3VpdGU5", + "head_branch": "changes", "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "external_id": "", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/runs/2", - "details_url": "https://octocoders.io", - "status": "queued", - "conclusion": null, - "started_at": "2019-05-15T19:39:04Z", - "completed_at": null, - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-runs/2/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "queued", - "conclusion": null, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { + "status": "completed", + "conclusion": "success", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", + "before": "4544205a385319fd846d5df4ed2e3b8173529d78", + "after": "14977a7b5485400124827221a04bfb474bcd72d1", + "pull_requests": [ + { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" + "number": 2, + "head": { + "ref": "changes", + "sha": "14977a7b5485400124827221a04bfb474bcd72d1", + "repo": { + "id": 118, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "name": "Hello-World" + } }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, + "base": { + "ref": "master", + "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", + "repo": { + "id": 118, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "name": "Hello-World" + } + } + } + ], "app": { "id": 2, "node_id": "MDM6QXBwMg==", @@ -1052,31 +1199,24 @@ "watch" ] }, - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } + "created_at": "2019-05-15T19:38:27Z", + "updated_at": "2019-05-15T19:39:09Z", + "latest_check_runs_count": 1, + "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs", + "head_commit": { + "id": "14977a7b5485400124827221a04bfb474bcd72d1", + "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea", + "message": "Update README.md", + "timestamp": "2019-05-15T19:38:01Z", + "author": { + "name": "Codertocat", + "email": "Codertocat@Octocoders.io" + }, + "committer": { + "name": "Codertocat", + "email": "Codertocat@Octocoders.io" } - ] + } }, "repository": { "id": 118, @@ -1208,97 +1348,20 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } - } - ] - }, - { - "name": "check_suite", - "description": "Check suite activity has occurred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[check suites](https://docs.github.com/en/enterprise-server@2.21/rest/reference/checks#suites)\" REST API.", - "actions": ["completed", "requested", "rerequested"], - "properties": { - "check_suite": { - "type": "object", - "description": "The [check\\_suite](https://docs.github.com/en/enterprise-server@2.21/rest/reference/checks#suites)." - }, - "check_suite[head_branch]": { - "type": "string", - "description": "The head branch name the changes are on." - }, - "check_suite[head_sha]": { - "type": "string", - "description": "The SHA of the most recent commit for this check suite." - }, - "check_suite[status]": { - "type": "string", - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`." - }, - "check_suite[conclusion]": { - "type": "string", - "description": "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has `completed`." - }, - "check_suite[url]": { - "type": "string", - "description": "URL that points to the check suite API resource." - }, - "check_suite[pull_requests]": { - "type": "array", - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ { - "action": "completed", + "action": "requested", "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "completed", - "conclusion": "success", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", + "id": 10, + "node_id": "MDEwOkNoZWNrU3VpdGUxMA==", + "head_branch": "master", + "head_sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", + "status": "queued", + "conclusion": null, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/10", "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], + "after": "78a96099c3f442d7f6e8d1a7d07090091993e65a", + "pull_requests": [], "app": { "id": 2, "node_id": "MDM6QXBwMg==", @@ -1384,13 +1447,13 @@ ] }, "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:39:09Z", - "latest_check_runs_count": 1, - "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs", + "updated_at": "2019-05-15T19:38:27Z", + "latest_check_runs_count": 0, + "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/10/check-runs", "head_commit": { - "id": "14977a7b5485400124827221a04bfb474bcd72d1", - "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea", - "message": "Update README.md", + "id": "78a96099c3f442d7f6e8d1a7d07090091993e65a", + "tree_id": "c3e6e174b68ce629340ca817d52393dcf0aed707", + "message": "Add new gemfile", "timestamp": "2019-05-15T19:38:01Z", "author": { "name": "Codertocat", @@ -1534,7 +1597,7 @@ } }, { - "action": "completed", + "action": "rerequested", "check_suite": { "id": 9, "node_id": "MDEwOkNoZWNrU3VpdGU5", @@ -1780,157 +1843,113 @@ "updated_at": "2019-05-14T19:31:12Z" }, "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "login": "octocoders-linter[bot]", + "id": 14, + "node_id": "MDM6Qm90MTQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", + "url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D", + "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", + "followers_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/followers", + "following_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/repos", + "events_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/received_events", + "type": "Bot", "site_admin": false }, "installation": { "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "code_scanning_alert", + "description": "Activity related to code scanning alerts in a repository. The type of activity is specified in the action property of the payload object. For more information, see \"[About code scanning](https://docs.github.com/en/enterprise-server@3.5/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning).\"", + "actions": [ + "appeared_in_branch", + "closed_by_user", + "created", + "fixed", + "reopened", + "reopened_by_user" + ], + "properties": { + "alert": { + "type": "object", + "description": "The code scanning alert involved in the event." }, + "ref": { + "type": "string", + "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty." + }, + "commit_oid": { + "type": "string", + "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "If the `action` is `reopened_by_user` or `closed_by_user`, the `sender` object will be the user that triggered the event. The `sender` object is `github-enterprise` for all other actions." + } + }, + "examples": [ { - "action": "requested", - "check_suite": { - "id": 10, - "node_id": "MDEwOkNoZWNrU3VpdGUxMA==", - "head_branch": "master", - "head_sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "status": "queued", - "conclusion": null, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/10", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "pull_requests": [], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z", - "latest_check_runs_count": 0, - "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/10/check-runs", - "head_commit": { - "id": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "tree_id": "c3e6e174b68ce629340ca817d52393dcf0aed707", - "message": "Add new gemfile", - "timestamp": "2019-05-15T19:38:01Z", - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - }, - "committer": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" + "action": "reopened", + "alert": { + "number": 10, + "created_at": "2020-07-22T14:06:31Z", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/code-scanning/alerts/10", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/security/code-scanning/10", + "instances": [ + { + "ref": "refs/heads/main", + "analysis_key": ".github/workflows/workflow.yml:upload", + "environment": "{}", + "state": "open" } - } + ], + "state": "open", + "dismissed_by": null, + "dismissed_at": null, + "dismissed_reason": null, + "rule": { + "id": "Style/FrozenStringLiteralComment", + "severity": "note", + "description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default." + }, + "tool": { "name": "Rubocop", "version": null } }, + "ref": "refs/heads/main", + "commit_oid": "d6e4c75c141dbacecc279b721b8b9393d5405795", "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "id": 186853002, + "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", "name": "Hello-World", "full_name": "Codertocat/Hello-World", "private": false, "owner": { "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "id": 21031067, + "node_id": "MDQ6VXNlcjIxMDMxMDY3", + "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", "gravatar_id": "", "url": "https://octocoders.github.io/api/v3/users/Codertocat", "html_url": "https://octocoders.github.io/Codertocat", @@ -1986,9 +2005,9 @@ "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", + "created_at": "2019-05-15T15:19:25Z", + "updated_at": "2019-05-15T15:19:27Z", + "pushed_at": "2019-05-15T15:20:32Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -1997,7 +2016,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": "Ruby", + "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, @@ -2012,184 +2031,87 @@ "forks": 0, "open_issues": 2, "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" + "default_branch": "main" }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + "organization": { + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", + "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", + "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", + "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", + "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", + "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "description": "" } + } + ] + }, + { + "name": "commit_comment", + "description": "A commit comment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[commit comment](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#comments)\" REST API.", + "actions": ["created"], + "properties": { + "comment": { + "type": "object", + "description": "The [commit comment](https://docs.github.com/en/enterprise-server@3.5/rest/reference/commits#get-a-commit-comment) resource." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "rerequested", - "check_suite": { - "id": 9, - "node_id": "MDEwOkNoZWNrU3VpdGU5", - "head_branch": "changes", - "head_sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "status": "completed", - "conclusion": "success", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "14977a7b5485400124827221a04bfb474bcd72d1", - "pull_requests": [ - { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "number": 2, - "head": { - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "repo": { - "id": 118, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 2, - "node_id": "MDM6QXBwMg==", - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.io", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "created_at": "2019-05-15T15:41:35Z", - "updated_at": "2019-05-15T15:41:35Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "metadata": "read", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "vulnerability_alerts": "read", - "statuses": "write", - "members": "write", - "organization_user_blocking": "write", - "organization_projects": "write", - "team_discussions": "write", - "organization_hooks": "write", - "repository_pre_receive_hooks": "write", - "organization_pre_receive_hooks": "write" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ] + "action": "created", + "comment": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments/2", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78#commitcomment-2", + "id": 2, + "node_id": "MDEzOkNvbW1pdENvbW1lbnQy", + "user": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:39:09Z", - "latest_check_runs_count": 1, - "check_runs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/check-suites/9/check-runs", - "head_commit": { - "id": "14977a7b5485400124827221a04bfb474bcd72d1", - "tree_id": "31b122c26a97cf9af023e9ddab94a82c6e77b0ea", - "message": "Update README.md", - "timestamp": "2019-05-15T19:38:01Z", - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - }, - "committer": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io" - } - } + "position": null, + "line": null, + "path": null, + "commit_id": "4544205a385319fd846d5df4ed2e3b8173529d78", + "created_at": "2019-05-15T19:38:09Z", + "updated_at": "2019-05-15T19:38:09Z", + "author_association": "OWNER", + "body": "This is a really good change! :+1:" }, "repository": { "id": 118, @@ -2258,8 +2180,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -2268,7 +2190,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": "Ruby", + "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, @@ -2298,23 +2220,23 @@ "updated_at": "2019-05-14T19:31:12Z" }, "sender": { - "login": "octocoders-linter[bot]", - "id": 14, - "node_id": "MDM6Qm90MTQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D", - "html_url": "https://octocoders.github.io/github-apps/octocoders-linter", - "followers_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/followers", - "following_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/repos", - "events_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/octocoders-linter%5Bbot%5D/received_events", - "type": "Bot", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", "site_admin": false }, "installation": { @@ -2325,146 +2247,13 @@ ] }, { - "name": "content_reference", - "description": "A new content reference is `created`. A new content reference is created when the body or comment of an issue or pull request includes a URL that matches a configured content reference domain. For more information, see \"[Using content attachments](https://docs.github.com/en/enterprise-server@2.21/apps/using-content-attachments)\" to learn more about content references and attachments.\n\nWebhook events are triggered based on the specificity of the domain you register. For example, if you register a subdomain (`https://subdomain.example.com`) then only URLs for the subdomain trigger this event. If you register a domain (`https://example.com`) then URLs for domain and all subdomains trigger this event. See \"[Create a content attachment](https://docs.github.com/en/enterprise-server@2.21/rest/reference/apps#create-a-content-attachment)\" to create a new content attachment.", - "properties": {}, - "actions": [], - "examples": [ - { - "action": "created", - "content_reference": { - "id": 17, - "node_id": "MDE2OkNvbnRlbnRSZWZlcmVuY2UxNjA5", - "reference": "https://errors.ai/" - }, - "repository": { - "id": 145551601, - "node_id": "MDEwOlJlcG9zaXRvcnkxNDU1NTE2MDE=", - "name": "hello-world", - "full_name": "octocoders/hello-world", - "private": true, - "owner": { - "login": "Codertocat", - "id": 7718702, - "node_id": "MDQ6VXNlcjc3MTg3MDI=", - "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": true - }, - "html_url": "https://github.com/Codertocat/hello-world", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/hello-world", - "forks_url": "https://api.github.com/repos/Codertocat/hello-world/forks", - "keys_url": "https://api.github.com/repos/Codertocat/hello-world/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/hello-world/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/hello-world/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/hello-world/events", - "assignees_url": "https://api.github.com/repos/Codertocat/hello-world/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/hello-world/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/hello-world/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/hello-world/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/hello-world/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/hello-world/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/hello-world/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/hello-world/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/hello-world/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/hello-world/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/hello-world/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/hello-world/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/hello-world/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/hello-world/merges", - "archive_url": "https://api.github.com/repos/Codertocat/hello-world/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/hello-world/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/hello-world/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/hello-world/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/hello-world/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/hello-world/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/hello-world/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/hello-world/deployments", - "created_at": "2018-08-21T10:58:58Z", - "updated_at": "2018-08-21T10:59:01Z", - "pushed_at": "2018-08-21T10:59:00Z", - "git_url": "git://github.com/Codertocat/hello-world.git", - "ssh_url": "git@github.com:Codertocat/hello-world.git", - "clone_url": "https://github.com/Codertocat/hello-world.git", - "svn_url": "https://github.com/Codertocat/hello-world", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 7718702, - "node_id": "MDQ6VXNlcjc3MTg3MDI=", - "avatar_url": "https://avatars1.githubusercontent.com/u/7718702?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": true - }, - "installation": { - "id": 371641, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzcxNjQx" - } - } - ] - }, - { - "name": "create", - "description": "A Git branch or tag is created. For more information, see the \"[Git data](https://docs.github.com/en/enterprise-server@2.21/rest/reference/git)\" REST API.", + "name": "create", + "description": "A Git branch or tag is created. For more information, see the \"[Git database](https://docs.github.com/en/enterprise-server@3.5/rest/reference/git#create-a-reference)\" REST API.", "actions": [], "properties": { "ref": { "type": "string", - "description": "The [`git ref`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/git#get-a-reference) resource." + "description": "The [`git ref`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/git#get-a-reference) resource." }, "ref_type": { "type": "string", @@ -2472,7 +2261,7 @@ }, "master_branch": { "type": "string", - "description": "The name of the repository's default branch (usually `master`)." + "description": "The name of the repository's default branch (usually `main`)." }, "description": { "type": "string", @@ -2484,11 +2273,11 @@ }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -2636,12 +2425,47 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "delete", + "description": "A Git branch or tag is deleted. For more information, see the \"[Git database](https://docs.github.com/en/enterprise-server@3.5/rest/reference/git#delete-a-reference)\" REST API.", + "actions": [], + "properties": { + "ref": { + "type": "string", + "description": "The [`git ref`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/git#get-a-reference) resource." + }, + "ref_type": { + "type": "string", + "description": "The type of Git ref object deleted in the repository. Can be either `branch` or `tag`." + }, + "pusher_type": { + "type": "string", + "description": "The pusher type for the event. Can be either `user` or a deploy key." }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { "ref": "simple-tag", "ref_type": "tag", - "master_branch": "master", - "description": null, "pusher_type": "user", "repository": { "id": 118, @@ -2711,7 +2535,7 @@ "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:22Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -2777,29 +2601,45 @@ ] }, { - "name": "delete", - "description": "A Git branch or tag is deleted. For more information, see the \"[Git data](https://docs.github.com/en/enterprise-server@2.21/rest/reference/git)\" REST API.", - "actions": [], + "name": "deploy_key", + "description": "A deploy key is added or removed from a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[Deploy keys](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#keys)\" REST API.", "properties": { - "ref": { - "type": "string", - "description": "The [`git ref`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/git#get-a-reference) resource." + "key": { + "type": "object", + "description": "The [`deploy key`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/deployments#get-a-deploy-key) resource." }, - "ref_type": { - "type": "string", - "description": "The type of Git ref oject deleted in the repository. Can be `branch` or `tag`." + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, - "pusher_type": { - "type": "string", - "description": "The pusher type for the event. Can be either `user` or a deploy key." + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["created", "deleted"], + "examples": [] + }, + { + "name": "deployment", + "description": "A deployment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[deployment](https://docs.github.com/en/enterprise-server@3.5/rest/reference/deployments#list-deployments)\" REST API.", + "actions": ["created"], + "properties": { + "deployment": { + "type": "object", + "description": "The [deployment](https://docs.github.com/en/enterprise-server@3.5/rest/reference/deployments#list-deployments)." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -2812,9 +2652,42 @@ }, "examples": [ { - "ref": "simple-tag", - "ref_type": "tag", - "pusher_type": "user", + "deployment": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", + "id": 2, + "node_id": "MDEwOkRlcGxveW1lbnQy", + "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", + "ref": "master", + "task": "deploy", + "payload": {}, + "original_environment": "production", + "environment": "production", + "description": null, + "creator": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2019-05-15T19:38:20Z", + "updated_at": "2019-05-15T19:38:20Z", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", + "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" + }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -2883,7 +2756,7 @@ "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:23Z", + "pushed_at": "2019-05-15T19:38:19Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -2945,18 +2818,59 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "deployment_status", + "description": "A deployment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[deployments](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#deployments)\" REST API.", + "actions": ["created"], + "properties": { + "deployment_status": { + "type": "object", + "description": "The [deployment status](https://docs.github.com/en/enterprise-server@3.5/rest/reference/deployments#list-deployment-statuses)." + }, + "deployment_status[\"state\"]": { + "type": "string", + "description": "The new state. Can be `pending`, `success`, `failure`, or `error`." + }, + "deployment_status[\"target_url\"]": { + "type": "string", + "description": "The optional link added to the status." + }, + "deployment_status[\"description\"]": { + "type": "string", + "description": "The optional human-readable description added to the status." }, + "deployment": { + "type": "object", + "description": "The [deployment](https://docs.github.com/en/enterprise-server@3.5/rest/reference/deployments#list-deployments) that this status is associated with." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "ref": "simple-tag", - "ref_type": "tag", - "pusher_type": "user", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { + "deployment_status": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2", + "id": 2, + "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy", + "state": "success", + "creator": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -2976,18 +2890,88 @@ "type": "User", "site_admin": false }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": "", + "environment": "production", + "target_url": "", + "created_at": "2019-05-15T19:38:21Z", + "updated_at": "2019-05-15T19:38:21Z", + "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", + "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" + }, + "deployment": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", + "id": 2, + "node_id": "MDEwOkRlcGxveW1lbnQy", + "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", + "ref": "master", + "task": "deploy", + "payload": {}, + "original_environment": "production", + "environment": "production", "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "creator": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2019-05-15T19:38:20Z", + "updated_at": "2019-05-15T19:38:21Z", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", + "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" + }, + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", @@ -3018,7 +3002,7 @@ "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:23Z", + "pushed_at": "2019-05-15T19:38:19Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -3084,218 +3068,158 @@ ] }, { - "name": "deploy_key", - "description": "A deploy key is added or removed from a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[Deploy keys](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#keys)\" REST API.", + "name": "enterprise", + "description": "A site or repository administrator enables or disables anonymous Git read access. See \"[Allowing admins to enable anonymous Git read access to public repositories](https://docs.github.com/en/enterprise-server@3.5/admin/user-management/allowing-admins-to-enable-anonymous-git-read-access-to-public-repositories)\" for more details. This event is not available in the Events API.", + "actions": ["anonymous_access_disabled", "anonymous_access_enabled"], + "properties": {}, + "examples": [ + { + "action": "anonymous_access_enabled", + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://avatars.octocoders.github.io/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": true + } + } + ] + }, + { + "name": "fork", + "description": "A user forks a repository. For more information, see the \"[forks](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#forks)\" REST API.", + "actions": [], "properties": { - "key": { + "forkee": { "type": "object", - "description": "The [`deploy key`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-deploy-key) resource." + "description": "The created [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) resource." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, "sender": { "type": "object", "description": "The user that triggered the event." } }, - "actions": ["created", "deleted"], "examples": [ { - "action": "created", - "key": { - "id": 100, - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQConScVc7ouWWgwcjneNnJ4PScDkkwEjuDL5leLIUU5aIg13dH55/f4aqKUSvfcLUOKJ0a8073tFqMbR9rfvLAhLGeStKxmYApJXpzVkphauu7kfNW8kQNi1fI4kmHyOpQ+dKtoonzjZAT4L9AV3FlVTOfRq3U8wJ2RPwU+4EtOpMKUF+wcoDJ5ONlKBOW6uAeBt/guBiu6r3awDClDGRo4Q2YCmMceiAyoiuXcr2mFNSyzTqU1f20fftFwucV/VqnxlJjZvZ/zhlfB+v+UgQN11pJJ5vChZ7bzyRtIRRsjxbTReyWxqVZ5hEle5sm1oAR97abW9zTWfwIABgClKo+z", - "url": "https://api.github.com/repos/Codertocat/Hello-World/keys/100", - "title": "hey-its-a-deploy-key", - "verified": true, - "created_at": "2019-04-02T17:37:07Z", - "read_only": true - }, - "repository": { - "id": 135493233, - "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", + "forkee": { + "id": 120, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", "name": "Hello-World", - "full_name": "Codertocat/Hello-World", + "full_name": "Octocoders/Hello-World", + "private": false, "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", + "url": "https://octocoders.github.io/api/v3/users/Octocoders", + "html_url": "https://octocoders.github.io/Octocoders", + "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", + "type": "Organization", "site_admin": false }, - "private": false, - "html_url": "https://github.com/Codertocat/Hello-World", + "html_url": "https://octocoders.github.io/Octocoders/Hello-World", "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2018-05-30T20:18:04Z", - "updated_at": "2018-05-30T20:18:50Z", - "pushed_at": "2018-05-30T20:18:48Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", + "fork": true, + "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", + "created_at": "2019-05-15T19:38:10Z", + "updated_at": "2019-05-15T19:38:10Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", + "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", + "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", "homepage": null, "size": 0, "stargazers_count": 0, "watchers_count": 0, "language": null, - "has_issues": true, + "has_issues": false, "has_projects": true, "has_downloads": true, "has_wiki": true, - "has_pages": true, + "has_pages": false, "forks_count": 0, "mirror_url": null, "archived": false, - "open_issues_count": 1, + "disabled": false, + "open_issues_count": 0, "license": null, "forks": 0, - "open_issues": 1, + "open_issues": 0, "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "deployment", - "description": "A deployment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[deployment](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#list-deployments)\" REST API.", - "actions": ["created"], - "properties": { - "deployment": { - "type": "object", - "description": "The [deployment](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#list-deployments)." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "deployment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "id": 2, - "node_id": "MDEwOkRlcGxveW1lbnQy", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "ref": "master", - "task": "deploy", - "payload": {}, - "original_environment": "production", - "environment": "production", - "description": null, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:20Z", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" + "default_branch": "master", + "public": true }, "repository": { "id": 118, @@ -3364,8 +3288,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", + "updated_at": "2019-05-15T19:38:10Z", + "pushed_at": "2019-05-15T19:38:03Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -3374,7 +3298,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": "Ruby", + "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, @@ -3404,78 +3328,112 @@ "updated_at": "2019-05-14T19:31:12Z" }, "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", + "url": "https://octocoders.github.io/api/v3/users/Octocoders", + "html_url": "https://octocoders.github.io/Octocoders", + "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", + "type": "Organization", "site_admin": false }, "installation": { "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "github_app_authorization", + "description": "When someone revokes their authorization of a GitHub App, this event occurs. A GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about user-to-server requests, which require GitHub App authorization, see \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/en/enterprise-server@3.5/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps).\"", + "properties": { + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["revoked"], + "examples": [] + }, + { + "name": "gollum", + "description": "A wiki page is created or updated. For more information, see \"[About wikis](https://docs.github.com/en/enterprise-server@3.5/communities/documenting-your-project-with-wikis/about-wikis).\"", + "actions": [], + "properties": { + "pages": { + "type": "array", + "description": "The pages that were updated." + }, + "pages[][page_name]": { + "type": "string", + "description": "The name of the page." + }, + "pages[][title]": { + "type": "string", + "description": "The current page title." + }, + "pages[][action]": { + "type": "string", + "description": "The action that was performed on the page. Can be `created` or `edited`." + }, + "pages[][sha]": { + "type": "string", + "description": "The latest commit SHA of the page." + }, + "pages[][html_url]": { + "type": "string", + "description": "Points to the HTML wiki page." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "deployment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "id": 2, - "node_id": "MDEwOkRlcGxveW1lbnQy", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "ref": "master", - "task": "deploy", - "payload": {}, - "original_environment": "production", - "environment": "production", - "description": null, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:20Z", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, + "pages": [ + { + "page_name": "Home", + "title": "Home", + "summary": null, + "action": "edited", + "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home" + } + ], "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "id": 122, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=", "name": "Hello-World", "full_name": "Codertocat/Hello-World", - "private": false, "owner": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "avatar_url": "https://avatars.octocoders.github.io/u/4?", "gravatar_id": "", "url": "https://octocoders.github.io/api/v3/users/Codertocat", "html_url": "https://octocoders.github.io/Codertocat", @@ -3491,6 +3449,7 @@ "type": "User", "site_admin": false }, + "private": false, "html_url": "https://octocoders.github.io/Codertocat/Hello-World", "description": null, "fork": false, @@ -3531,9 +3490,9 @@ "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", + "created_at": "2018-10-04T18:29:19Z", + "updated_at": "2018-10-04T18:29:21Z", + "pushed_at": "2018-10-04T18:29:59Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -3542,98 +3501,63 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": "Ruby", + "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 1, + "forks_count": 0, "mirror_url": null, "archived": false, - "disabled": false, - "open_issues_count": 2, + "open_issues_count": 0, "license": null, - "forks": 1, - "open_issues": 2, + "forks": 0, + "open_issues": 0, "watchers": 0, "default_branch": "master" }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "login": "rachmari", + "id": 3, + "node_id": "MDQ6VXNlcjM=", + "avatar_url": "https://avatars.octocoders.github.io/u/3?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/rachmari", + "html_url": "https://octocoders.github.io/rachmari", + "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers", + "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos", + "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events", "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + "site_admin": true } } ] }, { - "name": "deployment_status", - "description": "A deployment is created. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[deployment statuses](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#list-deployment-statuses)\" REST API.", - "actions": ["created"], + "name": "installation", + "description": "Activity related to a GitHub App installation. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[GitHub App installation](https://docs.github.com/en/enterprise-server@3.5/rest/reference/apps)\" REST API.", + "actions": [ + "created", + "deleted", + "new_permissions_accepted", + "suspend", + "unsuspend" + ], "properties": { - "deployment_status": { - "type": "object", - "description": "The [deployment status](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#list-deployment-statuses)." - }, - "deployment_status[\"state\"]": { - "type": "string", - "description": "The new state. Can be `pending`, `success`, `failure`, or `error`." - }, - "deployment_status[\"target_url\"]": { - "type": "string", - "description": "The optional link added to the status." - }, - "deployment_status[\"description\"]": { - "type": "string", - "description": "The optional human-readable description added to the status." - }, - "deployment": { - "type": "object", - "description": "The [deployment](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#list-deployments) that this status is associated with." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "repositories": { + "type": "array", + "description": "An array of repository objects that the installation can access." }, "installation": { "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + "description": "The GitHub App installation." }, "sender": { "type": "object", @@ -3642,12 +3566,10 @@ }, "examples": [ { - "deployment_status": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2", - "id": 2, - "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy", - "state": "success", - "creator": { + "action": "created", + "installation": { + "id": 5, + "account": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -3667,153 +3589,199 @@ "type": "User", "site_admin": false }, - "description": "", - "environment": "production", - "target_url": "", - "created_at": "2019-05-15T19:38:21Z", - "updated_at": "2019-05-15T19:38:21Z", - "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" + "repository_selection": "selected", + "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", + "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", + "html_url": "https://octocoders.github.io/settings/installations/5", + "app_id": 2, + "target_id": 4, + "target_type": "User", + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "repository_pre_receive_hooks": "write", + "metadata": "read", + "vulnerability_alerts": "read" + }, + "events": [ + "check_run", + "check_suite", + "commit_comment", + "create", + "delete", + "deployment", + "deployment_status", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "release", + "repository", + "status", + "team", + "team_add", + "watch" + ], + "created_at": 1557949058, + "updated_at": 1557949058, + "single_file_name": null }, - "deployment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "id": 2, - "node_id": "MDEwOkRlcGxveW1lbnQy", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "ref": "master", - "task": "deploy", - "payload": {}, - "original_environment": "production", - "environment": "production", + "repositories": [ + { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false + } + ], + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", "description": null, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:21Z", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } + }, + { + "action": "deleted", + "installation": { + "id": 5, + "account": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", + "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", + "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", + "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", + "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", + "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" + "repository_selection": "selected", + "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens", + "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories", + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5", + "app_id": 2, + "target_id": 4, + "target_type": "User", + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "repository_pre_receive_hooks": "write", + "metadata": "read", + "vulnerability_alerts": "read" + }, + "events": [ + "check_run", + "check_suite", + "commit_comment", + "create", + "delete", + "deployment", + "deployment_status", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "release", + "repository", + "status", + "team", + "team_add", + "watch" + ], + "created_at": "2019-05-15T19:37:38.000Z", + "updated_at": "2019-05-15T19:37:38.000Z", + "single_file_name": null }, "enterprise": { "id": 1, "slug": "github", "name": "GitHub", "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?", "description": null, "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github", "created_at": "2019-05-14T19:31:12Z", "updated_at": "2019-05-14T19:31:12Z" }, @@ -3821,34 +3789,57 @@ "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", + "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", + "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", + "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", + "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", + "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "installation_repositories", + "description": "Activity related to repositories being added to a GitHub App installation. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[GitHub App installation](https://docs.github.com/en/enterprise-server@3.5/rest/reference/apps)\" REST API.", + "actions": ["added", "removed"], + "properties": { + "repository_selection": { + "type": "string", + "description": "The choice of repositories the installation is on. Can be either `selected` or `all`." + }, + "repositories_added": { + "type": "array", + "description": "An array of repository objects, which were added to the installation." + }, + "repositories_removed": { + "type": "array", + "description": "An array of repository objects, which were removed from the installation." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation." }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "deployment_status": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses/2", - "id": 2, - "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMy", - "state": "success", - "creator": { + "action": "added", + "installation": { + "id": 5, + "account": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -3868,57 +3859,114 @@ "type": "User", "site_admin": false }, - "description": "", - "environment": "production", - "target_url": "", - "created_at": "2019-05-15T19:38:21Z", - "updated_at": "2019-05-15T19:38:21Z", - "deployment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" - }, - "deployment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2", - "id": 2, - "node_id": "MDEwOkRlcGxveW1lbnQy", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "ref": "master", - "task": "deploy", - "payload": {}, - "original_environment": "production", - "environment": "production", - "description": null, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false + "repository_selection": "selected", + "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", + "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", + "html_url": "https://octocoders.github.io/settings/installations/5", + "app_id": 2, + "target_id": 4, + "target_type": "User", + "permissions": { + "administration": "write", + "repository_pre_receive_hooks": "write", + "statuses": "write", + "repository_projects": "write", + "repository_hooks": "write", + "pull_requests": "write", + "pages": "write", + "issues": "write", + "deployments": "write", + "contents": "write", + "checks": "write", + "vulnerability_alerts": "read", + "metadata": "read" }, - "created_at": "2019-05-15T19:38:20Z", - "updated_at": "2019-05-15T19:38:21Z", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments/2/statuses", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World" + "events": [ + "check_run", + "check_suite", + "commit_comment", + "create", + "delete", + "deployment", + "deployment_status", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "release", + "repository", + "status", + "team", + "team_add", + "watch" + ], + "created_at": 1557949058, + "updated_at": 1557949058, + "single_file_name": null }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { + "repository_selection": "selected", + "repositories_added": [ + { + "id": 119, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", + "name": "Space", + "full_name": "Codertocat/Space", + "private": false + } + ], + "repositories_removed": [], + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } + }, + { + "action": "removed", + "installation": { + "id": 5, + "account": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -3938,74 +3986,76 @@ "type": "User", "site_admin": false }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" + "repository_selection": "selected", + "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", + "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", + "html_url": "https://octocoders.github.io/settings/installations/5", + "app_id": 2, + "target_id": 4, + "target_type": "User", + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "repository_pre_receive_hooks": "write", + "metadata": "read", + "vulnerability_alerts": "read" + }, + "events": [ + "check_run", + "check_suite", + "commit_comment", + "create", + "delete", + "deployment", + "deployment_status", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "release", + "repository", + "status", + "team", + "team_add", + "watch" + ], + "created_at": "2019-05-15T19:37:38.000Z", + "updated_at": "2019-05-15T19:37:38.000Z", + "single_file_name": null }, + "repository_selection": "selected", + "repositories_added": [], + "repositories_removed": [ + { + "id": 119, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", + "name": "Space", + "full_name": "Codertocat/Space", + "private": false + } + ], "enterprise": { "id": 1, "slug": "github", @@ -4037,84 +4087,38 @@ "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } } ] }, { - "name": "enterprise", - "description": "A site or repository administrator enables or disables anonymous Git read access. See \"[Allowing admins to enable anonymous Git read access to public repositories](https://docs.github.com/en/enterprise-server@2.21/admin/user-management/allowing-admins-to-enable-anonymous-git-read-access-to-public-repositories)\" for more details. This event is not available in the Events API.", - "actions": ["anonymous_access_disabled", "anonymous_access_enabled"], - "properties": {}, - "examples": [ - { - "action": "anonymous_access_enabled", - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": true - } - }, - { - "action": "anonymous_access_enabled", - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": true - } - } - ] - }, - { - "name": "fork", - "description": "A user forks a repository. For more information, see the \"[forks](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#forks)\" REST API.", - "actions": [], + "name": "issue_comment", + "description": "Activity related to an issue or pull request comment. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[issue comments](https://docs.github.com/en/enterprise-server@3.5/rest/reference/issues#comments)\" REST API.", + "actions": ["created", "deleted", "edited"], "properties": { - "forkee": { + "changes": { + "type": "object", + "description": "The changes to the comment if the action was `edited`." + }, + "changes[body][from]": { + "type": "string", + "description": "The previous version of the body if the action was `edited`." + }, + "issue": { + "type": "object", + "description": "The [issue](https://docs.github.com/en/enterprise-server@3.5/rest/reference/issues) the comment belongs to." + }, + "comment": { "type": "object", - "description": "The created [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) resource." + "description": "The [comment](https://docs.github.com/en/enterprise-server@3.5/rest/reference/issues#comments) itself." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -4127,108 +4131,51 @@ }, "examples": [ { - "forkee": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "action": "created", + "issue": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", + "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", + "id": 10, + "node_id": "MDU6SXNzdWUxMA==", + "number": 1, + "title": "Spelling error in the README file", + "user": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", "site_admin": false }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master", - "public": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { + "labels": [ + { + "id": 941, + "node_id": "MDU6TGFiZWw5NDE=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -4248,206 +4195,102 @@ "type": "User", "site_admin": false }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false + "assignees": [ + { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", + "id": 2, + "node_id": "MDk6TWlsZXN0b25lMg==", + "number": 1, + "title": "v1.0", + "description": "Add new space flight simulator", + "creator": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 1, + "closed_issues": 0, + "state": "closed", + "created_at": "2019-05-15T19:37:52Z", + "updated_at": "2019-05-15T19:37:53Z", + "due_on": "2019-05-23T00:00:00Z", + "closed_at": "2019-05-15T19:37:53Z" + }, + "comments": 0, + "created_at": "2019-05-15T19:37:53Z", + "updated_at": "2019-05-15T19:37:55Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "forkee": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "comment": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", + "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", + "id": 2, + "node_id": "MDEyOklzc3VlQ29tbWVudDI=", + "user": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", "site_admin": false }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master", - "public": true + "created_at": "2019-05-15T19:37:55Z", + "updated_at": "2019-05-15T19:37:55Z", + "author_association": "OWNER", + "body": "You are totally right! I'll get this fixed right away." }, "repository": { "id": 118, @@ -4516,8 +4359,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:10Z", - "pushed_at": "2019-05-15T19:38:03Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:37:50Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -4532,14 +4375,14 @@ "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 1, + "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 2, + "open_issues_count": 1, "license": null, - "forks": 1, - "open_issues": 2, + "forks": 0, + "open_issues": 1, "watchers": 0, "default_branch": "master" }, @@ -4556,136 +4399,48 @@ "updated_at": "2019-05-14T19:31:12Z" }, "sender": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "github_app_authorization", - "description": "When someone revokes their authorization of a GitHub App, this event occurs. A GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about user-to-server requests, which require GitHub App authorization, see \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/en/enterprise-server@2.21/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps).\"", - "properties": { - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "actions": ["revoked"], - "examples": [ - { - "action": "revoked", - "sender": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } - } - ] - }, - { - "name": "gollum", - "description": "A wiki page is created or updated. For more information, see the \"[About wikis](https://docs.github.com/en/enterprise-server@2.21/communities/documenting-your-project-with-wikis/about-wikis)\".", - "actions": [], - "properties": { - "pages": { - "type": "array", - "description": "The pages that were updated." - }, - "pages[][page_name]": { - "type": "string", - "description": "The name of the page." - }, - "pages[][title]": { - "type": "string", - "description": "The current page title." - }, - "pages[][action]": { - "type": "string", - "description": "The action that was performed on the page. Can be `created` or `edited`." - }, - "pages[][sha]": { - "type": "string", - "description": "The latest commit SHA of the page." - }, - "pages[][html_url]": { - "type": "string", - "description": "Points to the HTML wiki page." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ { - "pages": [ - { - "page_name": "Home", - "title": "Home", - "summary": null, - "action": "edited", - "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home" - } - ], - "repository": { - "id": 122, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "owner": { + "action": "deleted", + "issue": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", + "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", + "id": 10, + "node_id": "MDU6SXNzdWUxMA==", + "number": 1, + "title": "Spelling error in the README file", + "user": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", "url": "https://octocoders.github.io/api/v3/users/Codertocat", "html_url": "https://octocoders.github.io/Codertocat", @@ -4701,116 +4456,23 @@ "type": "User", "site_admin": false }, - "private": false, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2018-10-04T18:29:19Z", - "updated_at": "2018-10-04T18:29:21Z", - "pushed_at": "2018-10-04T18:29:59Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "rachmari", - "id": 3, - "node_id": "MDQ6VXNlcjM=", - "avatar_url": "https://avatars.octocoders.github.io/u/3?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/rachmari", - "html_url": "https://octocoders.github.io/rachmari", - "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers", - "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos", - "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events", - "type": "User", - "site_admin": true - } - }, - { - "pages": [ - { - "page_name": "Home", - "title": "Home", - "summary": null, - "action": "edited", - "sha": "4bbb6df16cb5ce1818602bf634e94ebdac7ae385", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/wiki/Home" - } - ], - "repository": { - "id": 122, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "owner": { + "labels": [ + { + "id": 941, + "node_id": "MDU6TGFiZWw5NDE=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://avatars.octocoders.github.io/u/4?", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", "url": "https://octocoders.github.io/api/v3/users/Codertocat", "html_url": "https://octocoders.github.io/Codertocat", @@ -4826,31 +4488,153 @@ "type": "User", "site_admin": false }, - "private": false, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "assignees": [ + { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", + "id": 2, + "node_id": "MDk6TWlsZXN0b25lMg==", + "number": 1, + "title": "v1.0", + "description": "Add new space flight simulator", + "creator": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 1, + "closed_issues": 0, + "state": "closed", + "created_at": "2019-05-15T19:37:52Z", + "updated_at": "2019-05-15T19:37:53Z", + "due_on": "2019-05-23T00:00:00Z", + "closed_at": "2019-05-15T19:37:53Z" + }, + "comments": 1, + "created_at": "2019-05-15T19:37:53Z", + "updated_at": "2019-05-15T19:37:56Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "comment": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", + "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", + "id": 2, + "node_id": "MDEyOklzc3VlQ29tbWVudDI=", + "user": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2019-05-15T19:37:55Z", + "updated_at": "2019-05-15T19:37:56Z", + "author_association": "OWNER", + "body": "You are totally right! I'll get this fixed today." + }, + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", @@ -4867,9 +4651,9 @@ "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2018-10-04T18:29:19Z", - "updated_at": "2018-10-04T18:29:21Z", - "pushed_at": "2018-10-04T18:29:59Z", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:37:50Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -4887,182 +4671,225 @@ "forks_count": 0, "mirror_url": null, "archived": false, - "open_issues_count": 0, + "disabled": false, + "open_issues_count": 1, "license": null, "forks": 0, - "open_issues": 0, + "open_issues": 1, "watchers": 0, "default_branch": "master" }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, "sender": { - "login": "rachmari", - "id": 3, - "node_id": "MDQ6VXNlcjM=", - "avatar_url": "https://avatars.octocoders.github.io/u/3?", + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/rachmari", - "html_url": "https://octocoders.github.io/rachmari", - "followers_url": "https://octocoders.github.io/api/v3/users/rachmari/followers", - "following_url": "https://octocoders.github.io/api/v3/users/rachmari/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/rachmari/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/rachmari/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/rachmari/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/rachmari/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/rachmari/repos", - "events_url": "https://octocoders.github.io/api/v3/users/rachmari/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/rachmari/received_events", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", - "site_admin": true + "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } - } - ] - }, - { - "name": "installation", - "description": "Activity related to a GitHub App installation. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[GitHub App installation](https://docs.github.com/en/enterprise-server@2.21/rest/reference/apps)\" REST API.", - "actions": [ - "created", - "deleted", - "new_permissions_accepted", - "suspend", - "unsuspend" - ], - "properties": { - "repositories": { - "type": "array", - "description": "An array of repository objects that the installation can access." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation." }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ { - "action": "deleted", - "installation": { - "id": 5, - "account": { + "action": "edited", + "changes": { + "body": { + "from": "You are totally right! I'll get this fixed right away." + } + }, + "issue": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", + "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", + "id": 10, + "node_id": "MDU6SXNzdWUxMA==", + "number": 1, + "title": "Spelling error in the README file", + "user": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false }, - "repository_selection": "selected", - "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens", - "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "repository_pre_receive_hooks": "write", - "metadata": "read", - "vulnerability_alerts": "read" + "labels": [ + { + "id": 941, + "node_id": "MDU6TGFiZWw5NDE=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], + "state": "open", + "locked": false, + "assignee": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" + "assignees": [ + { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } ], - "created_at": "2019-05-15T19:37:38.000Z", - "updated_at": "2019-05-15T19:37:38.000Z", - "single_file_name": null + "milestone": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", + "id": 2, + "node_id": "MDk6TWlsZXN0b25lMg==", + "number": 1, + "title": "v1.0", + "description": "Add new space flight simulator", + "creator": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 1, + "closed_issues": 0, + "state": "closed", + "created_at": "2019-05-15T19:37:52Z", + "updated_at": "2019-05-15T19:37:53Z", + "due_on": "2019-05-23T00:00:00Z", + "closed_at": "2019-05-15T19:37:53Z" + }, + "comments": 1, + "created_at": "2019-05-15T19:37:53Z", + "updated_at": "2019-05-15T19:37:56Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" + "comment": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", + "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", + "id": 2, + "node_id": "MDEyOklzc3VlQ29tbWVudDI=", + "user": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2019-05-15T19:37:55Z", + "updated_at": "2019-05-15T19:37:56Z", + "author_association": "OWNER", + "body": "You are totally right! I'll get this fixed today." }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", - "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "created", - "installation": { - "id": 5, - "account": { + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -5082,74 +4909,74 @@ "type": "User", "site_admin": false }, - "repository_selection": "selected", - "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", - "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", - "html_url": "https://octocoders.github.io/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "repository_pre_receive_hooks": "write", - "metadata": "read", - "vulnerability_alerts": "read" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ], - "created_at": 1557949058, - "updated_at": 1557949058, - "single_file_name": null + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:37:50Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" }, - "repositories": [ - { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false - } - ], "enterprise": { "id": 1, "slug": "github", @@ -5181,158 +5008,115 @@ "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "issues", + "description": "Activity related to an issue. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[issues](https://docs.github.com/en/enterprise-server@3.5/rest/reference/issues)\" REST API.", + "actions": [ + "assigned", + "closed", + "deleted", + "demilestoned", + "edited", + "labeled", + "locked", + "milestoned", + "opened", + "pinned", + "reopened", + "transferred", + "unassigned", + "unlabeled", + "unlocked", + "unpinned" + ], + "properties": { + "issue": { + "type": "object", + "description": "The [issue](https://docs.github.com/en/enterprise-server@3.5/rest/reference/issues) itself." + }, + "changes": { + "type": "object", + "description": "The changes to the issue if the action was `edited`." + }, + "changes[title][from]": { + "type": "string", + "description": "The previous version of the title if the action was `edited`." + }, + "changes[body][from]": { + "type": "string", + "description": "The previous version of the body if the action was `edited`." + }, + "assignee": { + "type": "object", + "description": "The optional user who was assigned or unassigned from the issue." + }, + "label": { + "type": "object", + "description": "The optional label that was added or removed from the issue." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "deleted", - "installation": { - "id": 5, - "account": { + "action": "assigned", + "issue": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", + "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", + "id": 10, + "node_id": "MDU6SXNzdWUxMA==", + "number": 1, + "title": "Spelling error in the README file", + "user": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false }, - "repository_selection": "selected", - "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens", - "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "repository_pre_receive_hooks": "write", - "metadata": "read", - "vulnerability_alerts": "read" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ], - "created_at": "2019-05-15T19:37:38.000Z", - "updated_at": "2019-05-15T19:37:38.000Z", - "single_file_name": null - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", - "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "installation_repositories", - "description": "Activity related to repositories being added to a GitHub App installation. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[GitHub App installation](https://docs.github.com/en/enterprise-server@2.21/rest/reference/apps)\" REST API.", - "actions": ["added", "removed"], - "properties": { - "repository_selection": { - "type": "string", - "description": "The choice of repositories the installation is on. Can be either `selected` or `all`." - }, - "repositories_added": { - "type": "array", - "description": "An array of repository objects, which were added to the installation." - }, - "repositories_removed": { - "type": "array", - "description": "An array of repository objects, which were removed from the installation." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "added", - "installation": { - "id": 5, - "account": { + "labels": [], + "state": "open", + "locked": false, + "assignee": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -5352,89 +5136,73 @@ "type": "User", "site_admin": false }, - "repository_selection": "selected", - "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", - "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", - "html_url": "https://octocoders.github.io/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "repository_pre_receive_hooks": "write", - "statuses": "write", - "repository_projects": "write", - "repository_hooks": "write", - "pull_requests": "write", - "pages": "write", - "issues": "write", - "deployments": "write", - "contents": "write", - "checks": "write", - "vulnerability_alerts": "read", - "metadata": "read" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" + "assignees": [ + { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } ], - "created_at": 1557949058, - "updated_at": 1557949058, - "single_file_name": null - }, - "repository_selection": "selected", - "repositories_added": [ - { - "id": 119, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", - "name": "Space", - "full_name": "Codertocat/Space", - "private": false - } - ], - "repositories_removed": [], - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" + "milestone": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", + "id": 2, + "node_id": "MDk6TWlsZXN0b25lMg==", + "number": 1, + "title": "v1.0", + "description": "Add new space flight simulator", + "creator": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 1, + "closed_issues": 0, + "state": "closed", + "created_at": "2019-05-15T19:37:52Z", + "updated_at": "2019-05-15T19:37:53Z", + "due_on": "2019-05-23T00:00:00Z", + "closed_at": "2019-05-15T19:37:53Z" + }, + "comments": 0, + "created_at": "2019-05-15T19:37:53Z", + "updated_at": "2019-05-15T19:37:53Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." }, - "sender": { + "assignee": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -5453,13 +5221,14 @@ "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false - } - }, - { - "action": "added", - "installation": { - "id": 5, - "account": { + }, + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -5479,76 +5248,74 @@ "type": "User", "site_admin": false }, - "repository_selection": "selected", - "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", - "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", - "html_url": "https://octocoders.github.io/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "repository_pre_receive_hooks": "write", - "statuses": "write", - "repository_projects": "write", - "repository_hooks": "write", - "pull_requests": "write", - "pages": "write", - "issues": "write", - "deployments": "write", - "contents": "write", - "checks": "write", - "vulnerability_alerts": "read", - "metadata": "read" - }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ], - "created_at": 1557949058, - "updated_at": 1557949058, - "single_file_name": null + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:37:50Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" }, - "repository_selection": "selected", - "repositories_added": [ - { - "id": 119, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", - "name": "Space", - "full_name": "Codertocat/Space", - "private": false - } - ], - "repositories_removed": [], "enterprise": { "id": 1, "slug": "github", @@ -5580,13 +5347,26 @@ "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } }, { - "action": "removed", - "installation": { - "id": 5, - "account": { + "action": "demilestoned", + "issue": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", + "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/labels{/name}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/events", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", + "id": 11, + "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", + "number": 2, + "title": "Update the README with new information.", + "user": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -5606,80 +5386,123 @@ "type": "User", "site_admin": false }, - "repository_selection": "selected", - "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", - "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", - "html_url": "https://octocoders.github.io/settings/installations/5", - "app_id": 2, - "target_id": 4, - "target_type": "User", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "repository_pre_receive_hooks": "write", - "metadata": "read", - "vulnerability_alerts": "read" + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2019-05-15T19:38:02Z", + "updated_at": "2019-05-15T19:38:05Z", + "closed_at": null, + "author_association": "OWNER", + "pull_request": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", + "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", + "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch" }, - "events": [ - "check_run", - "check_suite", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "release", - "repository", - "status", - "team", - "team_add", - "watch" - ], - "created_at": "2019-05-15T19:37:38.000Z", - "updated_at": "2019-05-15T19:37:38.000Z", - "single_file_name": null + "body": "This is a pretty simple change that we need to pull into master." }, - "repository_selection": "selected", - "repositories_added": [], - "repositories_removed": [ - { - "id": 119, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", - "name": "Space", - "full_name": "Codertocat/Space", - "private": false - } - ], - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", "node_id": "MDg6QnVzaW5lc3Mx", "avatar_url": "https://octocoders.github.io/avatars/b/1?", "description": null, @@ -5707,51 +5530,14 @@ "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } - } - ] - }, - { - "name": "issue_comment", - "description": "Activity related to an issue or pull request comment. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[issue comments](https://docs.github.com/en/enterprise-server@2.21/rest/reference/issues#comments)\" REST API.", - "actions": ["created", "deleted", "edited"], - "properties": { - "changes": { - "type": "object", - "description": "The changes to the comment if the action was `edited`." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "issue": { - "type": "object", - "description": "The [issue](https://docs.github.com/en/enterprise-server@2.21/rest/reference/issues) the comment belongs to." - }, - "comment": { - "type": "object", - "description": "The [comment](https://docs.github.com/en/enterprise-server@2.21/rest/reference/issues#comments) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ { - "action": "created", + "action": "edited", "issue": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", @@ -5876,42 +5662,12 @@ }, "comments": 0, "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:55Z", + "updated_at": "2019-05-15T19:37:54Z", "closed_at": null, "author_association": "OWNER", "body": "It looks like you accidently spelled 'commit' with two 't's." }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:55Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed right away." - }, + "changes": {}, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -6044,7 +5800,7 @@ } }, { - "action": "created", + "action": "labeled", "issue": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", @@ -6169,41 +5925,18 @@ }, "comments": 0, "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:55Z", + "updated_at": "2019-05-15T19:37:54Z", "closed_at": null, "author_association": "OWNER", "body": "It looks like you accidently spelled 'commit' with two 't's." }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:55Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed right away." + "label": { + "id": 941, + "node_id": "MDU6TGFiZWw5NDE=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true }, "repository": { "id": 118, @@ -6337,18 +6070,18 @@ } }, { - "action": "deleted", + "action": "milestoned", "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/labels{/name}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/events", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", + "id": 11, + "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", + "number": 2, + "title": "Update the README with new information.", "user": { "login": "Codertocat", "id": 4, @@ -6456,47 +6189,22 @@ "closed_issues": 0, "state": "closed", "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", + "updated_at": "2019-05-15T19:38:04Z", "due_on": "2019-05-23T00:00:00Z", "closed_at": "2019-05-15T19:37:53Z" }, - "comments": 1, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:56Z", + "comments": 0, + "created_at": "2019-05-15T19:38:02Z", + "updated_at": "2019-05-15T19:38:04Z", "closed_at": null, "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:56Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed today." + "pull_request": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", + "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", + "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch" + }, + "body": "This is a pretty simple change that we need to pull into master." }, "repository": { "id": 118, @@ -6566,7 +6274,7 @@ "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", + "pushed_at": "2019-05-15T19:38:03Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -6585,10 +6293,10 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 2, "license": null, "forks": 0, - "open_issues": 1, + "open_issues": 2, "watchers": 0, "default_branch": "master" }, @@ -6630,12 +6338,7 @@ } }, { - "action": "edited", - "changes": { - "body": { - "from": "You are totally right! I'll get this fixed right away." - } - }, + "action": "opened", "issue": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", @@ -6667,16 +6370,7 @@ "type": "User", "site_admin": false }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], + "labels": [], "state": "open", "locked": false, "assignee": { @@ -6758,44 +6452,13 @@ "due_on": "2019-05-23T00:00:00Z", "closed_at": "2019-05-15T19:37:53Z" }, - "comments": 1, + "comments": 0, "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:56Z", + "updated_at": "2019-05-15T19:37:53Z", "closed_at": null, "author_association": "OWNER", "body": "It looks like you accidently spelled 'commit' with two 't's." }, - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1#issuecomment-2", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "id": 2, - "node_id": "MDEyOklzc3VlQ29tbWVudDI=", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:37:55Z", - "updated_at": "2019-05-15T19:37:56Z", - "author_association": "OWNER", - "body": "You are totally right! I'll get this fixed today." - }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -6926,75 +6589,9 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } - } - ] - }, - { - "name": "issues", - "description": "Activity related to an issue. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[issues](https://docs.github.com/en/enterprise-server@2.21/rest/reference/issues#comments)\" REST API.", - "actions": [ - "assigned", - "closed", - "deleted", - "demilestoned", - "edited", - "labeled", - "locked", - "milestoned", - "opened", - "pinned", - "reopened", - "transferred", - "unassigned", - "unlabeled", - "unlocked", - "unpinned" - ], - "properties": { - "issue": { - "type": "object", - "description": "The [issue](https://docs.github.com/en/enterprise-server@2.21/rest/reference/issues) itself." - }, - "changes": { - "type": "object", - "description": "The changes to the issue if the action was `edited`." - }, - "changes[title][from]": { - "type": "string", - "description": "The previous version of the title if the action was `edited`." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "assignee": { - "type": "object", - "description": "The optional user who was assigned or unassigned from the issue." - }, - "label": { - "type": "object", - "description": "The optional label that was added or removed from the issue." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ { - "action": "edited", + "action": "unassigned", "issue": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", @@ -7058,28 +6655,7 @@ "type": "User", "site_admin": false }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], + "assignees": [], "milestone": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", @@ -7119,12 +6695,31 @@ }, "comments": 0, "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:54Z", + "updated_at": "2019-05-15T19:37:57Z", "closed_at": null, "author_association": "OWNER", "body": "It looks like you accidently spelled 'commit' with two 't's." }, - "changes": {}, + "assignee": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -7257,7 +6852,7 @@ } }, { - "action": "assigned", + "action": "unlabeled", "issue": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", @@ -7292,7 +6887,31 @@ "labels": [], "state": "open", "locked": false, - "assignee": { + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2019-05-15T19:37:53Z", + "updated_at": "2019-05-15T19:37:58Z", + "closed_at": null, + "author_association": "OWNER", + "body": "It looks like you accidently spelled 'commit' with two 't's." + }, + "label": { + "id": 941, + "node_id": "MDU6TGFiZWw5NDE=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + }, + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -7312,73 +6931,87 @@ "type": "User", "site_admin": false }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:53Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:37:50Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master" }, - "assignee": { + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -7398,6 +7031,59 @@ "type": "User", "site_admin": false }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + } + } + ] + }, + { + "name": "label", + "description": "Activity related to a label. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[labels](https://docs.github.com/en/enterprise-server@3.5/rest/reference/issues#labels)\" REST API.", + "actions": ["created", "deleted", "edited"], + "properties": { + "label": { "type": "object", "description": "The label that was added." }, + "changes": { + "type": "object", + "description": "The changes to the label if the action was `edited`." + }, + "changes[name][from]": { + "type": "string", + "description": "The previous version of the name if the action was `edited`." + }, + "changes[color][from]": { + "type": "string", + "description": "The previous version of the color if the action was `edited`." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ + { + "action": "created", + "label": { + "id": 965, + "node_id": "MDU6TGFiZWw5NjU=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", + "name": ":bug: Bugfix", + "color": "cb1f00", + "default": false + }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -7465,8 +7151,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", + "updated_at": "2019-05-15T19:38:25Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -7475,7 +7161,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": null, + "language": "Ruby", "has_issues": true, "has_projects": true, "has_downloads": true, @@ -7485,10 +7171,10 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 2, "license": null, "forks": 0, - "open_issues": 1, + "open_issues": 2, "watchers": 0, "default_branch": "master" }, @@ -7530,56 +7216,14 @@ } }, { - "action": "demilestoned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "id": 11, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "number": 2, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:05Z", - "closed_at": null, - "author_association": "OWNER", - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch" - }, - "body": "This is a pretty simple change that we need to pull into master." + "action": "deleted", + "label": { + "id": 965, + "node_id": "MDU6TGFiZWw5NjU=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", + "name": ":bug: Bugfix", + "color": "cceeaa", + "default": false }, "repository": { "id": 118, @@ -7648,8 +7292,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", + "updated_at": "2019-05-15T19:38:25Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -7658,7 +7302,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": null, + "language": "Ruby", "has_issues": true, "has_projects": true, "has_downloads": true, @@ -7714,136 +7358,15 @@ }, { "action": "edited", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:54Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." + "label": { + "id": 965, + "node_id": "MDU6TGFiZWw5NjU=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", + "name": ":bug: Bugfix", + "color": "cceeaa", + "default": false }, - "changes": {}, + "changes": { "color": { "from": "cb1f00" } }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -7911,8 +7434,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", + "updated_at": "2019-05-15T19:38:25Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -7921,7 +7444,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": null, + "language": "Ruby", "has_issues": true, "has_projects": true, "has_downloads": true, @@ -7931,10 +7454,10 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 2, "license": null, "forks": 0, - "open_issues": 1, + "open_issues": 2, "watchers": 0, "default_branch": "master" }, @@ -7974,153 +7497,73 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "member", + "description": "Activity related to repository collaborators. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[collaborators](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#collaborators)\" REST API.", + "actions": ["added", "edited", "removed"], + "properties": { + "member": { + "type": "object", + "description": "The [user](https://docs.github.com/en/enterprise-server@3.5/rest/reference/users) that was added." + }, + "changes": { + "type": "object", + "description": "The changes to the collaborator permissions if the action was `edited`." + }, + "changes[old_permission][from]": { + "type": "string", + "description": "The previous permissions of the collaborator if the action was `edited`." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "labeled", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:54Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { + "action": "added", + "member": { + "login": "Hacktocat", + "id": 5, + "node_id": "MDQ6VXNlcjU=", + "avatar_url": "https://octocoders.github.io/avatars/u/5?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Hacktocat", + "html_url": "https://octocoders.github.io/Hacktocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", + "type": "User", + "site_admin": false + }, + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -8181,8 +7624,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", + "updated_at": "2019-05-15T19:38:15Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -8191,20 +7634,20 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": null, + "language": "Ruby", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 0, + "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 2, "license": null, - "forks": 0, - "open_issues": 1, + "forks": 1, + "open_issues": 2, "watchers": 0, "default_branch": "master" }, @@ -8244,237 +7687,109 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "membership", + "description": "Activity related to team membership. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[team members](https://docs.github.com/en/enterprise-server@3.5/rest/reference/teams#members)\" REST API.", + "actions": ["added", "removed"], + "properties": { + "scope": { + "type": "string", + "description": "The scope of the membership. Currently, can only be `team`." + }, + "member": { + "type": "object", + "description": "The [user](https://docs.github.com/en/enterprise-server@3.5/rest/reference/users) that was added or removed." + }, + "team": { + "type": "object", + "description": "The [team](https://docs.github.com/en/enterprise-server@3.5/rest/reference/teams) for the membership." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "milestoned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "id": 11, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "number": 2, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:38:04Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:04Z", - "closed_at": null, - "author_association": "OWNER", - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch" - }, - "body": "This is a pretty simple change that we need to pull into master." + "action": "added", + "scope": "team", + "member": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "team": { + "name": "github", + "id": 3, + "node_id": "MDQ6VGVhbTM=", + "slug": "github", + "description": "Open-source team", + "privacy": "secret", + "url": "https://octocoders.github.io/api/v3/teams/3", + "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", + "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", + "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", + "permission": "pull" + }, + "organization": { + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", + "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", + "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", + "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", + "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", + "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "description": "" }, "enterprise": { "id": 1, @@ -8487,6 +7802,30 @@ "html_url": "https://octocoders.github.io/businesses/github", "created_at": "2019-05-14T19:31:12Z", "updated_at": "2019-05-14T19:31:12Z" + } + }, + { + "action": "removed", + "scope": "team", + "member": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false }, "sender": { "login": "Codertocat", @@ -8508,48 +7847,128 @@ "type": "User", "site_admin": false }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + "team": { + "name": "github", + "id": 3, + "node_id": "MDQ6VGVhbTM=", + "slug": "github", + "description": "Open-source team", + "privacy": "secret", + "url": "https://octocoders.github.io/api/v3/teams/3", + "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", + "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", + "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", + "permission": "pull" + }, + "organization": { + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", + "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", + "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", + "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", + "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", + "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "description": "" + }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" } + } + ] + }, + { + "name": "meta", + "description": "The webhook this event is configured on was deleted. This event will only listen for changes to the particular hook the event is installed on. Therefore, it must be selected for each hook that you'd like to receive meta events for.", + "properties": { + "hook_id": { + "type": "integer", + "description": "The id of the modified webhook." }, - { - "action": "opened", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", - "number": 1, - "title": "Spelling error in the README file", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "open", - "locked": false, - "assignee": { + "hook": { + "type": "object", + "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["deleted"], + "examples": [] + }, + { + "name": "milestone", + "description": "Activity related to milestones. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[milestones](https://docs.github.com/en/enterprise-server@3.5/rest/reference/issues#milestones)\" REST API.", + "actions": ["closed", "created", "deleted", "edited", "opened"], + "properties": { + "milestone": { "type": "object", "description": "The milestone itself." }, + "changes": { + "type": "object", + "description": "The changes to the milestone if the action was `edited`." + }, + "changes[description][from]": { + "type": "string", + "description": "The previous version of the description if the action was `edited`." + }, + "changes[due_on][from]": { + "type": "string", + "description": "The previous version of the due date if the action was `edited`." + }, + "changes[title][from]": { + "type": "string", + "description": "The previous version of the title if the action was `edited`." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ + { + "action": "closed", + "milestone": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", + "id": 2, + "node_id": "MDk6TWlsZXN0b25lMg==", + "number": 1, + "title": "v1.0", + "description": "Add new space flight simulator", + "creator": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -8569,71 +7988,13 @@ "type": "User", "site_admin": false }, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", + "open_issues": 0, + "closed_issues": 0, + "state": "closed", + "created_at": "2019-05-15T19:37:52Z", "updated_at": "2019-05-15T19:37:53Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." + "due_on": "2019-05-23T00:00:00Z", + "closed_at": "2019-05-15T19:37:53Z" }, "repository": { "id": 118, @@ -8722,10 +8083,10 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 0, "license": null, "forks": 0, - "open_issues": 1, + "open_issues": 0, "watchers": 0, "default_branch": "master" }, @@ -8767,19 +8128,17 @@ } }, { - "action": "unassigned", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", + "action": "created", + "milestone": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", + "id": 2, + "node_id": "MDk6TWlsZXN0b25lMg==", "number": 1, - "title": "Spelling error in the README file", - "user": { + "title": "v1.0", + "description": "Add new space flight simulator", + "creator": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -8799,110 +8158,21 @@ "type": "User", "site_admin": false }, - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], + "open_issues": 0, + "closed_issues": 0, "state": "open", - "locked": false, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [], - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 1, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:57Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { + "created_at": "2019-05-15T19:37:52Z", + "updated_at": "2019-05-15T19:37:52Z", + "due_on": "2019-05-23T00:00:00Z", + "closed_at": null + }, + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -8983,10 +8253,10 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 0, "license": null, "forks": 0, - "open_issues": 1, + "open_issues": 0, "watchers": 0, "default_branch": "master" }, @@ -9028,19 +8298,17 @@ } }, { - "action": "unlabeled", - "issue": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1", - "repository_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/labels{/name}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/comments", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/1/events", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/issues/1", - "id": 10, - "node_id": "MDU6SXNzdWUxMA==", + "action": "deleted", + "milestone": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", + "id": 2, + "node_id": "MDk6TWlsZXN0b25lMg==", "number": 1, - "title": "Spelling error in the README file", - "user": { + "title": "v1.0", + "description": "Add new space flight simulator", + "creator": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -9060,26 +8328,13 @@ "type": "User", "site_admin": false }, - "labels": [], - "state": "open", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2019-05-15T19:37:53Z", - "updated_at": "2019-05-15T19:37:58Z", - "closed_at": null, - "author_association": "OWNER", - "body": "It looks like you accidently spelled 'commit' with two 't's." - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true + "open_issues": 0, + "closed_issues": 0, + "state": "closed", + "created_at": "2019-05-15T19:37:52Z", + "updated_at": "2019-05-15T19:38:05Z", + "due_on": "2019-05-23T00:00:00Z", + "closed_at": "2019-05-15T19:37:53Z" }, "repository": { "id": 118, @@ -9149,7 +8404,7 @@ "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", + "pushed_at": "2019-05-15T19:38:03Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -9168,10 +8423,10 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 2, "license": null, "forks": 0, - "open_issues": 1, + "open_issues": 2, "watchers": 0, "default_branch": "master" }, @@ -9215,30 +8470,28 @@ ] }, { - "name": "label", - "description": "Activity related to a label. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[labels](https://docs.github.com/en/enterprise-server@2.21/rest/reference/issues#labels)\" REST API.", - "actions": ["created", "deleted", "edited"], + "name": "organization", + "description": "Activity related to an organization and its members. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[organizations](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs)\" REST API.", + "actions": [ + "created", + "deleted", + "member_added", + "member_invited", + "member_removed", + "renamed" + ], "properties": { - "label": { "type": "object", "description": "The label that was added." }, - "changes": { + "invitation": { "type": "object", - "description": "The changes to the label if the action was `edited`." - }, - "changes[name][from]": { - "type": "string", - "description": "The previous version of the name if the action was `edited`." - }, - "changes[color][from]": { - "type": "string", - "description": "The previous version of the color if the action was `edited`." + "description": "The invitation for the user or email if the action is `member_invited`." }, - "repository": { + "membership": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The membership between the user and the organization. Not present when the action is `member_invited`." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -9251,118 +8504,56 @@ }, "examples": [ { - "action": "deleted", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cceeaa", - "default": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "action": "member_added", + "membership": { + "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat", + "state": "active", + "role": "member", + "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders", + "user": { + "login": "Hacktocat", + "id": 5, + "node_id": "MDQ6VXNlcjU=", + "avatar_url": "https://octocoders.github.io/avatars/u/5?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "url": "https://octocoders.github.io/api/v3/users/Hacktocat", + "html_url": "https://octocoders.github.io/Hacktocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", "type": "User", "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" + } }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", + "organization": { + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", + "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", + "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", + "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", + "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", + "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "description": "" + }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", "created_at": "2019-05-14T19:31:12Z", "updated_at": "2019-05-14T19:31:12Z" }, @@ -9385,21 +8576,170 @@ "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + } + }, + { + "action": "member_removed", + "membership": { + "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat", + "state": "inactive", + "role": "unaffiliated", + "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders", + "user": { + "login": "Hacktocat", + "id": 5, + "node_id": "MDQ6VXNlcjU=", + "avatar_url": "https://octocoders.github.io/avatars/u/5?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Hacktocat", + "html_url": "https://octocoders.github.io/Hacktocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", + "type": "User", + "site_admin": false + } }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + "organization": { + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", + "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", + "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", + "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", + "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", + "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "description": "" + }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false } + } + ] + }, + { + "name": "package", + "description": "Activity related to GitHub Packages. The type of activity is specified in the `action` property of the payload object. For more information, see \"[Managing packages with GitHub Packages](https://docs.github.com/en/enterprise-server@3.5/github/managing-packages-with-github-packages)\" to learn more about GitHub Packages.", + "properties": { + "package": { + "type": "object", + "description": "Information about the package." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["published", "updated"], + "examples": [] + }, + { + "name": "page_build", + "description": "Represents an attempted build of a GitHub Pages site, whether successful or not. A push to a GitHub Pages enabled branch (`gh-pages` for project pages, the default branch for user and organization pages) triggers this event.", + "actions": [], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the page build." + }, + "build": { + "type": "object", + "description": "The [List GitHub Pages builds](https://docs.github.com/en/enterprise-server@3.5/rest/reference/pages#list-github-pages-builds) itself." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "created", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cb1f00", - "default": false + "id": 7, + "build": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7", + "status": "built", + "error": { "message": null }, + "pusher": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "commit": "3648135c2986115284ae152d90459473b15fd19c", + "duration": 6917, + "created_at": "2019-05-15T19:38:15Z", + "updated_at": "2019-05-15T19:38:22Z" }, "repository": { "id": 118, @@ -9468,8 +8808,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", + "updated_at": "2019-05-15T19:38:15Z", + "pushed_at": "2019-05-15T19:38:19Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -9484,13 +8824,13 @@ "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 0, + "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, - "forks": 0, + "forks": 1, "open_issues": 2, "watchers": 0, "default_branch": "master" @@ -9531,123 +8871,159 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "ping", + "description": "When you create a new webhook, we'll send you a simple `ping` event to let you know you've set up the webhook correctly. This event isn't stored so it isn't retrievable via the [Events API](https://docs.github.com/en/enterprise-server@3.5/rest/reference/activity#ping-a-repository-webhook) endpoint.", + "actions": [], + "properties": { + "zen": { + "type": "string", + "description": "Random string of GitHub zen." + }, + "hook_id": { + "type": "integer", + "description": "The ID of the webhook that triggered the ping." + }, + "hook": { + "type": "object", + "description": "The [webhook configuration](https://docs.github.com/en/enterprise-server@3.5/rest/reference/webhooks#get-a-repository-webhook)." }, + "hook[app_id]": { + "type": "integer", + "description": "When you register a new GitHub App, GitHub Enterprise Server sends a ping event to the **webhook URL** you specified during registration. The event contains the `app_id`, which is required for [authenticating](https://docs.github.com/en/enterprise-server@3.5/apps/building-integrations/setting-up-and-registering-github-apps/about-authentication-options-for-github-apps) an app." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "deleted", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cceeaa", - "default": false + "zen": "Non-blocking is better than blocking.", + "hook_id": 30, + "hook": { + "type": "Repository", + "id": 30, + "name": "web", + "active": true, + "events": ["*"], + "config": { + "content_type": "json", + "url": "https://smee.io/YEbF2t8kjvPAn7Ck", + "insecure_ssl": "0" + }, + "updated_at": "2019-05-15T19:38:17Z", + "created_at": "2019-05-15T19:38:17Z", + "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30", + "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test", + "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings", + "last_response": { "code": null, "status": "unused", "message": null } }, "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "id": 120, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", "name": "Hello-World", - "full_name": "Codertocat/Hello-World", + "full_name": "Octocoders/Hello-World", "private": false, "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", + "url": "https://octocoders.github.io/api/v3/users/Octocoders", + "html_url": "https://octocoders.github.io/Octocoders", + "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", + "type": "Organization", "site_admin": false }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "html_url": "https://octocoders.github.io/Octocoders/Hello-World", "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "fork": true, + "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", + "created_at": "2019-05-15T19:38:10Z", + "updated_at": "2019-05-15T19:38:14Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", + "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", + "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", "homepage": null, "size": 0, "stargazers_count": 0, "watchers_count": 0, "language": "Ruby", - "has_issues": true, + "has_issues": false, "has_projects": true, "has_downloads": true, "has_wiki": true, - "has_pages": true, + "has_pages": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 2, + "open_issues_count": 0, "license": null, "forks": 0, - "open_issues": 2, + "open_issues": 0, "watchers": 0, "default_branch": "master" }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, "sender": { "login": "Codertocat", "id": 4, @@ -9667,23 +9043,85 @@ "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "project", + "description": "Activity related to project boards. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[projects](https://docs.github.com/en/enterprise-server@3.5/rest/reference/projects)\" REST API.", + "actions": ["closed", "created", "deleted", "edited", "reopened"], + "properties": { + "changes": { + "type": "object", + "description": "The changes to the project if the action was `edited`." + }, + "changes[name][from]": { + "type": "string", + "description": "The previous version of the name if the action was `edited`." + }, + "changes[body][from]": { + "type": "string", + "description": "The previous version of the body if the action was `edited`." + }, + "project": { + "type": "object", + "description": "The [project](https://docs.github.com/en/enterprise-server@3.5/rest/reference/projects) itself." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "edited", - "label": { - "id": 965, - "node_id": "MDU6TGFiZWw5NjU=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/:bug:%20Bugfix", - "name": ":bug: Bugfix", - "color": "cceeaa", - "default": false + "action": "created", + "project": { + "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "url": "https://octocoders.github.io/api/v3/projects/6", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1", + "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns", + "id": 6, + "node_id": "MDc6UHJvamVjdDY=", + "name": "Space 2.0", + "body": "Project tasks for a trip to Space", + "number": 1, + "state": "open", + "creator": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2019-05-15T19:38:27Z", + "updated_at": "2019-05-15T19:38:27Z" }, - "changes": { "color": { "from": "cb1f00" } }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -9751,7 +9189,7 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", + "updated_at": "2019-05-15T19:38:27Z", "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", @@ -9818,29 +9256,33 @@ ] }, { - "name": "member", - "description": "Activity related to repository collaborators. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[collaborators](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#collaborators)\" REST API.", - "actions": ["added", "edited", "removed"], + "name": "project_card", + "description": "Activity related to project cards. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[project cards](https://docs.github.com/en/enterprise-server@3.5/rest/reference/projects#cards)\" REST API.", + "actions": ["converted", "created", "deleted", "edited", "moved"], "properties": { - "member": { - "type": "object", - "description": "The [user](https://docs.github.com/en/enterprise-server@2.21/rest/reference/users) that was added." - }, "changes": { "type": "object", - "description": "The changes to the collaborator permissions if the action was `edited`." + "description": "The changes to the project card if the action was `edited` or `converted`." }, - "changes[old_permission][from]": { + "changes[note][from]": { "type": "string", - "description": "The previous permissions of the collaborator if the action was `edited`." + "description": "The previous version of the note if the action was `edited` or `converted`." + }, + "after_id": { + "type": "integer", + "description": "The id of the card that this card now follows if the action was \"moved\". Will be `null` if it is the first card in a column." + }, + "project_card": { + "type": "object", + "description": "The [project card](https://docs.github.com/en/enterprise-server@3.5/rest/reference/projects#cards) itself." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -9853,26 +9295,38 @@ }, "examples": [ { - "action": "added", - "member": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false + "action": "created", + "project_card": { + "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8", + "project_url": "https://octocoders.github.io/api/v3/projects/6", + "column_url": "https://octocoders.github.io/api/v3/projects/columns/8", + "column_id": 8, + "id": 8, + "node_id": "MDExOlByb2plY3RDYXJkOA==", + "note": "Work that can be completed in one hour or less.", + "archived": false, + "creator": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2019-05-15T19:39:01Z", + "updated_at": "2019-05-15T19:39:01Z" }, "repository": { "id": 118, @@ -9941,7 +9395,7 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", + "updated_at": "2019-05-15T19:38:27Z", "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", @@ -9957,13 +9411,13 @@ "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 1, + "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, - "forks": 1, + "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "master" @@ -9999,33 +9453,60 @@ "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "project_column", + "description": "Activity related to columns in a project board. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[project columns](https://docs.github.com/en/enterprise-server@3.5/rest/reference/projects#columns)\" REST API.", + "actions": ["created", "deleted", "edited", "moved"], + "properties": { + "changes": { + "type": "object", + "description": "The changes to the project column if the action was `edited`." + }, + "changes[name][from]": { + "type": "string", + "description": "The previous version of the name if the action was `edited`." + }, + "after_id": { + "type": "integer", + "description": "The id of the column that this column now follows if the action was \"moved\". Will be `null` if it is the first column in a project." + }, + "project_column": { + "type": "object", + "description": "The [project column](https://docs.github.com/en/enterprise-server@3.5/rest/reference/projects#columns) itself." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "added", - "member": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false + "action": "created", + "project_column": { + "url": "https://octocoders.github.io/api/v3/projects/columns/8", + "project_url": "https://octocoders.github.io/api/v3/projects/6", + "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards", + "id": 8, + "node_id": "MDEzOlByb2plY3RDb2x1bW44", + "name": "Small bugfixes", + "created_at": "2019-05-15T19:39:01Z", + "updated_at": "2019-05-15T19:39:01Z" }, "repository": { "id": 118, @@ -10094,7 +9575,7 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", + "updated_at": "2019-05-15T19:38:27Z", "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", @@ -10110,13 +9591,13 @@ "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 1, + "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, - "forks": 1, + "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "master" @@ -10161,25 +9642,17 @@ ] }, { - "name": "membership", - "description": "Activity related to team membership. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[team members](https://docs.github.com/en/enterprise-server@2.21/rest/reference/teams#members)\" REST API.", - "actions": ["added", "removed"], + "name": "public", + "description": "When a private repository is made public. Without a doubt: the best GitHub Enterprise Server event.", + "actions": [], "properties": { - "scope": { - "type": "string", - "description": "The scope of the membership. Currently, can only be `team`." - }, - "member": { - "type": "object", - "description": "The [user](https://docs.github.com/en/enterprise-server@2.21/rest/reference/users) that was added or removed." - }, - "team": { + "repository": { "type": "object", - "description": "The [team](https://docs.github.com/en/enterprise-server@2.21/rest/reference/teams) for the membership." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -10192,9 +9665,113 @@ }, "examples": [ { - "action": "removed", - "scope": "team", - "member": { + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:38:25Z", + "pushed_at": "2019-05-15T19:38:23Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Ruby", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -10214,423 +9791,64 @@ "type": "User", "site_admin": false }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - } - }, - { - "action": "added", - "scope": "team", - "member": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - } - }, - { - "action": "removed", - "scope": "team", - "member": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } } ] }, { - "name": "meta", - "description": "The webhook this event is configured on was deleted. This event will only listen for changes to the particular hook the event is installed on. Therefore, it must be selected for each hook that you'd like to receive meta events for.", + "name": "pull_request", + "description": "Activity related to pull requests. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull requests](https://docs.github.com/en/enterprise-server@3.5/rest/reference/pulls)\" REST API.", + "actions": [ + "assigned", + "auto_merge_disabled", + "auto_merge_enabled", + "closed", + "converted_to_draft", + "edited", + "labeled", + "locked", + "merged", + "opened", + "ready_for_review", + "reopened", + "review_request_removed", + "review_requested", + "synchronize", + "unassigned", + "unlabeled", + "unlocked" + ], "properties": { - "hook_id": { + "number": { "type": "integer", - "description": "The id of the modified webhook." - }, - "hook": { - "type": "object", - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace." + "description": "The pull request number." }, - "repository": { + "changes": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The changes to the comment if the action was `edited`." }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "actions": ["deleted"], - "examples": [ - { - "action": "deleted", - "hook_id": 101047067, - "hook": { - "type": "Repository", - "id": 101047067, - "name": "web", - "active": true, - "events": ["meta"], - "config": { - "content_type": "json", - "insecure_ssl": "0", - "url": "http://example.com/hook" - }, - "updated_at": "2019-04-10T03:57:12Z", - "created_at": "2019-04-10T03:57:12Z" - }, - "repository": { - "id": 135493233, - "node_id": "MDEwOlJlcG9zaXRvcnkxMzU0OTMyMzM=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2018-05-30T20:18:04Z", - "updated_at": "2018-05-30T20:18:50Z", - "pushed_at": "2018-05-30T20:18:48Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "milestone", - "description": "Activity related to milestones. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[milestones](https://docs.github.com/en/enterprise-server@2.21/rest/reference/issues#milestones)\" REST API.", - "actions": ["closed", "created", "deleted", "edited", "opened"], - "properties": { - "milestone": { "type": "object", "description": "The milestone itself." }, - "changes": { - "type": "object", - "description": "The changes to the milestone if the action was `edited`." - }, - "changes[description][from]": { + "changes[title][from]": { "type": "string", - "description": "The previous version of the description if the action was `edited`." + "description": "The previous version of the title if the action was `edited`." }, - "changes[due_on][from]": { + "changes[body][from]": { "type": "string", - "description": "The previous version of the due date if the action was `edited`." + "description": "The previous version of the body if the action was `edited`." }, - "changes[title][from]": { - "type": "string", - "description": "The previous version of the title if the action was `edited`." + "pull_request": { + "type": "object", + "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.5/rest/reference/pulls) itself." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -10643,5412 +9861,21 @@ }, "examples": [ { - "action": "created", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", + "action": "assigned", + "number": 2, + "pull_request": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, + "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", + "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", + "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", + "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", + "number": 2, "state": "open", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:52Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": null - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "closed", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:53Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, - "state": "open", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:37:52Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": null - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:37:50Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "deleted", - "milestone": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/milestone/1", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones/1/labels", - "id": 2, - "node_id": "MDk6TWlsZXN0b25lMg==", - "number": 1, - "title": "v1.0", - "description": "Add new space flight simulator", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 0, - "closed_issues": 0, - "state": "closed", - "created_at": "2019-05-15T19:37:52Z", - "updated_at": "2019-05-15T19:38:05Z", - "due_on": "2019-05-23T00:00:00Z", - "closed_at": "2019-05-15T19:37:53Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "organization", - "description": "Activity related to an organization and its members. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[organizations](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs)\" REST API.", - "actions": [ - "created", - "deleted", - "member_added", - "member_invited", - "member_removed", - "renamed" - ], - "properties": { - "invitation": { - "type": "object", - "description": "The invitation for the user or email if the action is `member_invited`." - }, - "membership": { - "type": "object", - "description": "The membership between the user and the organization. Not present when the action is `member_invited`." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "member_added", - "membership": { - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat", - "state": "active", - "role": "member", - "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "user": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "member_added", - "membership": { - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat", - "state": "active", - "role": "member", - "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "user": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "member_removed", - "membership": { - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders/memberships/Hacktocat", - "state": "inactive", - "role": "unaffiliated", - "organization_url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "user": { - "login": "Hacktocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://octocoders.github.io/avatars/u/5?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Hacktocat", - "html_url": "https://octocoders.github.io/Hacktocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Hacktocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Hacktocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Hacktocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Hacktocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Hacktocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Hacktocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Hacktocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Hacktocat/received_events", - "type": "User", - "site_admin": false - } - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "page_build", - "description": "Represents an attempted build of a GitHub Pages site, whether successful or not. A push to a GitHub Pages enabled branch (`gh-pages` for project pages, the default branch for user and organization pages) triggers this event.", - "actions": [], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the page build." - }, - "build": { - "type": "object", - "description": "The [List GitHub Pages builds](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#list-github-pages-builds) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "id": 7, - "build": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7", - "status": "built", - "error": { "message": null }, - "pusher": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "commit": "3648135c2986115284ae152d90459473b15fd19c", - "duration": 6917, - "created_at": "2019-05-15T19:38:15Z", - "updated_at": "2019-05-15T19:38:22Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "id": 7, - "build": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pages/builds/7", - "status": "built", - "error": { "message": null }, - "pusher": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "commit": "3648135c2986115284ae152d90459473b15fd19c", - "duration": 6917, - "created_at": "2019-05-15T19:38:15Z", - "updated_at": "2019-05-15T19:38:22Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "ping", - "description": "When you create a new webhook, we'll send you a simple `ping` event to let you know you've set up the webhook correctly. This event isn't stored so it isn't retrievable via the [Events API](https://docs.github.com/en/enterprise-server@2.21/rest/reference/activity#ping-a-repository-webhook) endpoint.", - "actions": [], - "properties": { - "zen": { - "type": "string", - "description": "Random string of GitHub zen." - }, - "hook_id": { - "type": "integer", - "description": "The ID of the webhook that triggered the ping." - }, - "hook": { - "type": "object", - "description": "The [webhook configuration](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository-webhook)." - }, - "hook[app_id]": { - "type": "integer", - "description": "When you register a new GitHub App, GitHub Enterprise Server sends a ping event to the **webhook URL** you specified during registration. The event contains the `app_id`, which is required for [authenticating](https://docs.github.com/en/enterprise-server@2.21/apps/building-integrations/setting-up-and-registering-github-apps/about-authentication-options-for-github-apps) an app." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "zen": "Non-blocking is better than blocking.", - "hook_id": 30, - "hook": { - "type": "Repository", - "id": 30, - "name": "web", - "active": true, - "events": ["*"], - "config": { - "content_type": "json", - "url": "https://smee.io/YEbF2t8kjvPAn7Ck", - "insecure_ssl": "0" - }, - "updated_at": "2019-05-15T19:38:17Z", - "created_at": "2019-05-15T19:38:17Z", - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30", - "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test", - "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings", - "last_response": { "code": null, "status": "unused", "message": null } - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "zen": "Non-blocking is better than blocking.", - "hook_id": 30, - "hook": { - "type": "Repository", - "id": 30, - "name": "web", - "active": true, - "events": ["*"], - "config": { - "content_type": "json", - "url": "https://smee.io/YEbF2t8kjvPAn7Ck", - "insecure_ssl": "0" - }, - "updated_at": "2019-05-15T19:38:17Z", - "created_at": "2019-05-15T19:38:17Z", - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30", - "test_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/test", - "ping_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks/30/pings", - "last_response": { "code": null, "status": "unused", "message": null } - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "project_card", - "description": "Activity related to project cards. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[project cards](https://docs.github.com/en/enterprise-server@2.21/rest/reference/projects#cards)\" REST API.", - "actions": ["converted", "created", "deleted", "edited", "moved"], - "properties": { - "changes": { - "type": "object", - "description": "The changes to the project card if the action was `edited` or `converted`." - }, - "changes[note][from]": { - "type": "string", - "description": "The previous version of the note if the action was `edited` or `converted`." - }, - "after_id": { - "type": "integer", - "description": "The id of the card that this card now follows if the action was \"moved\". Will be `null` if it is the first card in a column." - }, - "project_card": { - "type": "object", - "description": "The [project card](https://docs.github.com/en/enterprise-server@2.21/rest/reference/projects#cards) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "project_card": { - "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8", - "project_url": "https://octocoders.github.io/api/v3/projects/6", - "column_url": "https://octocoders.github.io/api/v3/projects/columns/8", - "column_id": 8, - "id": 8, - "node_id": "MDExOlByb2plY3RDYXJkOA==", - "note": "Work that can be completed in one hour or less.", - "archived": false, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:39:01Z", - "updated_at": "2019-05-15T19:39:01Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "action": "created", - "project_card": { - "url": "https://octocoders.github.io/api/v3/projects/columns/cards/8", - "project_url": "https://octocoders.github.io/api/v3/projects/6", - "column_url": "https://octocoders.github.io/api/v3/projects/columns/8", - "column_id": 8, - "id": 8, - "node_id": "MDExOlByb2plY3RDYXJkOA==", - "note": "Work that can be completed in one hour or less.", - "archived": false, - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:39:01Z", - "updated_at": "2019-05-15T19:39:01Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - { - "name": "project_column", - "description": "Activity related to columns in a project board. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[project columns](https://docs.github.com/en/enterprise-server@2.21/rest/reference/projects#columns)\" REST API.", - "actions": ["created", "deleted", "edited", "moved"], - "properties": { - "changes": { - "type": "object", - "description": "The changes to the project column if the action was `edited`." - }, - "changes[name][from]": { - "type": "string", - "description": "The previous version of the name if the action was `edited`." - }, - "after_id": { - "type": "integer", - "description": "The id of the column that this column now follows if the action was \"moved\". Will be `null` if it is the first column in a project." - }, - "project_column": { - "type": "object", - "description": "The [project column](https://docs.github.com/en/enterprise-server@2.21/rest/reference/projects#columns) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "project_column": { - "url": "https://octocoders.github.io/api/v3/projects/columns/8", - "project_url": "https://octocoders.github.io/api/v3/projects/6", - "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards", - "id": 8, - "node_id": "MDEzOlByb2plY3RDb2x1bW44", - "name": "Small bugfixes", - "created_at": "2019-05-15T19:39:01Z", - "updated_at": "2019-05-15T19:39:01Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "project_column": { - "url": "https://octocoders.github.io/api/v3/projects/columns/8", - "project_url": "https://octocoders.github.io/api/v3/projects/6", - "cards_url": "https://octocoders.github.io/api/v3/projects/columns/8/cards", - "id": 8, - "node_id": "MDEzOlByb2plY3RDb2x1bW44", - "name": "Small bugfixes", - "created_at": "2019-05-15T19:39:01Z", - "updated_at": "2019-05-15T19:39:01Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "project", - "description": "Activity related to project boards. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[projects](https://docs.github.com/en/enterprise-server@2.21/rest/reference/projects)\" REST API.", - "actions": ["closed", "created", "deleted", "edited", "reopened"], - "properties": { - "changes": { - "type": "object", - "description": "The changes to the project if the action was `edited`." - }, - "changes[name][from]": { - "type": "string", - "description": "The previous version of the name if the action was `edited`." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "project": { - "type": "object", - "description": "The [project](https://docs.github.com/en/enterprise-server@2.21/rest/reference/projects) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "created", - "project": { - "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "url": "https://octocoders.github.io/api/v3/projects/6", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1", - "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns", - "id": 6, - "node_id": "MDc6UHJvamVjdDY=", - "name": "Space 2.0", - "body": "Project tasks for a trip to Space", - "number": 1, - "state": "open", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "project": { - "owner_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "url": "https://octocoders.github.io/api/v3/projects/6", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/projects/1", - "columns_url": "https://octocoders.github.io/api/v3/projects/6/columns", - "id": 6, - "node_id": "MDc6UHJvamVjdDY=", - "name": "Space 2.0", - "body": "Project tasks for a trip to Space", - "number": 1, - "state": "open", - "creator": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2019-05-15T19:38:27Z", - "updated_at": "2019-05-15T19:38:27Z" - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "public", - "description": "When a private repository is made public. Without a doubt: the best GitHub Enterprise Server event.", - "actions": [], - "properties": { - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "pull_request", - "description": "Activity related to pull requests. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull requests](https://docs.github.com/en/enterprise-server@2.21/rest/reference/pulls)\" REST API.", - "actions": [ - "assigned", - "closed", - "converted_to_draft", - "edited", - "labeled", - "locked", - "merged", - "opened", - "ready_for_review", - "reopened", - "review_request_removed", - "review_requested", - "synchronize", - "unassigned", - "unlabeled", - "unlocked" - ], - "properties": { - "number": { - "type": "integer", - "description": "The pull request number." - }, - "changes": { - "type": "object", - "description": "The changes to the comment if the action was `edited`." - }, - "changes[title][from]": { - "type": "string", - "description": "The previous version of the title if the action was `edited`." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "pull_request": { - "type": "object", - "description": "The [pull request](https://docs.github.com/en/enterprise-server@2.21/rest/reference/pulls) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "opened", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:02Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": null, - "rebaseable": null, - "mergeable_state": "unknown", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "assigned", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:02Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [ - { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - ], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "assignee": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "closed", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "closed", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:39:14Z", - "closed_at": "2019-05-15T19:39:14Z", - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 1, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:27Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": null, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "labeled", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:05Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [ - { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "opened", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is a pretty simple change that we need to pull into master.", - "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:02Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", - "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", - "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", - "head": { - "label": "Codertocat:changes", - "ref": "changes", - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "base": { - "label": "Codertocat:master", - "ref": "master", - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - } - }, - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" - }, - "issue": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" - }, - "comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" - }, - "review_comments": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" - }, - "review_comment": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" - }, - "statuses": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" - } - }, - "author_association": "OWNER", - "draft": false, - "merged": false, - "mergeable": null, - "rebaseable": null, - "mergeable_state": "unknown", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "unassigned", - "number": 2, - "pull_request": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "id": 2, - "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", - "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", - "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", - "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", - "number": 2, - "state": "open", - "locked": false, - "title": "Update the README with new information.", - "user": { + "locked": false, + "title": "Update the README with new information.", + "user": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -16070,12 +9897,33 @@ }, "body": "This is a pretty simple change that we need to pull into master.", "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:05Z", + "updated_at": "2019-05-15T19:38:02Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", "assignee": null, - "assignees": [], + "assignees": [ + { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } + ], "requested_reviewers": [], "requested_teams": [], "labels": [], @@ -16516,7 +10364,7 @@ } }, { - "action": "unlabeled", + "action": "closed", "number": 2, "pull_request": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", @@ -16527,8 +10375,8 @@ "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", "number": 2, - "state": "open", - "locked": true, + "state": "closed", + "locked": false, "title": "Update the README with new information.", "user": { "login": "Codertocat", @@ -16552,8 +10400,8 @@ }, "body": "This is a pretty simple change that we need to pull into master.", "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:06Z", - "closed_at": null, + "updated_at": "2019-05-15T19:39:14Z", + "closed_at": "2019-05-15T19:39:14Z", "merged_at": null, "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", "assignee": null, @@ -16658,8 +10506,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", + "updated_at": "2019-05-15T19:38:27Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -16668,7 +10516,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": null, + "language": "Ruby", "has_issues": true, "has_projects": true, "has_downloads": true, @@ -16678,10 +10526,10 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 2, + "open_issues_count": 1, "license": null, "forks": 0, - "open_issues": 2, + "open_issues": 1, "watchers": 0, "default_branch": "master" } @@ -16777,8 +10625,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", + "updated_at": "2019-05-15T19:38:27Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -16787,7 +10635,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": null, + "language": "Ruby", "has_issues": true, "has_projects": true, "has_downloads": true, @@ -16797,10 +10645,10 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 2, + "open_issues_count": 1, "license": null, "forks": 0, - "open_issues": 2, + "open_issues": 1, "watchers": 0, "default_branch": "master" } @@ -16839,21 +10687,13 @@ "mergeable_state": "clean", "merged_by": null, "comments": 0, - "review_comments": 0, + "review_comments": 1, "maintainer_can_modify": false, "commits": 1, "additions": 1, "deletions": 1, "changed_files": 1 }, - "label": { - "id": 941, - "node_id": "MDU6TGFiZWw5NDE=", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -16921,8 +10761,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:37:10Z", - "pushed_at": "2019-05-15T19:38:03Z", + "updated_at": "2019-05-15T19:38:27Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -16931,7 +10771,7 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": null, + "language": "Ruby", "has_issues": true, "has_projects": true, "has_downloads": true, @@ -16941,10 +10781,10 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 2, + "open_issues_count": 1, "license": null, "forks": 0, - "open_issues": 2, + "open_issues": 1, "watchers": 0, "default_branch": "master" }, @@ -16984,85 +10824,10 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } - } - ] - }, - { - "name": "pull_request_review", - "description": "Activity related to pull request reviews. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull request reviews](https://docs.github.com/en/enterprise-server@2.21/rest/reference/pulls#reviews)\" REST API.", - "actions": ["dismissed", "edited", "submitted"], - "properties": { - "pull_request": { - "type": "object", - "description": "The [pull request](https://docs.github.com/en/enterprise-server@2.21/rest/reference/pulls) the review pertains to." - }, - "review": { - "type": "object", - "description": "The review that was affected." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ { - "action": "submitted", - "review": { - "id": 2, - "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": null, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "submitted_at": "2019-05-15T19:38:08Z", - "state": "commented", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2", - "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "author_association": "OWNER", - "_links": { - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2" - }, - "pull_request": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - } - } - }, + "action": "labeled", + "number": 2, "pull_request": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", "id": 2, @@ -17097,7 +10862,7 @@ }, "body": "This is a pretty simple change that we need to pull into master.", "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:08Z", + "updated_at": "2019-05-15T19:38:05Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", @@ -17105,7 +10870,16 @@ "assignees": [], "requested_reviewers": [], "requested_teams": [], - "labels": [], + "labels": [ + { + "id": 941, + "node_id": "MDU6TGFiZWw5NDE=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } + ], "milestone": null, "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", @@ -17376,7 +11150,28 @@ "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" } }, - "author_association": "OWNER" + "author_association": "OWNER", + "draft": false, + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "label": { + "id": 941, + "node_id": "MDU6TGFiZWw5NDE=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true }, "repository": { "id": 118, @@ -17480,76 +11275,38 @@ "avatar_url": "https://octocoders.github.io/avatars/b/1?", "description": null, "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "submitted", - "review": { - "id": 2, - "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": null, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "submitted_at": "2019-05-15T19:38:08Z", - "state": "commented", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2", - "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "author_association": "OWNER", - "_links": { - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2" - }, - "pull_request": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - } - } + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + } + }, + { + "action": "opened", + "number": 2, "pull_request": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", "id": 2, @@ -17584,10 +11341,10 @@ }, "body": "This is a pretty simple change that we need to pull into master.", "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:08Z", + "updated_at": "2019-05-15T19:38:02Z", "closed_at": null, "merged_at": null, - "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", + "merge_commit_sha": null, "assignee": null, "assignees": [], "requested_reviewers": [], @@ -17863,7 +11620,20 @@ "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" } }, - "author_association": "OWNER" + "author_association": "OWNER", + "draft": false, + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 }, "repository": { "id": 118, @@ -17995,99 +11765,10 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } - } - ] - }, - { - "name": "pull_request_review_comment", - "description": "Activity related to pull request review comments in the pull request's unified diff. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull request review comments](https://docs.github.com/en/enterprise-server@2.21/rest/reference/pulls#comments)\" REST API.", - "actions": ["created", "deleted", "edited"], - "properties": { - "changes": { - "type": "object", - "description": "The changes to the comment if the action was `edited`." - }, - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." }, - "pull_request": { - "type": "object", - "description": "The [pull request](https://docs.github.com/en/enterprise-server@2.21/rest/reference/pulls) the comment belongs to." - }, - "comment": { - "type": "object", - "description": "The [comment](https://docs.github.com/en/enterprise-server@2.21/rest/reference/pulls#comments) itself." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ { - "action": "created", - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2", - "pull_request_review_id": 2, - "id": 2, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=", - "diff_hunk": "@@ -1 +1 @@\n-# Hello-World", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Maybe you should use more emoji on this line.", - "created_at": "2019-05-15T19:38:07Z", - "updated_at": "2019-05-15T19:38:08Z", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2", - "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "author_association": "OWNER", - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2" - }, - "pull_request": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - } - } - }, + "action": "unassigned", + "number": 2, "pull_request": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", "id": 2, @@ -18122,7 +11803,7 @@ }, "body": "This is a pretty simple change that we need to pull into master.", "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:08Z", + "updated_at": "2019-05-15T19:38:05Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", @@ -18401,7 +12082,40 @@ "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" } }, - "author_association": "OWNER" + "author_association": "OWNER", + "draft": false, + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "assignee": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false }, "repository": { "id": 118, @@ -18502,89 +12216,41 @@ "slug": "github", "name": "GitHub", "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "comment": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2", - "pull_request_review_id": 2, - "id": 2, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=", - "diff_hunk": "@@ -1 +1 @@\n-# Hello-World", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", - "user": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Maybe you should use more emojji on this line.", - "created_at": "2019-05-15T19:38:07Z", - "updated_at": "2019-05-15T19:38:08Z", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2", - "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", - "author_association": "OWNER", - "_links": { - "self": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2" - }, - "html": { - "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2" - }, - "pull_request": { - "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" - } - } + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + } + }, + { + "action": "unlabeled", + "number": 2, "pull_request": { "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", "id": 2, @@ -18595,7 +12261,7 @@ "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", "number": 2, "state": "open", - "locked": false, + "locked": true, "title": "Update the README with new information.", "user": { "login": "Codertocat", @@ -18619,7 +12285,7 @@ }, "body": "This is a pretty simple change that we need to pull into master.", "created_at": "2019-05-15T19:38:02Z", - "updated_at": "2019-05-15T19:38:08Z", + "updated_at": "2019-05-15T19:38:06Z", "closed_at": null, "merged_at": null, "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", @@ -18898,7 +12564,28 @@ "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" } }, - "author_association": "OWNER" + "author_association": "OWNER", + "draft": false, + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + }, + "label": { + "id": 941, + "node_id": "MDU6TGFiZWw5NDE=", + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true }, "repository": { "id": 118, @@ -19034,81 +12721,29 @@ ] }, { - "name": "push", - "description": "One or more commits are pushed to a repository branch or tag.", - "actions": [], + "name": "pull_request_review", + "description": "Activity related to pull request reviews. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull request reviews](https://docs.github.com/en/enterprise-server@3.5/rest/reference/pulls#reviews)\" REST API.", + "actions": ["dismissed", "edited", "submitted"], "properties": { - "ref": { - "type": "string", - "description": "The full [`git ref`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/git#refs) that was pushed. Example: `refs/heads/main`." - }, - "before": { - "type": "string", - "description": "The SHA of the most recent commit on `ref` before the push." - }, - "after": { - "type": "string", - "description": "The SHA of the most recent commit on `ref` after the push." - }, - "commits": { - "type": "array", - "description": "An array of commit objects describing the pushed commits. (The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.)" - }, - "commits[][id]": { - "type": "string", - "description": "The SHA of the commit." - }, - "commits[][timestamp]": { - "type": "string", - "description": "The ISO 8601 timestamp of the commit." - }, - "commits[][message]": { - "type": "string", - "description": "The commit message." - }, - "commits[][author]": { + "pull_request": { "type": "object", - "description": "The git author of the commit." + "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.5/rest/reference/pulls) the review pertains to." }, - "commits[][author][name]": { - "type": "string", - "description": "The git author's name." + "review": { + "type": "object", + "description": "The review that was affected." }, - "commits[][author][email]": { + "changes[body][from]": { "type": "string", - "description": "The git author's email address." - }, - "commits[][url]": { - "type": "url", - "description": "URL that points to the commit API resource." - }, - "commits[][distinct]": { - "type": "boolean", - "description": "Whether this commit is distinct from any that have been pushed before." - }, - "commits[][added]": { - "type": "array", - "description": "An array of files added in the commit." - }, - "commits[][modified]": { - "type": "array", - "description": "An array of files modified by the commit." - }, - "commits[][removed]": { - "type": "array", - "description": "An array of files removed in the commit." - }, - "pusher": { - "type": "object", - "description": "The user who pushed the commits." + "description": "The previous version of the body if the action was `edited`." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -19121,25 +12756,11 @@ }, "examples": [ { - "ref": "refs/tags/simple-tag", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "0000000000000000000000000000000000000000", - "created": false, - "deleted": true, - "forced": false, - "base_ref": null, - "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000", - "commits": [], - "head_commit": null, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io", + "action": "submitted", + "review": { + "id": 2, + "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3Mg==", + "user": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -19152,141 +12773,42 @@ "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": 1557949027, - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": 1557949103, - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "stargazers": 0, - "master_branch": "master" - }, - "pusher": { "name": "Codertocat", "email": "Codertocat@Octocoders.io" }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", + "submitted_at": "2019-05-15T19:38:08Z", + "state": "commented", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2", + "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", + "author_association": "OWNER", + "_links": { + "html": { + "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#pullrequestreview-2" + }, + "pull_request": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" + } + } }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "ref": "refs/tags/simple-tag", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "0000000000000000000000000000000000000000", - "created": false, - "deleted": true, - "forced": false, - "base_ref": null, - "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000", - "commits": [], - "head_commit": null, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io", + "pull_request": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", + "id": 2, + "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", + "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", + "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", + "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", + "number": 2, + "state": "open", + "locked": false, + "title": "Update the README with new information.", + "user": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -19306,199 +12828,288 @@ "type": "User", "site_admin": false }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": 1557949027, - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": 1557949103, - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "stargazers": 0, - "master_branch": "master" - }, - "pusher": { "name": "Codertocat", "email": "Codertocat@Octocoders.io" }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "release", - "description": "Activity related to a release. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[releases](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#releases)\" REST API.", - "actions": [ - "created", - "deleted", - "edited", - "prereleased", - "published", - "released", - "unpublished" - ], - "properties": { - "changes[body][from]": { - "type": "string", - "description": "The previous version of the body if the action was `edited`." - }, - "changes[name][from]": { - "type": "string", - "description": "The previous version of the name if the action was `edited`." - }, - "release": { - "type": "object", - "description": "The [release](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos/#get-a-release) object." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "published", - "release": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2", - "assets_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2/assets", - "upload_url": "https://octocoders.github.io/api/uploads/repos/Codertocat/Hello-World/releases/2/assets{?name,label}", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/releases/tag/0.0.1", - "id": 2, - "node_id": "MDc6UmVsZWFzZTI=", - "tag_name": "0.0.1", - "target_commitish": "master", - "name": null, - "draft": false, - "author": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false + "body": "This is a pretty simple change that we need to pull into master.", + "created_at": "2019-05-15T19:38:02Z", + "updated_at": "2019-05-15T19:38:08Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", + "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", + "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", + "head": { + "label": "Codertocat:changes", + "ref": "changes", + "sha": "14977a7b5485400124827221a04bfb474bcd72d1", + "user": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "Codertocat:master", + "ref": "master", + "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", + "user": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" + }, + "html": { + "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" + }, + "issue": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" + }, + "comments": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" + }, + "review_comments": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" + }, + "review_comment": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" + }, + "statuses": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" + } }, - "prerelease": false, - "created_at": "2019-05-15T19:37:08Z", - "published_at": "2019-05-15T19:38:20Z", - "assets": [], - "tarball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tarball/0.0.1", - "zipball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/zipball/0.0.1", - "body": null + "author_association": "OWNER" }, "repository": { "id": 118, @@ -19567,8 +13178,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -19577,19 +13188,19 @@ "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": "Ruby", + "language": null, "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 1, + "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, - "forks": 1, + "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "master" @@ -19630,55 +13241,62 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "pull_request_review_comment", + "description": "Activity related to pull request review comments in the pull request's unified diff. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[pull request review comments](https://docs.github.com/en/enterprise-server@3.5/rest/reference/pulls#comments)\" REST API.", + "actions": ["created", "deleted", "edited"], + "properties": { + "changes": { + "type": "object", + "description": "The changes to the comment if the action was `edited`." + }, + "changes[body][from]": { + "type": "string", + "description": "The previous version of the body if the action was `edited`." + }, + "pull_request": { + "type": "object", + "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.5/rest/reference/pulls) the comment belongs to." + }, + "comment": { + "type": "object", + "description": "The [comment](https://docs.github.com/en/enterprise-server@3.5/rest/reference/pulls#comments) itself." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "published", - "release": { - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2", - "assets_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2/assets", - "upload_url": "https://octocoders.github.io/api/uploads/repos/Codertocat/Hello-World/releases/2/assets{?name,label}", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/releases/tag/0.0.1", + "action": "created", + "comment": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2", + "pull_request_review_id": 2, "id": 2, - "node_id": "MDc6UmVsZWFzZTI=", - "tag_name": "0.0.1", - "target_commitish": "master", - "name": null, - "draft": false, - "author": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "prerelease": false, - "created_at": "2019-05-15T19:37:08Z", - "published_at": "2019-05-15T19:38:20Z", - "assets": [], - "tarball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tarball/0.0.1", - "zipball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/zipball/0.0.1", - "body": null - }, - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { + "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI=", + "diff_hunk": "@@ -1 +1 @@\n-# Hello-World", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", + "original_commit_id": "14977a7b5485400124827221a04bfb474bcd72d1", + "user": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -19698,294 +13316,339 @@ "type": "User", "site_admin": false }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false + "body": "Maybe you should use more emoji on this line.", + "created_at": "2019-05-15T19:38:07Z", + "updated_at": "2019-05-15T19:38:08Z", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2", + "pull_request_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", + "author_association": "OWNER", + "_links": { + "self": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments/2" + }, + "html": { + "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2" + }, + "pull_request": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" + } + } }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "repository_dispatch", - "description": "This event occurs when a GitHub App sends a `POST` request to the \"[Create a repository dispatch event](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#create-a-repository-dispatch-event)\" endpoint.", - "properties": {}, - "actions": [], - "examples": [ - { - "action": "on-demand-test", - "branch": "master", - "client_payload": {}, - "repository": { - "id": 17273051, - "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==", - "name": "octo-repo", - "full_name": "octo-org/octo-repo", - "private": true, - "owner": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "pull_request": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2", + "id": 2, + "node_id": "MDExOlB1bGxSZXF1ZXN0Mg==", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2", + "diff_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.diff", + "patch_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2.patch", + "issue_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2", + "number": 2, + "state": "open", + "locked": false, + "title": "Update the README with new information.", + "user": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "https://api.github.com/users/octo-org", - "html_url": "https://github.com/octo-org", - "followers_url": "https://api.github.com/users/octo-org/followers", - "following_url": "https://api.github.com/users/octo-org/following{/other_user}", - "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", - "organizations_url": "https://api.github.com/users/octo-org/orgs", - "repos_url": "https://api.github.com/users/octo-org/repos", - "events_url": "https://api.github.com/users/octo-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/octo-org/received_events", - "type": "Organization", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", "site_admin": false }, - "html_url": "https://github.com/octo-org/octo-repo", - "description": "My first repo on GitHub!", - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", - "created_at": "2014-02-28T02:42:51Z", - "updated_at": "2018-10-10T15:58:51Z", - "pushed_at": "2018-10-10T15:58:47Z", - "git_url": "git://github.com/octo-org/octo-repo.git", - "ssh_url": "git@github.com:octo-org/octo-repo.git", - "clone_url": "https://github.com/octo-org/octo-repo.git", - "svn_url": "https://github.com/octo-org/octo-repo", - "homepage": "", - "size": 59, - "stargazers_count": 0, - "watchers_count": 0, - "language": "JavaScript", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "open_issues_count": 23, - "license": null, - "forks": 1, - "open_issues": 23, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "url": "https://api.github.com/orgs/octo-org", - "repos_url": "https://api.github.com/orgs/octo-org/repos", - "events_url": "https://api.github.com/orgs/octo-org/events", - "hooks_url": "https://api.github.com/orgs/octo-org/hooks", - "issues_url": "https://api.github.com/orgs/octo-org/issues", - "members_url": "https://api.github.com/orgs/octo-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "description": "Working better together!" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false + "body": "This is a pretty simple change that we need to pull into master.", + "created_at": "2019-05-15T19:38:02Z", + "updated_at": "2019-05-15T19:38:08Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "e67e14475991deeb61cc1999c3bf9db333ac0d5f", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits", + "review_comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments", + "review_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1", + "head": { + "label": "Codertocat:changes", + "ref": "changes", + "sha": "14977a7b5485400124827221a04bfb474bcd72d1", + "user": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "Codertocat:master", + "ref": "master", + "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", + "user": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false, + "owner": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 0, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2" + }, + "html": { + "href": "https://octocoders.github.io/Codertocat/Hello-World/pull/2" + }, + "issue": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2" + }, + "comments": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/2/comments" + }, + "review_comments": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/comments" + }, + "review_comment": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/comments{/number}" + }, + "commits": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls/2/commits" + }, + "statuses": { + "href": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/14977a7b5485400124827221a04bfb474bcd72d1" + } + }, + "author_association": "OWNER" }, - "installation": { - "id": 375706, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMzc1NzA2" - } - } - ] - }, - { - "name": "repository", - "description": "Activity related to a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[repositories](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos)\" REST API.", - "actions": [ - "anonymous_access_disabled", - "anonymous_access_enabled", - "archived", - "created", - "deleted", - "edited", - "privatized", - "publicized", - "renamed", - "transferred", - "unarchived" - ], - "properties": { - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." - }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ - { - "action": "publicized", "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -20052,181 +13715,34 @@ "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - }, - { - "action": "created", - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:10Z", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:37:10Z", "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", "homepage": null, "size": 0, "stargazers_count": 0, "watchers_count": 0, "language": null, - "has_issues": false, + "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, - "has_pages": false, + "has_pages": true, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 0, + "open_issues_count": 2, "license": null, "forks": 0, - "open_issues": 0, + "open_issues": 2, "watchers": 0, "default_branch": "master" }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, "enterprise": { "id": 1, "slug": "github", @@ -20258,127 +13774,292 @@ "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "pull_request_review_thread", + "description": "Activity related to a comment thread on a pull request being marked as resolved or unresolved. The type of activity is specified in the `action` property of the payload object.", + "properties": { + "pull_request": { + "type": "object", + "description": "The [pull request](https://docs.github.com/en/enterprise-server@3.5/rest/reference/pulls) the thread pertains to." + }, + "thread": { + "type": "object", + "description": "The thread that was affected." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["resolved", "unresolved"], + "examples": [] + }, + { + "name": "push", + "description": "One or more commits are pushed to a repository branch or tag.", + "actions": [], + "properties": { + "ref": { + "type": "string", + "description": "The full [`git ref`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/git#refs) that was pushed. Example: `refs/heads/main` or `refs/tags/v3.14.1`." + }, + "before": { + "type": "string", + "description": "The SHA of the most recent commit on `ref` before the push." + }, + "after": { + "type": "string", + "description": "The SHA of the most recent commit on `ref` after the push." + }, + "created": { + "type": "boolean", + "description": "Whether this push created the `ref`." + }, + "deleted": { + "type": "boolean", + "description": "Whether this push deleted the `ref`." + }, + "forced": { + "type": "boolean", + "description": "Whether this push was a force push of the `ref`." + }, + "head_commit": { + "type": "object", + "description": "For pushes where `after` is or points to a commit object, an expanded representation of that commit. For pushes where `after` refers to an annotated tag object, an expanded representation of the commit pointed to by the annotated tag." + }, + "compare": { + "type": "string", + "description": "URL that shows the changes in this `ref` update, from the `before` commit to the `after` commit. For a newly created `ref` that is directly based on the default branch, this is the comparison between the head of the default branch and the `after` commit. Otherwise, this shows all commits until the `after` commit." + }, + "commits": { + "type": "array", + "description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.)" + }, + "commits[][id]": { + "type": "string", + "description": "The SHA of the commit." + }, + "commits[][timestamp]": { + "type": "string", + "description": "The ISO 8601 timestamp of the commit." + }, + "commits[][message]": { + "type": "string", + "description": "The commit message." + }, + "commits[][author]": { + "type": "object", + "description": "The git author of the commit." + }, + "commits[][author][name]": { + "type": "string", + "description": "The git author's name." + }, + "commits[][author][email]": { + "type": "string", + "description": "The git author's email address." + }, + "commits[][url]": { + "type": "url", + "description": "URL that points to the commit API resource." + }, + "commits[][distinct]": { + "type": "boolean", + "description": "Whether this commit is distinct from any that have been pushed before." + }, + "commits[][added]": { + "type": "array", + "description": "An array of files added in the commit." + }, + "commits[][modified]": { + "type": "array", + "description": "An array of files modified by the commit." + }, + "commits[][removed]": { + "type": "array", + "description": "An array of files removed in the commit." + }, + "pusher": { + "type": "object", + "description": "The user who pushed the commits." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "deleted", + "ref": "refs/tags/simple-tag", + "before": "0000000000000000000000000000000000000000", + "after": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "created": true, + "deleted": false, + "forced": false, + "base_ref": null, + "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/simple-tag", + "commits": [], + "head_commit": { + "id": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "tree_id": "4b825dc642cb6eb9a060e54bf8d69288fbee4904", + "distinct": true, + "message": "Adding a .gitignore file", + "timestamp": "2019-05-15T15:20:41Z", + "url": "https://octocoders.github.io/Codertocat/Hello-World/commit/6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "author": { + "name": "Codertocat", + "email": "Codertocat@Octocoders.io", + "username": "Codertocat" + }, + "committer": { + "name": "Codertocat", + "email": "Codertocat@Octocoders.io", + "username": "Codertocat" + }, + "added": [".gitignore"], + "removed": [], + "modified": [] + }, "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", "name": "Hello-World", - "full_name": "Octocoders/Hello-World", + "full_name": "Codertocat/Hello-World", "private": false, "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/6?", + "name": "Codertocat", + "email": "Codertocat@Octocoders.io", + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/received_events", - "type": "Organization", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", "site_admin": false }, - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", "description": null, "fork": false, - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World", - "forks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:39:36Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World.git", - "ssh_url": "git@rachmari-0a7d40112fe15292b.ghe-test.net:Octocoders/Hello-World.git", - "clone_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World.git", - "svn_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World", + "url": "https://octocoders.github.io/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": 1557949027, + "updated_at": "2019-05-15T19:38:15Z", + "pushed_at": 1557949103, + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", "homepage": null, "size": 0, "stargazers_count": 0, "watchers_count": 0, "language": "Ruby", - "has_issues": false, + "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, - "has_pages": false, + "has_pages": true, "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 0, + "open_issues_count": 2, "license": null, "forks": 1, - "open_issues": 0, + "open_issues": 2, "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/events", - "hooks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/hooks", - "issues_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/issues", - "members_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/6?", - "description": "" + "default_branch": "master", + "stargazers": 0, + "master_branch": "master" }, + "pusher": { "name": "Codertocat", "email": "Codertocat@Octocoders.io" }, "enterprise": { "id": 1, "slug": "github", "name": "GitHub", "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", "description": null, "website_url": null, - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github", + "html_url": "https://octocoders.github.io/businesses/github", "created_at": "2019-05-14T19:31:12Z", "updated_at": "2019-05-14T19:31:12Z" }, @@ -20386,31 +14067,119 @@ "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", "gravatar_id": "", - "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", - "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", - "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", - "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", - "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", - "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", - "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "release", + "description": "Activity related to a release. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[releases](https://docs.github.com/en/enterprise-server@3.5/rest/reference/releases)\" REST API.", + "actions": [ + "created", + "deleted", + "edited", + "prereleased", + "published", + "released", + "unpublished" + ], + "properties": { + "changes[body][from]": { + "type": "string", + "description": "The previous version of the body if the action was `edited`." + }, + "changes[name][from]": { + "type": "string", + "description": "The previous version of the name if the action was `edited`." + }, + "release": { + "type": "object", + "description": "The [release](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos/#get-a-release) object." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "privatized", + "action": "published", + "release": { + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2", + "assets_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases/2/assets", + "upload_url": "https://octocoders.github.io/api/uploads/repos/Codertocat/Hello-World/releases/2/assets{?name,label}", + "html_url": "https://octocoders.github.io/Codertocat/Hello-World/releases/tag/0.0.1", + "id": 2, + "node_id": "MDc6UmVsZWFzZTI=", + "tag_name": "0.0.1", + "target_commitish": "master", + "name": null, + "draft": false, + "author": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "prerelease": false, + "created_at": "2019-05-15T19:37:08Z", + "published_at": "2019-05-15T19:38:20Z", + "assets": [], + "tarball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tarball/0.0.1", + "zipball_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/zipball/0.0.1", + "body": null + }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", "name": "Hello-World", "full_name": "Codertocat/Hello-World", - "private": true, + "private": false, "owner": { "login": "Codertocat", "id": 4, @@ -20472,8 +14241,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:24Z", - "pushed_at": "2019-05-15T19:38:23Z", + "updated_at": "2019-05-15T19:38:15Z", + "pushed_at": "2019-05-15T19:38:19Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -20535,103 +14304,161 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "repository_dispatch", + "description": "This event occurs when a GitHub App sends a `POST` request to the \"[Create a repository dispatch event](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#create-a-repository-dispatch-event)\" endpoint.", + "properties": {}, + "actions": [], + "examples": [] + }, + { + "name": "repository", + "description": "Activity related to a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[repositories](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos)\" REST API.", + "actions": [ + "anonymous_access_disabled", + "anonymous_access_enabled", + "archived", + "created", + "deleted", + "edited", + "privatized", + "publicized", + "renamed", + "transferred", + "unarchived" + ], + "properties": { + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { - "action": "publicized", + "action": "created", "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "id": 120, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", "name": "Hello-World", - "full_name": "Codertocat/Hello-World", + "full_name": "Octocoders/Hello-World", "private": false, "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", + "url": "https://octocoders.github.io/api/v3/users/Octocoders", + "html_url": "https://octocoders.github.io/Octocoders", + "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", + "type": "Organization", "site_admin": false }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "html_url": "https://octocoders.github.io/Octocoders/Hello-World", "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:25Z", - "pushed_at": "2019-05-15T19:38:23Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "fork": true, + "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", + "created_at": "2019-05-15T19:38:10Z", + "updated_at": "2019-05-15T19:38:10Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", + "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", + "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", "homepage": null, "size": 0, "stargazers_count": 0, "watchers_count": 0, - "language": "Ruby", - "has_issues": true, + "language": null, + "has_issues": false, "has_projects": true, "has_downloads": true, "has_wiki": true, - "has_pages": true, + "has_pages": false, "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 2, + "open_issues_count": 0, "license": null, "forks": 0, - "open_issues": 2, + "open_issues": 0, "watchers": 0, "default_branch": "master" }, + "organization": { + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", + "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", + "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", + "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", + "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", + "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", + "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", + "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "description": "" + }, "enterprise": { "id": 1, "slug": "github", @@ -20663,287 +14490,160 @@ "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } - } - ] - }, - { - "name": "security_advisory", - "description": "Activity related to a security advisory. A security advisory provides information about security-related vulnerabilities in software on GitHub. The security advisory dataset also powers the GitHub security alerts, see \"[About alerts for vulnerable dependencies](https://docs.github.com/en/enterprise-server@2.21/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies).\"", - "properties": { - "security_advisory": { - "type": "object", - "description": "The details of the security advisory, including summary, description, and severity." - } - }, - "actions": ["performed", "published", "updated", "withdrawn"], - "examples": [ - { - "action": "published", - "security_advisory": { - "ghsa_id": "GHSA-rf4j-j272-fj86", - "summary": "Moderate severity vulnerability that affects django", - "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", - "severity": "moderate", - "identifiers": [ - { "value": "GHSA-rf4j-j272-fj86", "type": "GHSA" }, - { "value": "CVE-2018-6188", "type": "CVE" } - ], - "references": [ - { "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" } - ], - "published_at": "2018-10-03T21:13:54Z", - "updated_at": "2018-10-03T21:13:54Z", - "withdrawn_at": null, - "vulnerabilities": [ - { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "moderate", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { "identifier": "2.0.2" } - }, - { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "moderate", - "vulnerable_version_range": ">= 1.11.8, < 1.11.10", - "first_patched_version": { "identifier": "1.11.10" } - } - ] } - } - ] - }, - { - "name": "star", - "description": "Activity related to a repository being starred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[starring](https://docs.github.com/en/enterprise-server@2.21/rest/reference/activity#starring)\" REST API.", - "properties": { - "starred_at": { - "type": "string", - "description": "The time the star was created. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "actions": ["created", "deleted"], - "examples": [ { - "action": "created", - "starred_at": "2019-05-15T15:20:40Z", + "action": "deleted", "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", + "id": 120, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", "name": "Hello-World", - "full_name": "Codertocat/Hello-World", + "full_name": "Octocoders/Hello-World", "private": false, "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/6?", "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:20:40Z", - "pushed_at": "2019-05-15T15:20:33Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", + "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders", + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders", + "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/followers", + "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/following{/other_user}", + "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/gists{/gist_id}", + "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/starred{/owner}{/repo}", + "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/subscriptions", + "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/orgs", + "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/repos", + "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/events{/privacy}", + "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Octocoders/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World", + "description": null, + "fork": false, + "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World", + "forks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/forks", + "keys_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", + "collaborators_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", + "teams_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/teams", + "hooks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/hooks", + "issue_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", + "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/events", + "assignees_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/assignees{/user}", + "branches_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/branches{/branch}", + "tags_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/tags", + "blobs_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", + "git_tags_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", + "git_refs_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", + "trees_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", + "statuses_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", + "languages_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/languages", + "stargazers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/stargazers", + "contributors_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/contributors", + "subscribers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/subscribers", + "subscription_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/subscription", + "commits_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/commits{/sha}", + "git_commits_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", + "comments_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/comments{/number}", + "issue_comment_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", + "contents_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/contents/{+path}", + "compare_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", + "merges_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/merges", + "archive_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", + "downloads_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/downloads", + "issues_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/issues{/number}", + "pulls_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/pulls{/number}", + "milestones_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/milestones{/number}", + "notifications_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", + "labels_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/labels{/name}", + "releases_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/releases{/id}", + "deployments_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/repos/Octocoders/Hello-World/deployments", + "created_at": "2019-05-15T19:38:10Z", + "updated_at": "2019-05-15T19:39:36Z", + "pushed_at": "2019-05-15T19:38:03Z", + "git_url": "git://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World.git", + "ssh_url": "git@rachmari-0a7d40112fe15292b.ghe-test.net:Octocoders/Hello-World.git", + "clone_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World.git", + "svn_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Octocoders/Hello-World", "homepage": null, "size": 0, - "stargazers_count": 1, - "watchers_count": 1, + "stargazers_count": 0, + "watchers_count": 0, "language": "Ruby", - "has_issues": true, + "has_issues": false, "has_projects": true, "has_downloads": true, "has_wiki": true, - "has_pages": true, - "forks_count": 0, + "has_pages": false, + "forks_count": 1, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 2, + "open_issues_count": 0, "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 1, + "forks": 1, + "open_issues": 0, + "watchers": 0, "default_branch": "master" }, + "organization": { + "login": "Octocoders", + "id": 6, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", + "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders", + "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/repos", + "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/events", + "hooks_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/hooks", + "issues_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/issues", + "members_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/members{/member}", + "public_members_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/orgs/Octocoders/public_members{/member}", + "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/6?", + "description": "" + }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, "sender": { "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", + "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", + "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", + "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", + "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", + "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", "type": "User", "site_admin": false } - } - ] - }, - { - "name": "status", - "description": "When the status of a Git commit changes. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[statuses](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#statuses)\" REST API.", - "actions": [], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the status." - }, - "sha": { "type": "string", "description": "The Commit SHA." }, - "state": { - "type": "string", - "description": "The new state. Can be `pending`, `success`, `failure`, or `error`." - }, - "description": { - "type": "string", - "description": "The optional human-readable description added to the status." - }, - "target_url": { - "type": "string", - "description": "The optional link added to the status." - }, - "branches": { - "type": "array", - "description": "An array of branch objects containing the status' SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches." - }, - "repository": { - "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." - }, - "organization": { - "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." - }, - "installation": { - "type": "object", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." }, - "sender": { - "type": "object", - "description": "The user that triggered the event." - } - }, - "examples": [ { - "id": 2, - "sha": "4544205a385319fd846d5df4ed2e3b8173529d78", - "name": "Codertocat/Hello-World", - "target_url": null, - "context": "default", - "description": null, - "state": "success", - "commit": { - "sha": "4544205a385319fd846d5df4ed2e3b8173529d78", - "node_id": "MDY6Q29tbWl0MTE4OjQ1NDQyMDVhMzg1MzE5ZmQ4NDZkNWRmNGVkMmUzYjgxNzM1MjlkNzg=", - "commit": { - "author": { - "name": "Codertocat", - "email": "Codertocat@Octocoders.io", - "date": "2019-05-15T19:37:08Z" - }, - "committer": { - "name": "GitHub Enterprise", - "email": "noreply@octocoders.github.io", - "date": "2019-05-15T19:37:08Z" - }, - "message": "Initial commit", - "tree": { - "sha": "1b13fc88733f95cc8cb16170f6990ef30d78acf4", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees/1b13fc88733f95cc8cb16170f6990ef30d78acf4" - }, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits/4544205a385319fd846d5df4ed2e3b8173529d78", - "comment_count": 1, - "verification": { - "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null - } - }, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78", - "html_url": "https://octocoders.github.io/Codertocat/Hello-World/commit/4544205a385319fd846d5df4ed2e3b8173529d78", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/4544205a385319fd846d5df4ed2e3b8173529d78/comments", - "author": { + "action": "privatized", + "repository": { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": true, + "owner": { "login": "Codertocat", "id": 4, "node_id": "MDQ6VXNlcjQ=", @@ -20963,37 +14663,113 @@ "type": "User", "site_admin": false }, - "committer": null, - "parents": [] + "html_url": "https://octocoders.github.io/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", + "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", + "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", + "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", + "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", + "created_at": "2019-05-15T19:37:07Z", + "updated_at": "2019-05-15T19:38:24Z", + "pushed_at": "2019-05-15T19:38:23Z", + "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", + "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", + "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", + "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Ruby", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": null, + "forks": 1, + "open_issues": 2, + "watchers": 0, + "default_branch": "master" }, - "branches": [ - { - "name": "master", - "commit": { - "sha": "78a96099c3f442d7f6e8d1a7d07090091993e65a", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/78a96099c3f442d7f6e8d1a7d07090091993e65a" - }, - "protected": false - }, - { - "name": "changes", - "commit": { - "sha": "14977a7b5485400124827221a04bfb474bcd72d1", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/14977a7b5485400124827221a04bfb474bcd72d1" - }, - "protected": false - }, - { - "name": "gh-pages", - "commit": { - "sha": "3648135c2986115284ae152d90459473b15fd19c", - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits/3648135c2986115284ae152d90459473b15fd19c" - }, - "protected": false - } - ], - "created_at": "2019-05-15T19:38:21+00:00", - "updated_at": "2019-05-15T19:38:21+00:00", + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "installation": { + "id": 5, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" + } + }, + { + "action": "publicized", "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", @@ -21061,8 +14837,8 @@ "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:15Z", - "pushed_at": "2019-05-15T19:38:19Z", + "updated_at": "2019-05-15T19:38:25Z", + "pushed_at": "2019-05-15T19:38:23Z", "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", @@ -21077,13 +14853,13 @@ "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 1, + "forks_count": 0, "mirror_url": null, "archived": false, "disabled": false, "open_issues_count": 2, "license": null, - "forks": 1, + "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "master" @@ -21124,7 +14900,284 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } + } + ] + }, + { + "name": "secret_scanning_alert", + "description": "Activity related to secret scanning alerts in a repository. The type of activity is specified in the action property of the payload object. For more information, see the \"[secret scanning API](https://docs.github.com/en/enterprise-server@3.5/rest/secret-scanning).\"", + "actions": ["created", "reopened", "resolved"], + "properties": { + "alert": { + "type": "object", + "description": "The secret scanning alert involved in the event." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "If the `action` is `resolved` or `reopened`, the `sender` object will be the user that triggered the event. The `sender` object is empty for all other actions." + } + }, + "examples": [ + { + "action": "reopened", + "alert": { + "number": 191, + "secret_type": "adafruit_io_key", + "resolution": null, + "resolved_by": null, + "resolved_at": null + }, + "repository": { + "id": 257423561, + "node_id": "MDEwOlJlcG9zaXRvcnkyNTc0MjM1NjE=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": true, + "owner": { + "login": "Codertocat", + "id": 30846345, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1", + "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2020-04-20T22:59:11Z", + "updated_at": "2020-11-24T01:37:33Z", + "pushed_at": "2020-11-24T01:37:31Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 1156, + "stargazers_count": 0, + "watchers_count": 0, + "language": "JavaScript", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "Codertocat", + "id": 30846345, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1", + "url": "https://api.github.com/orgs/Codertocat", + "repos_url": "https://api.github.com/orgs/Codertocat/repos", + "events_url": "https://api.github.com/orgs/Codertocat/events", + "hooks_url": "https://api.github.com/orgs/Codertocat/hooks", + "issues_url": "https://api.github.com/orgs/Codertocat/issues", + "members_url": "https://api.github.com/orgs/Codertocat/members{/member}", + "public_members_url": "https://api.github.com/orgs/Codertocat/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4", + "description": "Demos and testing of GitHub security products" + }, + "sender": { + "login": "Codertocat", + "id": 10136561, + "node_id": "MDQ6VXNlcjEwMTM2NTYx", + "avatar_url": "https://avatars1.githubusercontent.com/u/10136561?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": true + } + } + ] + }, + { + "name": "secret_scanning_alert_location", + "description": "Activity related to secret scanning alert locations in a repository. The type of activity is specified in the action property of the payload object. For more information, see the \"[secret scanning](https://docs.github.com/en/enterprise-server@3.5/rest/reference/secret-scanning)\" REST API.", + "properties": { + "location": { + "type": "object", + "description": "The location involved in the event." + }, + "alert": { + "type": "object", + "description": "The [`secret scanning alert`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/secret-scanning#get-a-secret-scanning-alert) involved in the event." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + } + }, + "actions": ["created"], + "examples": [] + }, + { + "name": "security_advisory", + "description": "Activity related to a security advisory that has been reviewed by GitHub. A GitHub-reviewed security advisory provides information about security-related vulnerabilities in software on GitHub.\n\nThe security advisory dataset also powers the GitHub Dependabot alerts. For more information, see \"[About Dependabot alerts](https://docs.github.com/en/enterprise-server@3.5/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies).\"", + "properties": { + "security_advisory": { + "type": "object", + "description": "The details of the security advisory, including summary, description, and severity." + } + }, + "actions": ["performed", "published", "updated", "withdrawn"], + "examples": [] + }, + { + "name": "star", + "description": "Activity related to a repository being starred. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[starring](https://docs.github.com/en/enterprise-server@3.5/rest/reference/activity#starring)\" REST API.", + "properties": { + "starred_at": { + "type": "string", + "description": "The time the star was created. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["created", "deleted"], + "examples": [] + }, + { + "name": "status", + "description": "When the status of a Git commit changes. For more information, see the \"[statuses](https://docs.github.com/en/enterprise-server@3.5/rest/reference/commits#commit-statuses)\" REST API.", + "actions": [], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the status." + }, + "sha": { "type": "string", "description": "The Commit SHA." }, + "state": { + "type": "string", + "description": "The new state. Can be `pending`, `success`, `failure`, or `error`." + }, + "description": { + "type": "string", + "description": "The optional human-readable description added to the status." + }, + "target_url": { + "type": "string", + "description": "The optional link added to the status." + }, + "branches": { + "type": "array", + "description": "An array of branch objects containing the status' SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches." }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "installation": { + "type": "object", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured for and sent to a GitHub App." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "examples": [ { "id": 2, "sha": "4544205a385319fd846d5df4ed2e3b8173529d78", @@ -21350,7 +15403,7 @@ }, { "name": "team", - "description": "Activity related to an organization's team. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[teams](https://docs.github.com/en/enterprise-server@2.21/rest/reference/teams)\" REST API.", + "description": "Activity related to an organization's team. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[teams](https://docs.github.com/en/enterprise-server@3.5/rest/reference/teams)\" REST API.", "actions": [ "added_to_repository", "created", @@ -21394,7 +15447,7 @@ }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "sender": { "type": "object", @@ -21893,20 +15946,20 @@ }, { "name": "team_add", - "description": "When a [repository is added to a team](https://docs.github.com/en/enterprise-server@2.21/rest/reference/teams#add-or-update-team-repository-permissions).", + "description": "When a [repository is added to a team](https://docs.github.com/en/enterprise-server@3.5/rest/reference/teams#add-or-update-team-repository-permissions).", "actions": [], "properties": { "team": { "type": "object", - "description": "The [team](https://docs.github.com/en/enterprise-server@2.21/rest/reference/teams) that was modified. **Note:** Older events may not include this in the payload." + "description": "The [team](https://docs.github.com/en/enterprise-server@3.5/rest/reference/teams) that was modified. **Note:** Older events may not include this in the payload." }, "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -22072,170 +16125,58 @@ "type": "Organization", "site_admin": false } - }, + } + ] + }, + { + "name": "user", + "description": "When a user is `created` or `deleted`.", + "actions": ["created", "deleted"], + "properties": {}, + "examples": [ { - "team": { - "name": "github", - "id": 3, - "node_id": "MDQ6VGVhbTM=", - "slug": "github", - "description": "Open-source team", - "privacy": "secret", - "url": "https://octocoders.github.io/api/v3/teams/3", - "html_url": "https://octocoders.github.io/orgs/Octocoders/teams/github", - "members_url": "https://octocoders.github.io/api/v3/teams/3/members{/member}", - "repositories_url": "https://octocoders.github.io/api/v3/teams/3/repos", - "permission": "pull" - }, - "repository": { - "id": 120, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjA=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T19:38:10Z", - "updated_at": "2019-05-15T19:38:14Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Octocoders/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Octocoders/Hello-World.git", - "clone_url": "https://octocoders.github.io/Octocoders/Hello-World.git", - "svn_url": "https://octocoders.github.io/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "organization": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "url": "https://octocoders.github.io/api/v3/orgs/Octocoders", - "repos_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/events", - "hooks_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/hooks", - "issues_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/issues", - "members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/members{/member}", - "public_members_url": "https://octocoders.github.io/api/v3/orgs/Octocoders/public_members{/member}", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", - "description": "" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" + "user": { + "login": "Octocat", + "id": 12, + "node_id": "MDQ6VXNlcjEy", + "avatar_url": "https://octocoders.github.io/avatars/u/12?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Octocat", + "html_url": "https://octocoders.github.io/Octocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", + "type": "User", + "site_admin": false }, + "action": "created", "sender": { - "login": "Octocoders", - "id": 6, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY=", - "avatar_url": "https://octocoders.github.io/avatars/u/6?", + "login": "Octocat", + "id": 12, + "node_id": "MDQ6VXNlcjEy", + "avatar_url": "https://octocoders.github.io/avatars/u/12?", "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocoders", - "html_url": "https://octocoders.github.io/Octocoders", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocoders/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocoders/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocoders/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocoders/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocoders/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocoders/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocoders/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocoders/received_events", - "type": "Organization", + "url": "https://octocoders.github.io/api/v3/users/Octocat", + "html_url": "https://octocoders.github.io/Octocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", + "type": "User", "site_admin": false } - } - ] - }, - { - "name": "user", - "description": "When a user is `created` or `deleted`.", - "actions": ["created", "deleted"], - "properties": {}, - "examples": [ + }, { "user": { "login": "Snowtocat", @@ -22345,64 +16286,21 @@ "type": "User", "site_admin": true } - }, - { - "user": { - "login": "Octocat", - "id": 12, - "node_id": "MDQ6VXNlcjEy", - "avatar_url": "https://octocoders.github.io/avatars/u/12?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocat", - "html_url": "https://octocoders.github.io/Octocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", - "type": "User", - "site_admin": false - }, - "action": "created", - "sender": { - "login": "Octocat", - "id": 12, - "node_id": "MDQ6VXNlcjEy", - "avatar_url": "https://octocoders.github.io/avatars/u/12?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Octocat", - "html_url": "https://octocoders.github.io/Octocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Octocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Octocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Octocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Octocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Octocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Octocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Octocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Octocat/received_events", - "type": "User", - "site_admin": false - } } ] }, { "name": "watch", - "description": "When someone stars a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[starring](https://docs.github.com/en/enterprise-server@2.21/rest/reference/activity#starring)\" REST API.\n\nThe event’s actor is the [user](https://docs.github.com/en/enterprise-server@2.21/rest/reference/users) who starred a repository, and the event’s repository is the [repository](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos) that was starred.", + "description": "When someone stars a repository. The type of activity is specified in the `action` property of the payload object. For more information, see the \"[starring](https://docs.github.com/en/enterprise-server@3.5/rest/reference/activity#starring)\" REST API.\n\nThe event’s actor is the [user](https://docs.github.com/en/enterprise-server@3.5/rest/reference/users) who starred a repository, and the event’s repository is the [repository](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos) that was starred.", "actions": ["started"], "properties": { "repository": { "type": "object", - "description": "The [`repository`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/repos#get-a-repository) where the event occurred." + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." }, "organization": { "type": "object", - "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@2.21/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." }, "installation": { "type": "object", @@ -22546,140 +16444,115 @@ "id": 5, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" } - }, - { - "action": "started", - "repository": { - "id": 118, - "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://octocoders.github.io/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World", - "forks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/forks", - "keys_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/events", - "assignees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/merges", - "archive_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://octocoders.github.io/api/v3/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T19:37:07Z", - "updated_at": "2019-05-15T19:38:09Z", - "pushed_at": "2019-05-15T19:38:03Z", - "git_url": "git://octocoders.github.io/Codertocat/Hello-World.git", - "ssh_url": "git@octocoders.github.io:Codertocat/Hello-World.git", - "clone_url": "https://octocoders.github.io/Codertocat/Hello-World.git", - "svn_url": "https://octocoders.github.io/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 1, - "watchers_count": 1, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 0, - "open_issues": 2, - "watchers": 1, - "default_branch": "master" - }, - "enterprise": { - "id": 1, - "slug": "github", - "name": "GitHub", - "node_id": "MDg6QnVzaW5lc3Mx", - "avatar_url": "https://octocoders.github.io/avatars/b/1?", - "description": null, - "website_url": null, - "html_url": "https://octocoders.github.io/businesses/github", - "created_at": "2019-05-14T19:31:12Z", - "updated_at": "2019-05-14T19:31:12Z" - }, - "sender": { - "login": "Codertocat", - "id": 4, - "node_id": "MDQ6VXNlcjQ=", - "avatar_url": "https://octocoders.github.io/avatars/u/4?", - "gravatar_id": "", - "url": "https://octocoders.github.io/api/v3/users/Codertocat", - "html_url": "https://octocoders.github.io/Codertocat", - "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", - "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", - "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", - "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", - "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", - "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", - "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", - "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "id": 5, - "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNQ==" - } } ] + }, + { + "name": "workflow_dispatch", + "description": "This event occurs when someone triggers a workflow run on GitHub or sends a `POST` request to the \"[Create a workflow dispatch event](https://docs.github.com/en/enterprise-server@3.5/rest/reference/actions/#create-a-workflow-dispatch-event)\" endpoint. For more information, see \"[Events that trigger workflows](https://docs.github.com/en/enterprise-server@3.5/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"", + "properties": { + "inputs": { + "type": "object", + "description": "Inputs to the workflow. Each key represents the name of the input while it's value represents the value of that input." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "ref": { + "type": "string", + "description": "The branch ref from which the workflow was run." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + }, + "workflow": { + "type": "string", + "description": "Relative path to the workflow file which contains the workflow." + } + }, + "actions": [], + "examples": [] + }, + { + "name": "workflow_job", + "description": "A GitHub Actions workflow job has been queued, is in progress, or has been completed on a repository. The type of activity is specified in the `action` property of the payload object.", + "properties": { + "workflow_job": { + "type": "object", + "description": "The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object." + }, + "workflow_job[status]": { + "type": "string", + "description": "The current status of the job. Can be `queued`, `in_progress`, or `completed`." + }, + "workflow_job[labels]": { + "type": "array", + "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/en/enterprise-server@3.5/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML." + }, + "workflow_job[runner_id]": { + "type": "integer", + "description": "The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`." + }, + "workflow_job[runner_name]": { + "type": "string", + "description": "The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`." + }, + "workflow_job[runner_group_id]": { + "type": "integer", + "description": "The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`." + }, + "workflow_job[runner_group_name]": { + "type": "string", + "description": "The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["completed", "in_progress", "queued"], + "examples": [] + }, + { + "name": "workflow_run", + "description": "When a GitHub Actions workflow run is requested or completed. For more information, see \"[Events that trigger workflows](https://docs.github.com/en/enterprise-server@3.5/actions/reference/events-that-trigger-workflows#workflow_run).\"", + "properties": { + "workflow_run": { + "type": "object", + "description": "The workflow run. Includes information such as `artifacts_url`, `check_suite_id`, `conclusion`, `head_branch`, and `head_sha`." + }, + "workflow": { + "type": "object", + "description": "The workflow that generated the workflow run." + }, + "organization": { + "type": "object", + "description": "Webhook payloads contain the [`organization`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/orgs#get-an-organization) object when the webhook is configured for an organization or the event occurs from activity in a repository owned by an organization." + }, + "repository": { + "type": "object", + "description": "The [`repository`](https://docs.github.com/en/enterprise-server@3.5/rest/reference/repos#get-a-repository) where the event occurred." + }, + "sender": { + "type": "object", + "description": "The user that triggered the event." + } + }, + "actions": ["completed", "requested"], + "examples": [] } ] diff --git a/payload-examples/ghes-30/installation/created.payload.json b/payload-examples/ghes-35/installation/created.json similarity index 100% rename from payload-examples/ghes-30/installation/created.payload.json rename to payload-examples/ghes-35/installation/created.json diff --git a/payload-examples/ghes-30/installation/deleted.payload.json b/payload-examples/ghes-35/installation/deleted.json similarity index 100% rename from payload-examples/ghes-30/installation/deleted.payload.json rename to payload-examples/ghes-35/installation/deleted.json diff --git a/payload-examples/ghes-222/installation_repositories/added.payload.json b/payload-examples/ghes-35/installation_repositories/added.json similarity index 100% rename from payload-examples/ghes-222/installation_repositories/added.payload.json rename to payload-examples/ghes-35/installation_repositories/added.json diff --git a/payload-examples/ghes-30/installation_repositories/removed.payload.json b/payload-examples/ghes-35/installation_repositories/removed.json similarity index 100% rename from payload-examples/ghes-30/installation_repositories/removed.payload.json rename to payload-examples/ghes-35/installation_repositories/removed.json diff --git a/payload-examples/ghes-35/integration_installation/created.json b/payload-examples/ghes-35/integration_installation/created.json new file mode 100644 index 000000000..7e7e9d0d3 --- /dev/null +++ b/payload-examples/ghes-35/integration_installation/created.json @@ -0,0 +1,125 @@ +{ + "action": "created", + "installation": { + "id": 5, + "account": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "repository_selection": "selected", + "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", + "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", + "html_url": "https://octocoders.github.io/settings/installations/5", + "app_id": 2, + "target_id": 4, + "target_type": "User", + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "repository_pre_receive_hooks": "write", + "metadata": "read", + "vulnerability_alerts": "read" + }, + "events": [ + "check_run", + "check_suite", + "commit_comment", + "create", + "delete", + "deployment", + "deployment_status", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "release", + "repository", + "status", + "team", + "team_add", + "watch" + ], + "created_at": 1557949058, + "updated_at": 1557949058, + "single_file_name": null + }, + "repositories": [ + { + "id": 118, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": false + } + ], + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} diff --git a/payload-examples/ghes-35/integration_installation/deleted.json b/payload-examples/ghes-35/integration_installation/deleted.json new file mode 100644 index 000000000..aa7a49039 --- /dev/null +++ b/payload-examples/ghes-35/integration_installation/deleted.json @@ -0,0 +1,116 @@ +{ + "action": "deleted", + "installation": { + "id": 5, + "account": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", + "gravatar_id": "", + "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", + "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", + "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", + "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", + "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", + "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "repository_selection": "selected", + "access_tokens_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/app/installations/5/access_tokens", + "repositories_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/installation/repositories", + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/settings/installations/5", + "app_id": 2, + "target_id": 4, + "target_type": "User", + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "repository_pre_receive_hooks": "write", + "metadata": "read", + "vulnerability_alerts": "read" + }, + "events": [ + "check_run", + "check_suite", + "commit_comment", + "create", + "delete", + "deployment", + "deployment_status", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "release", + "repository", + "status", + "team", + "team_add", + "watch" + ], + "created_at": "2019-05-15T19:37:38.000Z", + "updated_at": "2019-05-15T19:37:38.000Z", + "single_file_name": null + }, + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/avatars/u/4?", + "gravatar_id": "", + "url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat", + "html_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/Codertocat", + "followers_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/followers", + "following_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/subscriptions", + "organizations_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/orgs", + "repos_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/repos", + "events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "http://rachmari-0a7d40112fe15292b.ghe-test.net/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} diff --git a/payload-examples/ghes-35/integration_installation_repositories/added.json b/payload-examples/ghes-35/integration_installation_repositories/added.json new file mode 100644 index 000000000..c520b8124 --- /dev/null +++ b/payload-examples/ghes-35/integration_installation_repositories/added.json @@ -0,0 +1,127 @@ +{ + "action": "added", + "installation": { + "id": 5, + "account": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "repository_selection": "selected", + "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", + "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", + "html_url": "https://octocoders.github.io/settings/installations/5", + "app_id": 2, + "target_id": 4, + "target_type": "User", + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "repository_pre_receive_hooks": "write", + "metadata": "read", + "vulnerability_alerts": "read" + }, + "events": [ + "check_run", + "check_suite", + "commit_comment", + "create", + "delete", + "deployment", + "deployment_status", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "release", + "repository", + "status", + "team", + "team_add", + "watch" + ], + "created_at": 1557949058, + "updated_at": 1557949058, + "single_file_name": null + }, + "repository_selection": "selected", + "repositories_added": [ + { + "id": 119, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", + "name": "Space", + "full_name": "Codertocat/Space", + "private": false + } + ], + "repositories_removed": [], + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} diff --git a/payload-examples/ghes-35/integration_installation_repositories/removed.json b/payload-examples/ghes-35/integration_installation_repositories/removed.json new file mode 100644 index 000000000..9cdf68205 --- /dev/null +++ b/payload-examples/ghes-35/integration_installation_repositories/removed.json @@ -0,0 +1,127 @@ +{ + "action": "removed", + "installation": { + "id": 5, + "account": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + }, + "repository_selection": "selected", + "access_tokens_url": "https://octocoders.github.io/api/v3/app/installations/5/access_tokens", + "repositories_url": "https://octocoders.github.io/api/v3/installation/repositories", + "html_url": "https://octocoders.github.io/settings/installations/5", + "app_id": 2, + "target_id": 4, + "target_type": "User", + "permissions": { + "administration": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "repository_pre_receive_hooks": "write", + "metadata": "read", + "vulnerability_alerts": "read" + }, + "events": [ + "check_run", + "check_suite", + "commit_comment", + "create", + "delete", + "deployment", + "deployment_status", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "member", + "membership", + "milestone", + "organization", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "release", + "repository", + "status", + "team", + "team_add", + "watch" + ], + "created_at": "2019-05-15T19:37:38.000Z", + "updated_at": "2019-05-15T19:37:38.000Z", + "single_file_name": null + }, + "repository_selection": "selected", + "repositories_added": [], + "repositories_removed": [ + { + "id": 119, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTk=", + "name": "Space", + "full_name": "Codertocat/Space", + "private": false + } + ], + "enterprise": { + "id": 1, + "slug": "github", + "name": "GitHub", + "node_id": "MDg6QnVzaW5lc3Mx", + "avatar_url": "https://octocoders.github.io/avatars/b/1?", + "description": null, + "website_url": null, + "html_url": "https://octocoders.github.io/businesses/github", + "created_at": "2019-05-14T19:31:12Z", + "updated_at": "2019-05-14T19:31:12Z" + }, + "sender": { + "login": "Codertocat", + "id": 4, + "node_id": "MDQ6VXNlcjQ=", + "avatar_url": "https://octocoders.github.io/avatars/u/4?", + "gravatar_id": "", + "url": "https://octocoders.github.io/api/v3/users/Codertocat", + "html_url": "https://octocoders.github.io/Codertocat", + "followers_url": "https://octocoders.github.io/api/v3/users/Codertocat/followers", + "following_url": "https://octocoders.github.io/api/v3/users/Codertocat/following{/other_user}", + "gists_url": "https://octocoders.github.io/api/v3/users/Codertocat/gists{/gist_id}", + "starred_url": "https://octocoders.github.io/api/v3/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://octocoders.github.io/api/v3/users/Codertocat/subscriptions", + "organizations_url": "https://octocoders.github.io/api/v3/users/Codertocat/orgs", + "repos_url": "https://octocoders.github.io/api/v3/users/Codertocat/repos", + "events_url": "https://octocoders.github.io/api/v3/users/Codertocat/events{/privacy}", + "received_events_url": "https://octocoders.github.io/api/v3/users/Codertocat/received_events", + "type": "User", + "site_admin": false + } +} diff --git a/payload-examples/ghes-222/issue_comment/created.payload.json b/payload-examples/ghes-35/issue_comment/created.json similarity index 100% rename from payload-examples/ghes-222/issue_comment/created.payload.json rename to payload-examples/ghes-35/issue_comment/created.json diff --git a/payload-examples/ghes-222/issue_comment/deleted.payload.json b/payload-examples/ghes-35/issue_comment/deleted.json similarity index 100% rename from payload-examples/ghes-222/issue_comment/deleted.payload.json rename to payload-examples/ghes-35/issue_comment/deleted.json diff --git a/payload-examples/ghes-222/issue_comment/edited.payload.json b/payload-examples/ghes-35/issue_comment/edited.json similarity index 100% rename from payload-examples/ghes-222/issue_comment/edited.payload.json rename to payload-examples/ghes-35/issue_comment/edited.json diff --git a/payload-examples/ghes-222/issues/assigned.payload.json b/payload-examples/ghes-35/issues/assigned.json similarity index 100% rename from payload-examples/ghes-222/issues/assigned.payload.json rename to payload-examples/ghes-35/issues/assigned.json diff --git a/payload-examples/ghes-222/issues/demilestoned.payload.json b/payload-examples/ghes-35/issues/demilestoned.json similarity index 100% rename from payload-examples/ghes-222/issues/demilestoned.payload.json rename to payload-examples/ghes-35/issues/demilestoned.json diff --git a/payload-examples/ghes-222/issues/edited.payload.json b/payload-examples/ghes-35/issues/edited.json similarity index 100% rename from payload-examples/ghes-222/issues/edited.payload.json rename to payload-examples/ghes-35/issues/edited.json diff --git a/payload-examples/ghes-222/issues/labeled.payload.json b/payload-examples/ghes-35/issues/labeled.json similarity index 100% rename from payload-examples/ghes-222/issues/labeled.payload.json rename to payload-examples/ghes-35/issues/labeled.json diff --git a/payload-examples/ghes-222/issues/milestoned.payload.json b/payload-examples/ghes-35/issues/milestoned.json similarity index 100% rename from payload-examples/ghes-222/issues/milestoned.payload.json rename to payload-examples/ghes-35/issues/milestoned.json diff --git a/payload-examples/ghes-222/issues/opened.payload.json b/payload-examples/ghes-35/issues/opened.json similarity index 100% rename from payload-examples/ghes-222/issues/opened.payload.json rename to payload-examples/ghes-35/issues/opened.json diff --git a/payload-examples/ghes-222/issues/unassigned.payload.json b/payload-examples/ghes-35/issues/unassigned.json similarity index 100% rename from payload-examples/ghes-222/issues/unassigned.payload.json rename to payload-examples/ghes-35/issues/unassigned.json diff --git a/payload-examples/ghes-222/issues/unlabeled.payload.json b/payload-examples/ghes-35/issues/unlabeled.json similarity index 100% rename from payload-examples/ghes-222/issues/unlabeled.payload.json rename to payload-examples/ghes-35/issues/unlabeled.json diff --git a/payload-examples/ghes-222/label/created.payload.json b/payload-examples/ghes-35/label/created.json similarity index 100% rename from payload-examples/ghes-222/label/created.payload.json rename to payload-examples/ghes-35/label/created.json diff --git a/payload-examples/ghes-222/label/deleted.payload.json b/payload-examples/ghes-35/label/deleted.json similarity index 100% rename from payload-examples/ghes-222/label/deleted.payload.json rename to payload-examples/ghes-35/label/deleted.json diff --git a/payload-examples/ghes-222/label/edited.payload.json b/payload-examples/ghes-35/label/edited.json similarity index 100% rename from payload-examples/ghes-222/label/edited.payload.json rename to payload-examples/ghes-35/label/edited.json diff --git a/payload-examples/ghes-222/member/added.payload.json b/payload-examples/ghes-35/member/added.json similarity index 100% rename from payload-examples/ghes-222/member/added.payload.json rename to payload-examples/ghes-35/member/added.json diff --git a/payload-examples/ghes-222/membership/added.payload.json b/payload-examples/ghes-35/membership/added.json similarity index 100% rename from payload-examples/ghes-222/membership/added.payload.json rename to payload-examples/ghes-35/membership/added.json diff --git a/payload-examples/ghes-222/membership/removed.payload.json b/payload-examples/ghes-35/membership/removed.json similarity index 100% rename from payload-examples/ghes-222/membership/removed.payload.json rename to payload-examples/ghes-35/membership/removed.json diff --git a/payload-examples/ghes-222/milestone/closed.payload.json b/payload-examples/ghes-35/milestone/closed.json similarity index 100% rename from payload-examples/ghes-222/milestone/closed.payload.json rename to payload-examples/ghes-35/milestone/closed.json diff --git a/payload-examples/ghes-222/milestone/created.payload.json b/payload-examples/ghes-35/milestone/created.json similarity index 100% rename from payload-examples/ghes-222/milestone/created.payload.json rename to payload-examples/ghes-35/milestone/created.json diff --git a/payload-examples/ghes-222/milestone/deleted.payload.json b/payload-examples/ghes-35/milestone/deleted.json similarity index 100% rename from payload-examples/ghes-222/milestone/deleted.payload.json rename to payload-examples/ghes-35/milestone/deleted.json diff --git a/payload-examples/ghes-222/organization/member_added.payload.json b/payload-examples/ghes-35/organization/member_added.json similarity index 100% rename from payload-examples/ghes-222/organization/member_added.payload.json rename to payload-examples/ghes-35/organization/member_added.json diff --git a/payload-examples/ghes-222/organization/member_removed.payload.json b/payload-examples/ghes-35/organization/member_removed.json similarity index 100% rename from payload-examples/ghes-222/organization/member_removed.payload.json rename to payload-examples/ghes-35/organization/member_removed.json diff --git a/payload-examples/ghes-222/page_build/event.payload.json b/payload-examples/ghes-35/page_build/payload.json similarity index 100% rename from payload-examples/ghes-222/page_build/event.payload.json rename to payload-examples/ghes-35/page_build/payload.json diff --git a/payload-examples/ghes-222/ping/event.payload.json b/payload-examples/ghes-35/ping/payload.json similarity index 100% rename from payload-examples/ghes-222/ping/event.payload.json rename to payload-examples/ghes-35/ping/payload.json diff --git a/payload-examples/ghes-222/project/created.payload.json b/payload-examples/ghes-35/project/created.json similarity index 100% rename from payload-examples/ghes-222/project/created.payload.json rename to payload-examples/ghes-35/project/created.json diff --git a/payload-examples/ghes-222/project_card/created.payload.json b/payload-examples/ghes-35/project_card/created.json similarity index 100% rename from payload-examples/ghes-222/project_card/created.payload.json rename to payload-examples/ghes-35/project_card/created.json diff --git a/payload-examples/ghes-222/project_column/created.payload.json b/payload-examples/ghes-35/project_column/created.json similarity index 100% rename from payload-examples/ghes-222/project_column/created.payload.json rename to payload-examples/ghes-35/project_column/created.json diff --git a/payload-examples/ghes-222/public/event.payload.json b/payload-examples/ghes-35/public/payload.json similarity index 100% rename from payload-examples/ghes-222/public/event.payload.json rename to payload-examples/ghes-35/public/payload.json diff --git a/payload-examples/ghes-222/pull_request/assigned.payload.json b/payload-examples/ghes-35/pull_request/assigned.json similarity index 100% rename from payload-examples/ghes-222/pull_request/assigned.payload.json rename to payload-examples/ghes-35/pull_request/assigned.json diff --git a/payload-examples/ghes-222/pull_request/closed.payload.json b/payload-examples/ghes-35/pull_request/closed.json similarity index 100% rename from payload-examples/ghes-222/pull_request/closed.payload.json rename to payload-examples/ghes-35/pull_request/closed.json diff --git a/payload-examples/ghes-222/pull_request/labeled.payload.json b/payload-examples/ghes-35/pull_request/labeled.json similarity index 100% rename from payload-examples/ghes-222/pull_request/labeled.payload.json rename to payload-examples/ghes-35/pull_request/labeled.json diff --git a/payload-examples/ghes-222/pull_request/opened.payload.json b/payload-examples/ghes-35/pull_request/opened.json similarity index 100% rename from payload-examples/ghes-222/pull_request/opened.payload.json rename to payload-examples/ghes-35/pull_request/opened.json diff --git a/payload-examples/ghes-222/pull_request/unassigned.payload.json b/payload-examples/ghes-35/pull_request/unassigned.json similarity index 100% rename from payload-examples/ghes-222/pull_request/unassigned.payload.json rename to payload-examples/ghes-35/pull_request/unassigned.json diff --git a/payload-examples/ghes-222/pull_request/unlabeled.payload.json b/payload-examples/ghes-35/pull_request/unlabeled.json similarity index 100% rename from payload-examples/ghes-222/pull_request/unlabeled.payload.json rename to payload-examples/ghes-35/pull_request/unlabeled.json diff --git a/payload-examples/ghes-222/pull_request_review/submitted.payload.json b/payload-examples/ghes-35/pull_request_review/submitted.json similarity index 100% rename from payload-examples/ghes-222/pull_request_review/submitted.payload.json rename to payload-examples/ghes-35/pull_request_review/submitted.json diff --git a/payload-examples/ghes-222/pull_request_review_comment/created.payload.json b/payload-examples/ghes-35/pull_request_review_comment/created.json similarity index 99% rename from payload-examples/ghes-222/pull_request_review_comment/created.payload.json rename to payload-examples/ghes-35/pull_request_review_comment/created.json index d341a497d..f38411732 100644 --- a/payload-examples/ghes-222/pull_request_review_comment/created.payload.json +++ b/payload-examples/ghes-35/pull_request_review_comment/created.json @@ -31,7 +31,7 @@ "type": "User", "site_admin": false }, - "body": "Maybe you should use more emojji on this line.", + "body": "Maybe you should use more emoji on this line.", "created_at": "2019-05-15T19:38:07Z", "updated_at": "2019-05-15T19:38:08Z", "html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2", diff --git a/payload-examples/ghes-222/push/event.payload.json b/payload-examples/ghes-35/push/payload.json similarity index 90% rename from payload-examples/ghes-222/push/event.payload.json rename to payload-examples/ghes-35/push/payload.json index 3f4b13ee1..4f55c82d2 100644 --- a/payload-examples/ghes-222/push/event.payload.json +++ b/payload-examples/ghes-35/push/payload.json @@ -1,14 +1,34 @@ { "ref": "refs/tags/simple-tag", - "before": "4544205a385319fd846d5df4ed2e3b8173529d78", - "after": "0000000000000000000000000000000000000000", - "created": false, - "deleted": true, + "before": "0000000000000000000000000000000000000000", + "after": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "created": true, + "deleted": false, "forced": false, "base_ref": null, - "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/4544205a3853...000000000000", + "compare": "https://octocoders.github.io/Codertocat/Hello-World/compare/simple-tag", "commits": [], - "head_commit": null, + "head_commit": { + "id": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "tree_id": "4b825dc642cb6eb9a060e54bf8d69288fbee4904", + "distinct": true, + "message": "Adding a .gitignore file", + "timestamp": "2019-05-15T15:20:41Z", + "url": "https://octocoders.github.io/Codertocat/Hello-World/commit/6113728f27ae82c7b1a177c8d03f9e96e0adf246", + "author": { + "name": "Codertocat", + "email": "Codertocat@Octocoders.io", + "username": "Codertocat" + }, + "committer": { + "name": "Codertocat", + "email": "Codertocat@Octocoders.io", + "username": "Codertocat" + }, + "added": [".gitignore"], + "removed": [], + "modified": [] + }, "repository": { "id": 118, "node_id": "MDEwOlJlcG9zaXRvcnkxMTg=", diff --git a/payload-examples/ghes-222/release/published.payload.json b/payload-examples/ghes-35/release/published.json similarity index 100% rename from payload-examples/ghes-222/release/published.payload.json rename to payload-examples/ghes-35/release/published.json diff --git a/payload-examples/ghes-222/repository/created.payload.json b/payload-examples/ghes-35/repository/created.json similarity index 100% rename from payload-examples/ghes-222/repository/created.payload.json rename to payload-examples/ghes-35/repository/created.json diff --git a/payload-examples/ghes-222/repository/deleted.payload.json b/payload-examples/ghes-35/repository/deleted.json similarity index 100% rename from payload-examples/ghes-222/repository/deleted.payload.json rename to payload-examples/ghes-35/repository/deleted.json diff --git a/payload-examples/ghes-222/repository/privatized.payload.json b/payload-examples/ghes-35/repository/privatized.json similarity index 100% rename from payload-examples/ghes-222/repository/privatized.payload.json rename to payload-examples/ghes-35/repository/privatized.json diff --git a/payload-examples/ghes-222/repository/publicized.payload.json b/payload-examples/ghes-35/repository/publicized.json similarity index 100% rename from payload-examples/ghes-222/repository/publicized.payload.json rename to payload-examples/ghes-35/repository/publicized.json diff --git a/payload-examples/ghes-35/secret_scanning_alert/reopened.json b/payload-examples/ghes-35/secret_scanning_alert/reopened.json new file mode 100644 index 000000000..31bcfa513 --- /dev/null +++ b/payload-examples/ghes-35/secret_scanning_alert/reopened.json @@ -0,0 +1,138 @@ +{ + "action": "reopened", + "alert": { + "number": 191, + "secret_type": "adafruit_io_key", + "resolution": null, + "resolved_by": null, + "resolved_at": null + }, + "repository": { + "id": 257423561, + "node_id": "MDEwOlJlcG9zaXRvcnkyNTc0MjM1NjE=", + "name": "Hello-World", + "full_name": "Codertocat/Hello-World", + "private": true, + "owner": { + "login": "Codertocat", + "id": 30846345, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1", + "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/Codertocat/Hello-World", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/Codertocat/Hello-World", + "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", + "created_at": "2020-04-20T22:59:11Z", + "updated_at": "2020-11-24T01:37:33Z", + "pushed_at": "2020-11-24T01:37:31Z", + "git_url": "git://github.com/Codertocat/Hello-World.git", + "ssh_url": "git@github.com:Codertocat/Hello-World.git", + "clone_url": "https://github.com/Codertocat/Hello-World.git", + "svn_url": "https://github.com/Codertocat/Hello-World", + "homepage": null, + "size": 1156, + "stargazers_count": 0, + "watchers_count": 0, + "language": "JavaScript", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": null, + "forks": 0, + "open_issues": 3, + "watchers": 0, + "default_branch": "master" + }, + "organization": { + "login": "Codertocat", + "id": 30846345, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1", + "url": "https://api.github.com/orgs/Codertocat", + "repos_url": "https://api.github.com/orgs/Codertocat/repos", + "events_url": "https://api.github.com/orgs/Codertocat/events", + "hooks_url": "https://api.github.com/orgs/Codertocat/hooks", + "issues_url": "https://api.github.com/orgs/Codertocat/issues", + "members_url": "https://api.github.com/orgs/Codertocat/members{/member}", + "public_members_url": "https://api.github.com/orgs/Codertocat/public_members{/member}", + "avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4", + "description": "Demos and testing of GitHub security products" + }, + "sender": { + "login": "Codertocat", + "id": 10136561, + "node_id": "MDQ6VXNlcjEwMTM2NTYx", + "avatar_url": "https://avatars1.githubusercontent.com/u/10136561?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Codertocat", + "html_url": "https://github.com/Codertocat", + "followers_url": "https://api.github.com/users/Codertocat/followers", + "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", + "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", + "organizations_url": "https://api.github.com/users/Codertocat/orgs", + "repos_url": "https://api.github.com/users/Codertocat/repos", + "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/Codertocat/received_events", + "type": "User", + "site_admin": true + } +} diff --git a/payload-examples/ghes-222/status/event.payload.json b/payload-examples/ghes-35/status/payload.json similarity index 100% rename from payload-examples/ghes-222/status/event.payload.json rename to payload-examples/ghes-35/status/payload.json diff --git a/payload-examples/ghes-222/team/added_to_repository.payload.json b/payload-examples/ghes-35/team/added_to_repository.json similarity index 100% rename from payload-examples/ghes-222/team/added_to_repository.payload.json rename to payload-examples/ghes-35/team/added_to_repository.json diff --git a/payload-examples/ghes-222/team/created.payload.json b/payload-examples/ghes-35/team/created.json similarity index 100% rename from payload-examples/ghes-222/team/created.payload.json rename to payload-examples/ghes-35/team/created.json diff --git a/payload-examples/ghes-222/team/deleted.payload.json b/payload-examples/ghes-35/team/deleted.json similarity index 100% rename from payload-examples/ghes-222/team/deleted.payload.json rename to payload-examples/ghes-35/team/deleted.json diff --git a/payload-examples/ghes-222/team/edited.payload.json b/payload-examples/ghes-35/team/edited.json similarity index 100% rename from payload-examples/ghes-222/team/edited.payload.json rename to payload-examples/ghes-35/team/edited.json diff --git a/payload-examples/ghes-222/team/event.payload.json b/payload-examples/ghes-35/team/payload.json similarity index 100% rename from payload-examples/ghes-222/team/event.payload.json rename to payload-examples/ghes-35/team/payload.json diff --git a/payload-examples/ghes-222/team_add/event.payload.json b/payload-examples/ghes-35/team_add/payload.json similarity index 100% rename from payload-examples/ghes-222/team_add/event.payload.json rename to payload-examples/ghes-35/team_add/payload.json diff --git a/payload-examples/ghes-222/user/event.payload.json b/payload-examples/ghes-35/user/created.1.json similarity index 100% rename from payload-examples/ghes-222/user/event.payload.json rename to payload-examples/ghes-35/user/created.1.json diff --git a/payload-examples/ghes-222/user/created.payload.json b/payload-examples/ghes-35/user/created.json similarity index 100% rename from payload-examples/ghes-222/user/created.payload.json rename to payload-examples/ghes-35/user/created.json diff --git a/payload-examples/ghes-222/user/deleted.payload.json b/payload-examples/ghes-35/user/deleted.json similarity index 100% rename from payload-examples/ghes-222/user/deleted.payload.json rename to payload-examples/ghes-35/user/deleted.json diff --git a/payload-examples/ghes-222/watch/started.payload.json b/payload-examples/ghes-35/watch/started.json similarity index 100% rename from payload-examples/ghes-222/watch/started.payload.json rename to payload-examples/ghes-35/watch/started.json