From 210d607189e6390c1f443522f839e6545d1d1da8 Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Mon, 3 Aug 2020 11:50:09 +0200 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=90=9B=20fix(payload=E2=80=93examples?= =?UTF-8?q?):=20add=20"installation"=20field=20to=20pull=5Frequest-*=20pay?= =?UTF-8?q?load=20examples?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pull_request.assigned.payload.json | 48 +++++++------- .../pull_request.closed.payload.json | 6 +- .../pull_request.labeled.payload.json | 66 +++++++++---------- .../pull_request.locked.payload.json | 6 +- .../pull_request.opened.payload.json | 6 +- .../pull_request.unassigned.payload.json | 24 +++---- .../pull_request.unlabeled.payload.json | 6 +- .../pull_request.unlocked.payload.json | 6 +- 8 files changed, 96 insertions(+), 72 deletions(-) diff --git a/payload-examples/api.github.com/pull_request.assigned.payload.json b/payload-examples/api.github.com/pull_request.assigned.payload.json index 362d08eb1..6c2164c3a 100644 --- a/payload-examples/api.github.com/pull_request.assigned.payload.json +++ b/payload-examples/api.github.com/pull_request.assigned.payload.json @@ -40,28 +40,26 @@ "merged_at": null, "merge_commit_sha": "c4295bd74fb0f4fda03689c3df3f2803b658fd85", "assignee": null, - "assignees": [ - { - "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 - } - ], + "assignees": [{ + "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 + }], "requested_reviewers": [ ], @@ -470,6 +468,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -490,4 +492,4 @@ "type": "User", "site_admin": false } -} +} \ No newline at end of file diff --git a/payload-examples/api.github.com/pull_request.closed.payload.json b/payload-examples/api.github.com/pull_request.closed.payload.json index 4cb440613..d3e42a89b 100644 --- a/payload-examples/api.github.com/pull_request.closed.payload.json +++ b/payload-examples/api.github.com/pull_request.closed.payload.json @@ -431,6 +431,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -451,4 +455,4 @@ "type": "User", "site_admin": false } -} +} \ No newline at end of file diff --git a/payload-examples/api.github.com/pull_request.labeled.payload.json b/payload-examples/api.github.com/pull_request.labeled.payload.json index aa7d66582..0ccba613d 100644 --- a/payload-examples/api.github.com/pull_request.labeled.payload.json +++ b/payload-examples/api.github.com/pull_request.labeled.payload.json @@ -59,44 +59,40 @@ "type": "User", "site_admin": false }, - "assignees": [ - { - "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 - } - ], + "assignees": [{ + "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 + }], "requested_reviewers": [ ], "requested_teams": [ ], - "labels": [ - { - "id": 1362934389, - "node_id": "MDU6TGFiZWwxMzYyOTM0Mzg5", - "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], + "labels": [{ + "id": 1362934389, + "node_id": "MDU6TGFiZWwxMzYyOTM0Mzg5", + "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + }], "milestone": { "url": "https://api.github.com/repos/Codertocat/Hello-World/milestones/1", "html_url": "https://github.com/Codertocat/Hello-World/milestone/1", @@ -520,6 +516,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -540,4 +540,4 @@ "type": "User", "site_admin": false } -} +} \ No newline at end of file diff --git a/payload-examples/api.github.com/pull_request.locked.payload.json b/payload-examples/api.github.com/pull_request.locked.payload.json index 528267015..f470d7bff 100644 --- a/payload-examples/api.github.com/pull_request.locked.payload.json +++ b/payload-examples/api.github.com/pull_request.locked.payload.json @@ -431,6 +431,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -451,4 +455,4 @@ "type": "User", "site_admin": false } -} +} \ No newline at end of file diff --git a/payload-examples/api.github.com/pull_request.opened.payload.json b/payload-examples/api.github.com/pull_request.opened.payload.json index fc5e6db4d..60b52b44f 100644 --- a/payload-examples/api.github.com/pull_request.opened.payload.json +++ b/payload-examples/api.github.com/pull_request.opened.payload.json @@ -431,6 +431,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -451,4 +455,4 @@ "type": "User", "site_admin": false } -} +} \ No newline at end of file diff --git a/payload-examples/api.github.com/pull_request.unassigned.payload.json b/payload-examples/api.github.com/pull_request.unassigned.payload.json index f05c8750d..3955349da 100644 --- a/payload-examples/api.github.com/pull_request.unassigned.payload.json +++ b/payload-examples/api.github.com/pull_request.unassigned.payload.json @@ -68,16 +68,14 @@ "requested_teams": [ ], - "labels": [ - { - "id": 1362934389, - "node_id": "MDU6TGFiZWwxMzYyOTM0Mzg5", - "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - } - ], + "labels": [{ + "id": 1362934389, + "node_id": "MDU6TGFiZWwxMzYyOTM0Mzg5", + "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + }], "milestone": { "url": "https://api.github.com/repos/Codertocat/Hello-World/milestones/1", "html_url": "https://github.com/Codertocat/Hello-World/milestone/1", @@ -513,6 +511,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -533,4 +535,4 @@ "type": "User", "site_admin": false } -} +} \ No newline at end of file diff --git a/payload-examples/api.github.com/pull_request.unlabeled.payload.json b/payload-examples/api.github.com/pull_request.unlabeled.payload.json index 68c983294..fa2bb773d 100644 --- a/payload-examples/api.github.com/pull_request.unlabeled.payload.json +++ b/payload-examples/api.github.com/pull_request.unlabeled.payload.json @@ -439,6 +439,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -459,4 +463,4 @@ "type": "User", "site_admin": false } -} +} \ No newline at end of file diff --git a/payload-examples/api.github.com/pull_request.unlocked.payload.json b/payload-examples/api.github.com/pull_request.unlocked.payload.json index eb73455f8..b0c42a77d 100644 --- a/payload-examples/api.github.com/pull_request.unlocked.payload.json +++ b/payload-examples/api.github.com/pull_request.unlocked.payload.json @@ -431,6 +431,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -451,4 +455,4 @@ "type": "User", "site_admin": false } -} +} \ No newline at end of file From ce0d2658c5a29283c8a07ea091d2ac19168cdc1e Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Mon, 3 Aug 2020 11:53:02 +0200 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=90=9B=20fix(index.json):=20update=20?= =?UTF-8?q?index.json=20with=20"installation"=20field=20on=20pull=5Freques?= =?UTF-8?q?t-*=20events?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/index.json b/index.json index 31bd289f9..a5aa2a175 100644 --- a/index.json +++ b/index.json @@ -14537,6 +14537,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -14983,6 +14987,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -15522,6 +15530,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -15968,6 +15980,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -16414,6 +16430,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -16944,6 +16964,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -17398,6 +17422,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, @@ -17844,6 +17872,10 @@ "watchers": 0, "default_branch": "master" }, + "installation": { + "id": 1, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMQ==" + }, "sender": { "login": "Codertocat", "id": 21031067, From 967acbe005d7a06eedff446ec933caa930eb0aa0 Mon Sep 17 00:00:00 2001 From: Gregor Martynus Date: Mon, 3 Aug 2020 09:03:53 -0700 Subject: [PATCH 3/3] style: prettier --- package.json | 4 +- .../check_run.completed.payload.json | 8 +- .../check_run.created.payload.json | 8 +- .../check_run.rerequested.payload.json | 8 +- .../check_suite.completed.payload.json | 4 +- .../check_suite.requested.payload.json | 8 +- .../check_suite.rerequested.payload.json | 4 +- .../api.github.com/deployment.payload.json | 3 +- .../deployment_status.payload.json | 3 +- .../installation.created.payload.json | 4 +- .../installation.deleted.payload.json | 5 +- ...stallation_repositories.added.payload.json | 8 +- ...allation_repositories.removed.payload.json | 9 +- ...egration_installation.created.payload.json | 4 +- ...stallation_repositories.added.payload.json | 8 +- .../issues.assigned.payload.json | 4 +- .../issues.demilestoned.payload.json | 4 +- .../api.github.com/issues.edited.payload.json | 3 +- .../api.github.com/issues.locked.payload.json | 8 +- .../issues.milestoned.payload.json | 4 +- .../api.github.com/issues.opened.payload.json | 4 +- .../issues.unlabeled.payload.json | 8 +- .../issues.unlocked.payload.json | 8 +- ...arketplace_purchase.cancelled.payload.json | 95 ++-- .../marketplace_purchase.changed.payload.json | 144 +++--- ...arketplace_purchase.purchased.payload.json | 95 ++-- .../api.github.com/meta.deleted.payload.json | 4 +- .../package.published.payload.json | 432 +++++++++--------- .../api.github.com/ping.payload.json | 4 +- .../pull_request.assigned.payload.json | 54 +-- .../pull_request.closed.payload.json | 18 +- .../pull_request.labeled.payload.json | 66 +-- .../pull_request.locked.payload.json | 18 +- .../pull_request.opened.payload.json | 18 +- .../pull_request.unassigned.payload.json | 30 +- .../pull_request.unlabeled.payload.json | 18 +- .../pull_request.unlocked.payload.json | 18 +- ...pull_request_review.submitted.payload.json | 16 +- ...equest_review_comment.created.payload.json | 16 +- .../api.github.com/push.payload.json | 4 +- .../release.created.payload.json | 4 +- .../release.published.payload.json | 4 +- .../repository_dispatch.payload.json | 2 +- ...y_vulnerability_alert.dismiss.payload.json | 34 +- .../sponsorship.created.payload.json | 144 +++--- .../sponsorship.downgraded.payload.json | 168 +++---- .../api.github.com/status.payload.json | 4 +- .../api.github.com/team.edited.payload.json | 3 +- 48 files changed, 695 insertions(+), 849 deletions(-) diff --git a/package.json b/package.json index c4a75b255..3a3620f16 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "build": "node bin/octokit-webhooks.js check --cached", "pretest": "npm run -s lint", "test": "npm run build && node test.js", - "lint": "prettier --check '{bin,lib}/*.js' '*.{js,md}' package.json index.json", - "lint:fix": "prettier --write '{bin,lib}/*.js' '*.{js,md}' package.json index.json" + "lint": "prettier --check '{bin,lib}/*.js' '*.{js,md}' 'payload-examples/**/*.json' *.md package.json index.json", + "lint:fix": "prettier --write '{bin,lib}/*.js' '*.{js,md}' 'payload-examples/**/*.json' *.md package.json index.json" }, "repository": "https://github.com/octokit/webhooks", "keywords": [], diff --git a/payload-examples/api.github.com/check_run.completed.payload.json b/payload-examples/api.github.com/check_run.completed.payload.json index 099dd6872..bf9adb89b 100644 --- a/payload-examples/api.github.com/check_run.completed.payload.json +++ b/payload-examples/api.github.com/check_run.completed.payload.json @@ -105,9 +105,7 @@ "team_discussions": "write", "vulnerability_alerts": "read" }, - "events": [ - - ] + "events": [] }, "created_at": "2019-05-15T15:20:31Z", "updated_at": "2019-05-15T15:21:14Z" @@ -162,9 +160,7 @@ "team_discussions": "write", "vulnerability_alerts": "read" }, - "events": [ - - ] + "events": [] }, "pull_requests": [ { diff --git a/payload-examples/api.github.com/check_run.created.payload.json b/payload-examples/api.github.com/check_run.created.payload.json index bcc454ce8..46e2bef04 100644 --- a/payload-examples/api.github.com/check_run.created.payload.json +++ b/payload-examples/api.github.com/check_run.created.payload.json @@ -105,9 +105,7 @@ "team_discussions": "write", "vulnerability_alerts": "read" }, - "events": [ - - ] + "events": [] }, "created_at": "2019-05-15T15:20:31Z", "updated_at": "2019-05-15T15:20:31Z" @@ -162,9 +160,7 @@ "team_discussions": "write", "vulnerability_alerts": "read" }, - "events": [ - - ] + "events": [] }, "pull_requests": [ { diff --git a/payload-examples/api.github.com/check_run.rerequested.payload.json b/payload-examples/api.github.com/check_run.rerequested.payload.json index 5d05c30c6..7284c0f01 100644 --- a/payload-examples/api.github.com/check_run.rerequested.payload.json +++ b/payload-examples/api.github.com/check_run.rerequested.payload.json @@ -27,9 +27,7 @@ "url": "https://api.github.com/repos/github/hello-world/check-suites/5", "before": "146e867f55c26428e5f9fade55a9bbf5e95a7912", "after": "d6fde92930d4715a2b49857d24b940956b26d2d3", - "pull_requests": [ - - ], + "pull_requests": [], "app": { "id": 2, "node_id": "MDExOkludGVncmF0aW9uMQ==", @@ -93,9 +91,7 @@ "created_at": "2018-04-25 20:42:10", "updated_at": "2018-04-25 20:42:10" }, - "pull_requests": [ - - ] + "pull_requests": [] }, "repository": { "id": 526, diff --git a/payload-examples/api.github.com/check_suite.completed.payload.json b/payload-examples/api.github.com/check_suite.completed.payload.json index af42306a7..f2e3c5636 100644 --- a/payload-examples/api.github.com/check_suite.completed.payload.json +++ b/payload-examples/api.github.com/check_suite.completed.payload.json @@ -85,9 +85,7 @@ "team_discussions": "write", "vulnerability_alerts": "read" }, - "events": [ - - ] + "events": [] }, "created_at": "2019-05-15T15:20:31Z", "updated_at": "2019-05-15T15:21:14Z", diff --git a/payload-examples/api.github.com/check_suite.requested.payload.json b/payload-examples/api.github.com/check_suite.requested.payload.json index 153dbdd89..88ad08dea 100644 --- a/payload-examples/api.github.com/check_suite.requested.payload.json +++ b/payload-examples/api.github.com/check_suite.requested.payload.json @@ -10,9 +10,7 @@ "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578174", "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", "after": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "pull_requests": [ - - ], + "pull_requests": [], "app": { "id": 29310, "node_id": "MDM6QXBwMjkzMTA=", @@ -63,9 +61,7 @@ "team_discussions": "write", "vulnerability_alerts": "read" }, - "events": [ - - ] + "events": [] }, "created_at": "2019-05-15T15:20:33Z", "updated_at": "2019-05-15T15:20:33Z", diff --git a/payload-examples/api.github.com/check_suite.rerequested.payload.json b/payload-examples/api.github.com/check_suite.rerequested.payload.json index ab99f4ee1..ecd7f8182 100644 --- a/payload-examples/api.github.com/check_suite.rerequested.payload.json +++ b/payload-examples/api.github.com/check_suite.rerequested.payload.json @@ -85,9 +85,7 @@ "team_discussions": "write", "vulnerability_alerts": "read" }, - "events": [ - - ] + "events": [] }, "created_at": "2019-05-15T15:20:31Z", "updated_at": "2019-05-15T15:21:14Z", diff --git a/payload-examples/api.github.com/deployment.payload.json b/payload-examples/api.github.com/deployment.payload.json index d8be3b943..ffb37cee9 100644 --- a/payload-examples/api.github.com/deployment.payload.json +++ b/payload-examples/api.github.com/deployment.payload.json @@ -7,8 +7,7 @@ "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", "ref": "master", "task": "deploy", - "payload": { - }, + "payload": {}, "original_environment": "production", "environment": "production", "description": null, diff --git a/payload-examples/api.github.com/deployment_status.payload.json b/payload-examples/api.github.com/deployment_status.payload.json index b1a67d35a..9bf07ae85 100644 --- a/payload-examples/api.github.com/deployment_status.payload.json +++ b/payload-examples/api.github.com/deployment_status.payload.json @@ -40,8 +40,7 @@ "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", "ref": "master", "task": "deploy", - "payload": { - }, + "payload": {}, "original_environment": "production", "environment": "production", "description": null, diff --git a/payload-examples/api.github.com/installation.created.payload.json b/payload-examples/api.github.com/installation.created.payload.json index 51820c4a5..c9330e7ea 100644 --- a/payload-examples/api.github.com/installation.created.payload.json +++ b/payload-examples/api.github.com/installation.created.payload.json @@ -43,9 +43,7 @@ "metadata": "read", "vulnerability_alerts": "read" }, - "events": [ - - ], + "events": [], "created_at": 1557933591, "updated_at": 1557933591, "single_file_name": null diff --git a/payload-examples/api.github.com/installation.deleted.payload.json b/payload-examples/api.github.com/installation.deleted.payload.json index bb555bda5..2440b1519 100644 --- a/payload-examples/api.github.com/installation.deleted.payload.json +++ b/payload-examples/api.github.com/installation.deleted.payload.json @@ -34,10 +34,7 @@ "contents": "read", "issues": "write" }, - "events": [ - "push", - "pull_request" - ], + "events": ["push", "pull_request"], "created_at": 1525109898, "updated_at": 1525109899, "single_file_name": "config.yml" diff --git a/payload-examples/api.github.com/installation_repositories.added.payload.json b/payload-examples/api.github.com/installation_repositories.added.payload.json index 164d6655e..3fc6f9a90 100644 --- a/payload-examples/api.github.com/installation_repositories.added.payload.json +++ b/payload-examples/api.github.com/installation_repositories.added.payload.json @@ -43,9 +43,7 @@ "metadata": "read", "vulnerability_alerts": "read" }, - "events": [ - - ], + "events": [], "created_at": 1557933591, "updated_at": 1557933591, "single_file_name": null @@ -60,9 +58,7 @@ "private": false } ], - "repositories_removed": [ - - ], + "repositories_removed": [], "sender": { "login": "Codertocat", "id": 21031067, diff --git a/payload-examples/api.github.com/installation_repositories.removed.payload.json b/payload-examples/api.github.com/installation_repositories.removed.payload.json index 33e58eff7..ac96542a3 100644 --- a/payload-examples/api.github.com/installation_repositories.removed.payload.json +++ b/payload-examples/api.github.com/installation_repositories.removed.payload.json @@ -34,18 +34,13 @@ "contents": "read", "issues": "write" }, - "events": [ - "push", - "pull_request" - ], + "events": ["push", "pull_request"], "created_at": 1525109898, "updated_at": 1525109899, "single_file_name": "config.yml" }, "repository_selection": "selected", - "repositories_added": [ - - ], + "repositories_added": [], "repositories_removed": [ { "id": 1296269, diff --git a/payload-examples/api.github.com/integration_installation.created.payload.json b/payload-examples/api.github.com/integration_installation.created.payload.json index 51820c4a5..c9330e7ea 100644 --- a/payload-examples/api.github.com/integration_installation.created.payload.json +++ b/payload-examples/api.github.com/integration_installation.created.payload.json @@ -43,9 +43,7 @@ "metadata": "read", "vulnerability_alerts": "read" }, - "events": [ - - ], + "events": [], "created_at": 1557933591, "updated_at": 1557933591, "single_file_name": null diff --git a/payload-examples/api.github.com/integration_installation_repositories.added.payload.json b/payload-examples/api.github.com/integration_installation_repositories.added.payload.json index 164d6655e..3fc6f9a90 100644 --- a/payload-examples/api.github.com/integration_installation_repositories.added.payload.json +++ b/payload-examples/api.github.com/integration_installation_repositories.added.payload.json @@ -43,9 +43,7 @@ "metadata": "read", "vulnerability_alerts": "read" }, - "events": [ - - ], + "events": [], "created_at": 1557933591, "updated_at": 1557933591, "single_file_name": null @@ -60,9 +58,7 @@ "private": false } ], - "repositories_removed": [ - - ], + "repositories_removed": [], "sender": { "login": "Codertocat", "id": 21031067, diff --git a/payload-examples/api.github.com/issues.assigned.payload.json b/payload-examples/api.github.com/issues.assigned.payload.json index 39fdd8c76..70788ed25 100644 --- a/payload-examples/api.github.com/issues.assigned.payload.json +++ b/payload-examples/api.github.com/issues.assigned.payload.json @@ -31,9 +31,7 @@ "type": "User", "site_admin": false }, - "labels": [ - - ], + "labels": [], "state": "open", "locked": false, "assignee": { diff --git a/payload-examples/api.github.com/issues.demilestoned.payload.json b/payload-examples/api.github.com/issues.demilestoned.payload.json index 1ad88e31c..70f653aea 100644 --- a/payload-examples/api.github.com/issues.demilestoned.payload.json +++ b/payload-examples/api.github.com/issues.demilestoned.payload.json @@ -44,9 +44,7 @@ "state": "open", "locked": false, "assignee": null, - "assignees": [ - - ], + "assignees": [], "milestone": null, "comments": 0, "created_at": "2019-05-15T15:20:33Z", diff --git a/payload-examples/api.github.com/issues.edited.payload.json b/payload-examples/api.github.com/issues.edited.payload.json index 10c607125..b4cdc81b1 100644 --- a/payload-examples/api.github.com/issues.edited.payload.json +++ b/payload-examples/api.github.com/issues.edited.payload.json @@ -129,8 +129,7 @@ "author_association": "OWNER", "body": "It looks like you accidently spelled 'commit' with two 't's." }, - "changes": { - }, + "changes": {}, "repository": { "id": 186853002, "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", diff --git a/payload-examples/api.github.com/issues.locked.payload.json b/payload-examples/api.github.com/issues.locked.payload.json index 180dd1720..653a1f399 100644 --- a/payload-examples/api.github.com/issues.locked.payload.json +++ b/payload-examples/api.github.com/issues.locked.payload.json @@ -31,15 +31,11 @@ "type": "User", "site_admin": false }, - "labels": [ - - ], + "labels": [], "state": "open", "locked": true, "assignee": null, - "assignees": [ - - ], + "assignees": [], "milestone": null, "comments": 0, "created_at": "2019-05-15T15:20:18Z", diff --git a/payload-examples/api.github.com/issues.milestoned.payload.json b/payload-examples/api.github.com/issues.milestoned.payload.json index 87ca37da6..f6738ce0a 100644 --- a/payload-examples/api.github.com/issues.milestoned.payload.json +++ b/payload-examples/api.github.com/issues.milestoned.payload.json @@ -31,9 +31,7 @@ "type": "User", "site_admin": false }, - "labels": [ - - ], + "labels": [], "state": "open", "locked": false, "assignee": { diff --git a/payload-examples/api.github.com/issues.opened.payload.json b/payload-examples/api.github.com/issues.opened.payload.json index b544d2fd4..edfae2a8e 100644 --- a/payload-examples/api.github.com/issues.opened.payload.json +++ b/payload-examples/api.github.com/issues.opened.payload.json @@ -31,9 +31,7 @@ "type": "User", "site_admin": false }, - "labels": [ - - ], + "labels": [], "state": "open", "locked": false, "assignee": { diff --git a/payload-examples/api.github.com/issues.unlabeled.payload.json b/payload-examples/api.github.com/issues.unlabeled.payload.json index d67bc292c..828362c0c 100644 --- a/payload-examples/api.github.com/issues.unlabeled.payload.json +++ b/payload-examples/api.github.com/issues.unlabeled.payload.json @@ -31,15 +31,11 @@ "type": "User", "site_admin": false }, - "labels": [ - - ], + "labels": [], "state": "open", "locked": false, "assignee": null, - "assignees": [ - - ], + "assignees": [], "milestone": null, "comments": 0, "created_at": "2019-05-15T15:20:18Z", diff --git a/payload-examples/api.github.com/issues.unlocked.payload.json b/payload-examples/api.github.com/issues.unlocked.payload.json index d49955ecb..28984d5ee 100644 --- a/payload-examples/api.github.com/issues.unlocked.payload.json +++ b/payload-examples/api.github.com/issues.unlocked.payload.json @@ -31,15 +31,11 @@ "type": "User", "site_admin": false }, - "labels": [ - - ], + "labels": [], "state": "open", "locked": false, "assignee": null, - "assignees": [ - - ], + "assignees": [], "milestone": null, "comments": 0, "created_at": "2019-05-15T15:20:18Z", diff --git a/payload-examples/api.github.com/marketplace_purchase.cancelled.payload.json b/payload-examples/api.github.com/marketplace_purchase.cancelled.payload.json index 3d035805e..89941c7e1 100644 --- a/payload-examples/api.github.com/marketplace_purchase.cancelled.payload.json +++ b/payload-examples/api.github.com/marketplace_purchase.cancelled.payload.json @@ -1,51 +1,48 @@ { - "action":"cancelled", - "effective_date":"2017-10-25T00:00:00+00:00", - "sender":{ - "login":"username", - "id":3877742, - "avatar_url":"https://avatars2.githubusercontent.com/u/3877742?v=4", - "gravatar_id":"", - "url":"https://api.github.com/users/username", - "html_url":"https://github.com/username", - "followers_url":"https://api.github.com/users/username/followers", - "following_url":"https://api.github.com/users/username/following{/other_user}", - "gists_url":"https://api.github.com/users/username/gists{/gist_id}", - "starred_url":"https://api.github.com/users/username/starred{/owner}{/repo}", - "subscriptions_url":"https://api.github.com/users/username/subscriptions", - "organizations_url":"https://api.github.com/users/username/orgs", - "repos_url":"https://api.github.com/users/username/repos", - "events_url":"https://api.github.com/users/username/events{/privacy}", - "received_events_url":"https://api.github.com/users/username/received_events", - "type":"User", - "site_admin":true, - "email":"username@email.com" - }, - "marketplace_purchase":{ - "account":{ - "type":"Organization", - "id":28536653, - "login":"organizationUsername", - "organization_billing_email":"organizationusername@gmail.com" - }, - "billing_cycle":"monthly", - "unit_count":0, - "on_free_trial":false, - "free_trial_ends_on":null, - "next_billing_date":"2017-11-08T00:00:00+00:00", - "plan":{ - "id":686, - "name":"Premium Plan", - "description":"Premium Plan", - "monthly_price_in_cents":10000, - "yearly_price_in_cents":100000, - "price_model":"flat-rate", - "has_free_trial":true, - "unit_name":null, - "bullets":[ - "Is Expensive", - "And Flat Rate" - ] - } - } + "action": "cancelled", + "effective_date": "2017-10-25T00:00:00+00:00", + "sender": { + "login": "username", + "id": 3877742, + "avatar_url": "https://avatars2.githubusercontent.com/u/3877742?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/username", + "html_url": "https://github.com/username", + "followers_url": "https://api.github.com/users/username/followers", + "following_url": "https://api.github.com/users/username/following{/other_user}", + "gists_url": "https://api.github.com/users/username/gists{/gist_id}", + "starred_url": "https://api.github.com/users/username/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/username/subscriptions", + "organizations_url": "https://api.github.com/users/username/orgs", + "repos_url": "https://api.github.com/users/username/repos", + "events_url": "https://api.github.com/users/username/events{/privacy}", + "received_events_url": "https://api.github.com/users/username/received_events", + "type": "User", + "site_admin": true, + "email": "username@email.com" + }, + "marketplace_purchase": { + "account": { + "type": "Organization", + "id": 28536653, + "login": "organizationUsername", + "organization_billing_email": "organizationusername@gmail.com" + }, + "billing_cycle": "monthly", + "unit_count": 0, + "on_free_trial": false, + "free_trial_ends_on": null, + "next_billing_date": "2017-11-08T00:00:00+00:00", + "plan": { + "id": 686, + "name": "Premium Plan", + "description": "Premium Plan", + "monthly_price_in_cents": 10000, + "yearly_price_in_cents": 100000, + "price_model": "flat-rate", + "has_free_trial": true, + "unit_name": null, + "bullets": ["Is Expensive", "And Flat Rate"] + } + } } diff --git a/payload-examples/api.github.com/marketplace_purchase.changed.payload.json b/payload-examples/api.github.com/marketplace_purchase.changed.payload.json index f2cedfacb..f119db992 100644 --- a/payload-examples/api.github.com/marketplace_purchase.changed.payload.json +++ b/payload-examples/api.github.com/marketplace_purchase.changed.payload.json @@ -1,77 +1,71 @@ { - "action":"changed", - "effective_date":"2017-10-25T00:00:00+00:00", - "sender":{ - "login":"username", - "id":3877742, - "avatar_url":"https://avatars2.githubusercontent.com/u/3877742?v=4", - "gravatar_id":"", - "url":"https://api.github.com/users/username", - "html_url":"https://github.com/username", - "followers_url":"https://api.github.com/users/username/followers", - "following_url":"https://api.github.com/users/username/following{/other_user}", - "gists_url":"https://api.github.com/users/username/gists{/gist_id}", - "starred_url":"https://api.github.com/users/username/starred{/owner}{/repo}", - "subscriptions_url":"https://api.github.com/users/username/subscriptions", - "organizations_url":"https://api.github.com/users/username/orgs", - "repos_url":"https://api.github.com/users/username/repos", - "events_url":"https://api.github.com/users/username/events{/privacy}", - "received_events_url":"https://api.github.com/users/username/received_events", - "type":"User", - "site_admin":true, - "email":"username@email.com" - }, - "marketplace_purchase":{ - "account":{ - "type":"Organization", - "id":18404719, - "login":"username", - "organization_billing_email":"username@email.com" - }, - "billing_cycle":"monthly", - "unit_count":10, - "on_free_trial":false, - "free_trial_ends_on":null, - "next_billing_date":"2017-11-05T00:00:00+00:00", - "plan":{ - "id":435, - "name":"Basic Plan", - "description":"Basic Plan", - "monthly_price_in_cents":1000, - "yearly_price_in_cents":10000, - "price_model":"per-unit", - "has_free_trial":true, - "unit_name":"seat", - "bullets":[ - "Is Basic", - "Because Basic " - ] - } - }, - "previous_marketplace_purchase":{ - "account":{ - "type":"Organization", - "id":18404719, - "login":"username", - "organization_billing_email":"username@email.com" - }, - "billing_cycle":"monthly", - "on_free_trial":false, - "free_trial_ends_on":null, - "unit_count":1, - "plan":{ - "id":435, - "name":"Basic Plan", - "description":"Basic Plan", - "monthly_price_in_cents":1000, - "yearly_price_in_cents":10000, - "price_model":"per-unit", - "has_free_trial":true, - "unit_name":"seat", - "bullets":[ - "Is Basic", - "Because Basic " - ] - } - } + "action": "changed", + "effective_date": "2017-10-25T00:00:00+00:00", + "sender": { + "login": "username", + "id": 3877742, + "avatar_url": "https://avatars2.githubusercontent.com/u/3877742?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/username", + "html_url": "https://github.com/username", + "followers_url": "https://api.github.com/users/username/followers", + "following_url": "https://api.github.com/users/username/following{/other_user}", + "gists_url": "https://api.github.com/users/username/gists{/gist_id}", + "starred_url": "https://api.github.com/users/username/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/username/subscriptions", + "organizations_url": "https://api.github.com/users/username/orgs", + "repos_url": "https://api.github.com/users/username/repos", + "events_url": "https://api.github.com/users/username/events{/privacy}", + "received_events_url": "https://api.github.com/users/username/received_events", + "type": "User", + "site_admin": true, + "email": "username@email.com" + }, + "marketplace_purchase": { + "account": { + "type": "Organization", + "id": 18404719, + "login": "username", + "organization_billing_email": "username@email.com" + }, + "billing_cycle": "monthly", + "unit_count": 10, + "on_free_trial": false, + "free_trial_ends_on": null, + "next_billing_date": "2017-11-05T00:00:00+00:00", + "plan": { + "id": 435, + "name": "Basic Plan", + "description": "Basic Plan", + "monthly_price_in_cents": 1000, + "yearly_price_in_cents": 10000, + "price_model": "per-unit", + "has_free_trial": true, + "unit_name": "seat", + "bullets": ["Is Basic", "Because Basic "] + } + }, + "previous_marketplace_purchase": { + "account": { + "type": "Organization", + "id": 18404719, + "login": "username", + "organization_billing_email": "username@email.com" + }, + "billing_cycle": "monthly", + "on_free_trial": false, + "free_trial_ends_on": null, + "unit_count": 1, + "plan": { + "id": 435, + "name": "Basic Plan", + "description": "Basic Plan", + "monthly_price_in_cents": 1000, + "yearly_price_in_cents": 10000, + "price_model": "per-unit", + "has_free_trial": true, + "unit_name": "seat", + "bullets": ["Is Basic", "Because Basic "] + } + } } diff --git a/payload-examples/api.github.com/marketplace_purchase.purchased.payload.json b/payload-examples/api.github.com/marketplace_purchase.purchased.payload.json index 2a167c8c9..a4e18708b 100644 --- a/payload-examples/api.github.com/marketplace_purchase.purchased.payload.json +++ b/payload-examples/api.github.com/marketplace_purchase.purchased.payload.json @@ -1,51 +1,48 @@ { - "action":"purchased", - "effective_date":"2017-10-25T00:00:00+00:00", - "sender":{ - "login":"username", - "id":3877742, - "avatar_url":"https://avatars2.githubusercontent.com/u/3877742?v=4", - "gravatar_id":"", - "url":"https://api.github.com/users/username", - "html_url":"https://github.com/username", - "followers_url":"https://api.github.com/users/username/followers", - "following_url":"https://api.github.com/users/username/following{/other_user}", - "gists_url":"https://api.github.com/users/username/gists{/gist_id}", - "starred_url":"https://api.github.com/users/username/starred{/owner}{/repo}", - "subscriptions_url":"https://api.github.com/users/username/subscriptions", - "organizations_url":"https://api.github.com/users/username/orgs", - "repos_url":"https://api.github.com/users/username/repos", - "events_url":"https://api.github.com/users/username/events{/privacy}", - "received_events_url":"https://api.github.com/users/username/received_events", - "type":"User", - "site_admin":true, - "email":"username@email.com" - }, - "marketplace_purchase":{ - "account":{ - "type":"Organization", - "id":18404719, - "login":"username", - "organization_billing_email":"username@email.com" - }, - "billing_cycle":"monthly", - "unit_count":1, - "on_free_trial":false, - "free_trial_ends_on":null, - "next_billing_date":"2017-11-05T00:00:00+00:00", - "plan":{ - "id":435, - "name":"Basic Plan", - "description":"Basic Plan", - "monthly_price_in_cents":1000, - "yearly_price_in_cents":10000, - "price_model":"per-unit", - "has_free_trial":true, - "unit_name":"seat", - "bullets":[ - "Is Basic", - "Because Basic " - ] - } - } + "action": "purchased", + "effective_date": "2017-10-25T00:00:00+00:00", + "sender": { + "login": "username", + "id": 3877742, + "avatar_url": "https://avatars2.githubusercontent.com/u/3877742?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/username", + "html_url": "https://github.com/username", + "followers_url": "https://api.github.com/users/username/followers", + "following_url": "https://api.github.com/users/username/following{/other_user}", + "gists_url": "https://api.github.com/users/username/gists{/gist_id}", + "starred_url": "https://api.github.com/users/username/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/username/subscriptions", + "organizations_url": "https://api.github.com/users/username/orgs", + "repos_url": "https://api.github.com/users/username/repos", + "events_url": "https://api.github.com/users/username/events{/privacy}", + "received_events_url": "https://api.github.com/users/username/received_events", + "type": "User", + "site_admin": true, + "email": "username@email.com" + }, + "marketplace_purchase": { + "account": { + "type": "Organization", + "id": 18404719, + "login": "username", + "organization_billing_email": "username@email.com" + }, + "billing_cycle": "monthly", + "unit_count": 1, + "on_free_trial": false, + "free_trial_ends_on": null, + "next_billing_date": "2017-11-05T00:00:00+00:00", + "plan": { + "id": 435, + "name": "Basic Plan", + "description": "Basic Plan", + "monthly_price_in_cents": 1000, + "yearly_price_in_cents": 10000, + "price_model": "per-unit", + "has_free_trial": true, + "unit_name": "seat", + "bullets": ["Is Basic", "Because Basic "] + } + } } diff --git a/payload-examples/api.github.com/meta.deleted.payload.json b/payload-examples/api.github.com/meta.deleted.payload.json index 74cc3243d..4ded71d02 100644 --- a/payload-examples/api.github.com/meta.deleted.payload.json +++ b/payload-examples/api.github.com/meta.deleted.payload.json @@ -6,9 +6,7 @@ "id": 101047067, "name": "web", "active": true, - "events": [ - "meta" - ], + "events": ["meta"], "config": { "content_type": "json", "insecure_ssl": "0", diff --git a/payload-examples/api.github.com/package.published.payload.json b/payload-examples/api.github.com/package.published.payload.json index f310484f1..8d1559cb2 100644 --- a/payload-examples/api.github.com/package.published.payload.json +++ b/payload-examples/api.github.com/package.published.payload.json @@ -1,222 +1,132 @@ { - "action":"published", - "package":{ - "id":10696, - "name":"hello-world-npm", - "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", - "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":"

hello-world-npm

\n

This is a simple npm package that demonstrates the Github Package Registry.

\n

Installation

\n

$ npm install

\n

Usage

\n
const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n
", - "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":[ - - ], - "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 - }, - "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" - } + "action": "published", + "package": { + "id": 10696, + "name": "hello-world-npm", + "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 }, - "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" + "package_version": { + "id": 24147, + "version": "1.0.0", + "summary": "A simple npm package to demonstrate GitHub Packages", + "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": "

hello-world-npm

\n

This is a simple npm package that demonstrates the Github Package Registry.

\n

Installation

\n

$ npm install

\n

Usage

\n
const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n
", + "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": [], + "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 + }, + "installation_command": "npm install @Codertocat/@1.0.0" }, - "sender": { + "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", @@ -235,5 +145,93 @@ "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 + } } diff --git a/payload-examples/api.github.com/ping.payload.json b/payload-examples/api.github.com/ping.payload.json index cb53b5378..f69357c1c 100644 --- a/payload-examples/api.github.com/ping.payload.json +++ b/payload-examples/api.github.com/ping.payload.json @@ -6,9 +6,7 @@ "id": 109948940, "name": "web", "active": true, - "events": [ - "*" - ], + "events": ["*"], "config": { "content_type": "json", "url": "https://smee.io/YEbF2t8kjvPAn7Ck", diff --git a/payload-examples/api.github.com/pull_request.assigned.payload.json b/payload-examples/api.github.com/pull_request.assigned.payload.json index 6c2164c3a..a7202cb9a 100644 --- a/payload-examples/api.github.com/pull_request.assigned.payload.json +++ b/payload-examples/api.github.com/pull_request.assigned.payload.json @@ -40,35 +40,31 @@ "merged_at": null, "merge_commit_sha": "c4295bd74fb0f4fda03689c3df3f2803b658fd85", "assignee": null, - "assignees": [{ - "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 - }], - "requested_reviewers": [ - - ], - "requested_teams": [ - - ], - "labels": [ - + "assignees": [ + { + "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 + } ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], "milestone": null, "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/commits", "review_comments_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/comments", @@ -492,4 +488,4 @@ "type": "User", "site_admin": false } -} \ No newline at end of file +} diff --git a/payload-examples/api.github.com/pull_request.closed.payload.json b/payload-examples/api.github.com/pull_request.closed.payload.json index d3e42a89b..ce1887ab9 100644 --- a/payload-examples/api.github.com/pull_request.closed.payload.json +++ b/payload-examples/api.github.com/pull_request.closed.payload.json @@ -40,18 +40,10 @@ "merged_at": null, "merge_commit_sha": "c4295bd74fb0f4fda03689c3df3f2803b658fd85", "assignee": null, - "assignees": [ - - ], - "requested_reviewers": [ - - ], - "requested_teams": [ - - ], - "labels": [ - - ], + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], "milestone": null, "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/commits", "review_comments_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/comments", @@ -455,4 +447,4 @@ "type": "User", "site_admin": false } -} \ No newline at end of file +} diff --git a/payload-examples/api.github.com/pull_request.labeled.payload.json b/payload-examples/api.github.com/pull_request.labeled.payload.json index 0ccba613d..07b6c4b6e 100644 --- a/payload-examples/api.github.com/pull_request.labeled.payload.json +++ b/payload-examples/api.github.com/pull_request.labeled.payload.json @@ -59,40 +59,40 @@ "type": "User", "site_admin": false }, - "assignees": [{ - "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 - }], - "requested_reviewers": [ - + "assignees": [ + { + "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 + } ], - "requested_teams": [ - + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1362934389, + "node_id": "MDU6TGFiZWwxMzYyOTM0Mzg5", + "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } ], - "labels": [{ - "id": 1362934389, - "node_id": "MDU6TGFiZWwxMzYyOTM0Mzg5", - "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }], "milestone": { "url": "https://api.github.com/repos/Codertocat/Hello-World/milestones/1", "html_url": "https://github.com/Codertocat/Hello-World/milestone/1", @@ -540,4 +540,4 @@ "type": "User", "site_admin": false } -} \ No newline at end of file +} diff --git a/payload-examples/api.github.com/pull_request.locked.payload.json b/payload-examples/api.github.com/pull_request.locked.payload.json index f470d7bff..9f4daddba 100644 --- a/payload-examples/api.github.com/pull_request.locked.payload.json +++ b/payload-examples/api.github.com/pull_request.locked.payload.json @@ -40,18 +40,10 @@ "merged_at": null, "merge_commit_sha": "c4295bd74fb0f4fda03689c3df3f2803b658fd85", "assignee": null, - "assignees": [ - - ], - "requested_reviewers": [ - - ], - "requested_teams": [ - - ], - "labels": [ - - ], + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], "milestone": null, "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/commits", "review_comments_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/comments", @@ -455,4 +447,4 @@ "type": "User", "site_admin": false } -} \ No newline at end of file +} diff --git a/payload-examples/api.github.com/pull_request.opened.payload.json b/payload-examples/api.github.com/pull_request.opened.payload.json index 60b52b44f..9f6e9b520 100644 --- a/payload-examples/api.github.com/pull_request.opened.payload.json +++ b/payload-examples/api.github.com/pull_request.opened.payload.json @@ -40,18 +40,10 @@ "merged_at": null, "merge_commit_sha": null, "assignee": null, - "assignees": [ - - ], - "requested_reviewers": [ - - ], - "requested_teams": [ - - ], - "labels": [ - - ], + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], "milestone": null, "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/commits", "review_comments_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/comments", @@ -455,4 +447,4 @@ "type": "User", "site_admin": false } -} \ No newline at end of file +} diff --git a/payload-examples/api.github.com/pull_request.unassigned.payload.json b/payload-examples/api.github.com/pull_request.unassigned.payload.json index 3955349da..692b849cf 100644 --- a/payload-examples/api.github.com/pull_request.unassigned.payload.json +++ b/payload-examples/api.github.com/pull_request.unassigned.payload.json @@ -59,23 +59,19 @@ "type": "User", "site_admin": false }, - "assignees": [ - - ], - "requested_reviewers": [ - - ], - "requested_teams": [ - + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1362934389, + "node_id": "MDU6TGFiZWwxMzYyOTM0Mzg5", + "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", + "name": "bug", + "color": "d73a4a", + "default": true + } ], - "labels": [{ - "id": 1362934389, - "node_id": "MDU6TGFiZWwxMzYyOTM0Mzg5", - "url": "https://api.github.com/repos/Codertocat/Hello-World/labels/bug", - "name": "bug", - "color": "d73a4a", - "default": true - }], "milestone": { "url": "https://api.github.com/repos/Codertocat/Hello-World/milestones/1", "html_url": "https://github.com/Codertocat/Hello-World/milestone/1", @@ -535,4 +531,4 @@ "type": "User", "site_admin": false } -} \ No newline at end of file +} diff --git a/payload-examples/api.github.com/pull_request.unlabeled.payload.json b/payload-examples/api.github.com/pull_request.unlabeled.payload.json index fa2bb773d..50aff7452 100644 --- a/payload-examples/api.github.com/pull_request.unlabeled.payload.json +++ b/payload-examples/api.github.com/pull_request.unlabeled.payload.json @@ -40,18 +40,10 @@ "merged_at": null, "merge_commit_sha": "c4295bd74fb0f4fda03689c3df3f2803b658fd85", "assignee": null, - "assignees": [ - - ], - "requested_reviewers": [ - - ], - "requested_teams": [ - - ], - "labels": [ - - ], + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], "milestone": null, "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/commits", "review_comments_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/comments", @@ -463,4 +455,4 @@ "type": "User", "site_admin": false } -} \ No newline at end of file +} diff --git a/payload-examples/api.github.com/pull_request.unlocked.payload.json b/payload-examples/api.github.com/pull_request.unlocked.payload.json index b0c42a77d..b305a5de0 100644 --- a/payload-examples/api.github.com/pull_request.unlocked.payload.json +++ b/payload-examples/api.github.com/pull_request.unlocked.payload.json @@ -40,18 +40,10 @@ "merged_at": null, "merge_commit_sha": "c4295bd74fb0f4fda03689c3df3f2803b658fd85", "assignee": null, - "assignees": [ - - ], - "requested_reviewers": [ - - ], - "requested_teams": [ - - ], - "labels": [ - - ], + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], "milestone": null, "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/commits", "review_comments_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/comments", @@ -455,4 +447,4 @@ "type": "User", "site_admin": false } -} \ No newline at end of file +} diff --git a/payload-examples/api.github.com/pull_request_review.submitted.payload.json b/payload-examples/api.github.com/pull_request_review.submitted.payload.json index 4e55b11b9..1e338ad52 100644 --- a/payload-examples/api.github.com/pull_request_review.submitted.payload.json +++ b/payload-examples/api.github.com/pull_request_review.submitted.payload.json @@ -78,18 +78,10 @@ "merged_at": null, "merge_commit_sha": "c4295bd74fb0f4fda03689c3df3f2803b658fd85", "assignee": null, - "assignees": [ - - ], - "requested_reviewers": [ - - ], - "requested_teams": [ - - ], - "labels": [ - - ], + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], "milestone": null, "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/commits", "review_comments_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/comments", diff --git a/payload-examples/api.github.com/pull_request_review_comment.created.payload.json b/payload-examples/api.github.com/pull_request_review_comment.created.payload.json index d49ef6e26..4509a3f5d 100644 --- a/payload-examples/api.github.com/pull_request_review_comment.created.payload.json +++ b/payload-examples/api.github.com/pull_request_review_comment.created.payload.json @@ -88,18 +88,10 @@ "merged_at": null, "merge_commit_sha": "c4295bd74fb0f4fda03689c3df3f2803b658fd85", "assignee": null, - "assignees": [ - - ], - "requested_reviewers": [ - - ], - "requested_teams": [ - - ], - "labels": [ - - ], + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], "milestone": null, "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/commits", "review_comments_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2/comments", diff --git a/payload-examples/api.github.com/push.payload.json b/payload-examples/api.github.com/push.payload.json index 720a5eca6..b9f7ca2c4 100644 --- a/payload-examples/api.github.com/push.payload.json +++ b/payload-examples/api.github.com/push.payload.json @@ -7,9 +7,7 @@ "forced": false, "base_ref": null, "compare": "https://github.com/Codertocat/Hello-World/compare/6113728f27ae...000000000000", - "commits": [ - - ], + "commits": [], "head_commit": null, "repository": { "id": 186853002, diff --git a/payload-examples/api.github.com/release.created.payload.json b/payload-examples/api.github.com/release.created.payload.json index 4548ab7c2..2da0bc18e 100644 --- a/payload-examples/api.github.com/release.created.payload.json +++ b/payload-examples/api.github.com/release.created.payload.json @@ -34,9 +34,7 @@ "prerelease": false, "created_at": "2019-05-15T15:19:25Z", "published_at": "2019-05-15T15:20:53Z", - "assets": [ - - ], + "assets": [], "tarball_url": "https://api.github.com/repos/Codertocat/Hello-World/tarball/0.0.1", "zipball_url": "https://api.github.com/repos/Codertocat/Hello-World/zipball/0.0.1", "body": null diff --git a/payload-examples/api.github.com/release.published.payload.json b/payload-examples/api.github.com/release.published.payload.json index c19446cbb..867099f86 100644 --- a/payload-examples/api.github.com/release.published.payload.json +++ b/payload-examples/api.github.com/release.published.payload.json @@ -34,9 +34,7 @@ "prerelease": false, "created_at": "2019-05-15T15:19:25Z", "published_at": "2019-05-15T15:20:53Z", - "assets": [ - - ], + "assets": [], "tarball_url": "https://api.github.com/repos/Codertocat/Hello-World/tarball/0.0.1", "zipball_url": "https://api.github.com/repos/Codertocat/Hello-World/zipball/0.0.1", "body": null diff --git a/payload-examples/api.github.com/repository_dispatch.payload.json b/payload-examples/api.github.com/repository_dispatch.payload.json index b44b8ae2c..fd32d52c7 100644 --- a/payload-examples/api.github.com/repository_dispatch.payload.json +++ b/payload-examples/api.github.com/repository_dispatch.payload.json @@ -4,7 +4,7 @@ "client_payload": { "unit": false, "integration": true - }, + }, "repository": { "id": 17273051, "node_id": "MDEwOlJlcG9zaXRvcnkxNzI3MzA1MQ==", diff --git a/payload-examples/api.github.com/repository_vulnerability_alert.dismiss.payload.json b/payload-examples/api.github.com/repository_vulnerability_alert.dismiss.payload.json index 6f47df008..ec0063a1d 100644 --- a/payload-examples/api.github.com/repository_vulnerability_alert.dismiss.payload.json +++ b/payload-examples/api.github.com/repository_vulnerability_alert.dismiss.payload.json @@ -8,24 +8,24 @@ "external_identifier": "CVE-2018-3728", "fixed_in": "0.2.5", "dismisser": { - "login":"octocat", - "id":1, + "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":true + "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": true }, "dismiss_reason": "No bandwidth to fix this", "dismissed_at": "2017-10-25T00:00:00+00:00" diff --git a/payload-examples/api.github.com/sponsorship.created.payload.json b/payload-examples/api.github.com/sponsorship.created.payload.json index f3b58ad8f..b9a7db756 100644 --- a/payload-examples/api.github.com/sponsorship.created.payload.json +++ b/payload-examples/api.github.com/sponsorship.created.payload.json @@ -1,76 +1,76 @@ { - "action": "created", - "sponsorship": { - "node_id": "MDExOlNwb25zb3JzaGlwMQ==", - "created_at": "2019-12-20T19:24:46+00:00", - "sponsorable": { - "login": "octocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://avatars2.githubusercontent.com/u/5?", - "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 - }, - "sponsor": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "privacy_level": "public", - "tier": { - "node_id": "MDEyOlNwb25zb3JzVGllcjE=", - "created_at": "2019-12-20T19:17:05Z", - "description": "foo", - "monthly_price_in_cents": 500, - "monthly_price_in_dollars": 5, - "name": "$5 a month" - } + "action": "created", + "sponsorship": { + "node_id": "MDExOlNwb25zb3JzaGlwMQ==", + "created_at": "2019-12-20T19:24:46+00:00", + "sponsorable": { + "login": "octocat", + "id": 5, + "node_id": "MDQ6VXNlcjU=", + "avatar_url": "https://avatars2.githubusercontent.com/u/5?", + "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 }, - "sender": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true + "sponsor": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://avatars2.githubusercontent.com/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "privacy_level": "public", + "tier": { + "node_id": "MDEyOlNwb25zb3JzVGllcjE=", + "created_at": "2019-12-20T19:17:05Z", + "description": "foo", + "monthly_price_in_cents": 500, + "monthly_price_in_dollars": 5, + "name": "$5 a month" } + }, + "sender": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://avatars2.githubusercontent.com/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + } } diff --git a/payload-examples/api.github.com/sponsorship.downgraded.payload.json b/payload-examples/api.github.com/sponsorship.downgraded.payload.json index 6a1149ac0..2cbe4b925 100644 --- a/payload-examples/api.github.com/sponsorship.downgraded.payload.json +++ b/payload-examples/api.github.com/sponsorship.downgraded.payload.json @@ -1,89 +1,89 @@ { - "action": "pending_tier_change", - "sponsorship": { - "node_id": "MDExOlNwb25zb3JzaGlwMQ==", - "created_at": "2019-12-20T19:24:46+00:00", - "sponsorable": { - "login": "octocat", - "id": 5, - "node_id": "MDQ6VXNlcjU=", - "avatar_url": "https://avatars2.githubusercontent.com/u/5?", - "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 - }, - "sponsor": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "privacy_level": "private", - "tier": { - "node_id": "MDEyOlNwb25zb3JzVGllcjE=", - "created_at": "2019-12-20T19:17:05Z", - "description": "foo", - "monthly_price_in_cents": 500, - "monthly_price_in_dollars": 5, - "name": "$5 a month" - } + "action": "pending_tier_change", + "sponsorship": { + "node_id": "MDExOlNwb25zb3JzaGlwMQ==", + "created_at": "2019-12-20T19:24:46+00:00", + "sponsorable": { + "login": "octocat", + "id": 5, + "node_id": "MDQ6VXNlcjU=", + "avatar_url": "https://avatars2.githubusercontent.com/u/5?", + "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 }, - "changes": { - "tier": { - "from": { - "node_id": "MDEyOlNwb25zb3JzVGllcjI=", - "created_at": "2019-12-20T19:26:26Z", - "description": "bar", - "monthly_price_in_cents": 1000, - "monthly_price_in_dollars": 10, - "name": "$10 a month" - } - } + "sponsor": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://avatars2.githubusercontent.com/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true }, - "effective_date": "2019-12-30T00:00:00+00:00", - "sender": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://avatars2.githubusercontent.com/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true + "privacy_level": "private", + "tier": { + "node_id": "MDEyOlNwb25zb3JzVGllcjE=", + "created_at": "2019-12-20T19:17:05Z", + "description": "foo", + "monthly_price_in_cents": 500, + "monthly_price_in_dollars": 5, + "name": "$5 a month" } + }, + "changes": { + "tier": { + "from": { + "node_id": "MDEyOlNwb25zb3JzVGllcjI=", + "created_at": "2019-12-20T19:26:26Z", + "description": "bar", + "monthly_price_in_cents": 1000, + "monthly_price_in_dollars": 10, + "name": "$10 a month" + } + } + }, + "effective_date": "2019-12-30T00:00:00+00:00", + "sender": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://avatars2.githubusercontent.com/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + } } diff --git a/payload-examples/api.github.com/status.payload.json b/payload-examples/api.github.com/status.payload.json index 557eec8cc..659719ab5 100644 --- a/payload-examples/api.github.com/status.payload.json +++ b/payload-examples/api.github.com/status.payload.json @@ -77,9 +77,7 @@ "type": "User", "site_admin": false }, - "parents": [ - - ] + "parents": [] }, "branches": [ { diff --git a/payload-examples/api.github.com/team.edited.payload.json b/payload-examples/api.github.com/team.edited.payload.json index a59625ce1..ee8536bfa 100644 --- a/payload-examples/api.github.com/team.edited.payload.json +++ b/payload-examples/api.github.com/team.edited.payload.json @@ -1,6 +1,5 @@ { - "changes": { - }, + "changes": {}, "action": "edited", "team": { "name": "github",