{"action":"created","comment":{"url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/comments/193234201","pull_request_review_id":126167496,"id":193234201,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzIzNDIwMQ==","diff_hunk":"@@ -0,0 +1,120 @@\n+type: object\n+required:\n+  - subscriptionId\n+  - policy\n+  - by\n+  - category\n+properties:\n+  id:\n+    description: Cancellation identifier\n+    allOf:\n+      - $ref: \"#/definitions/ResourceId\"\n+  subscriptionId:\n+    description: Identifier of the canceled subscription\n+    allOf:\n+      - $ref: \"#/definitions/ResourceId\"\n+  invoiceId:\n+    description: |\n+      Identifier of the invoice to which the prorated amount will be added.\n+      If empty then the invoice will be created.\n+    allOf:\n+      - $ref: \"#/definitions/ResourceId\"\n+  policy:\n+    description: Cancellation policy\n+    type: string\n+    enum:\n+      - at-next-renewal\n+      - at-specified-time\n+  by:","path":"spec/definitions/Cancellation.yaml","position":28,"original_position":28,"commit_id":"6e73fef0a0e6e7b598a8fd5914651b8699221bd2","original_commit_id":"6e73fef0a0e6e7b598a8fd5914651b8699221bd2","user":{"login":"2e3s","id":4003445,"node_id":"MDQ6VXNlcjQwMDM0NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/4003445?v=4","gravatar_id":"","url":"https://api.github.com/users/2e3s","html_url":"https://github.com/2e3s","followers_url":"https://api.github.com/users/2e3s/followers","following_url":"https://api.github.com/users/2e3s/following{/other_user}","gists_url":"https://api.github.com/users/2e3s/gists{/gist_id}","starred_url":"https://api.github.com/users/2e3s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2e3s/subscriptions","organizations_url":"https://api.github.com/users/2e3s/orgs","repos_url":"https://api.github.com/users/2e3s/repos","events_url":"https://api.github.com/users/2e3s/events{/privacy}","received_events_url":"https://api.github.com/users/2e3s/received_events","type":"User","site_admin":false},"body":"I think it's an obvious prefix being in cancellation resource","created_at":"2018-06-05T21:51:18Z","updated_at":"2018-06-05T21:51:18Z","html_url":"https://github.com/Rebilly/RebillyAPI/pull/450#discussion_r193234201","pull_request_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/450","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/comments/193234201"},"html":{"href":"https://github.com/Rebilly/RebillyAPI/pull/450#discussion_r193234201"},"pull_request":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/450"}},"in_reply_to_id":193224052},"pull_request":{"url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/450","id":192827674,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyODI3Njc0","html_url":"https://github.com/Rebilly/RebillyAPI/pull/450","diff_url":"https://github.com/Rebilly/RebillyAPI/pull/450.diff","patch_url":"https://github.com/Rebilly/RebillyAPI/pull/450.patch","issue_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/450","number":450,"state":"open","locked":false,"title":"Add cancellation resource","user":{"login":"2e3s","id":4003445,"node_id":"MDQ6VXNlcjQwMDM0NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/4003445?v=4","gravatar_id":"","url":"https://api.github.com/users/2e3s","html_url":"https://github.com/2e3s","followers_url":"https://api.github.com/users/2e3s/followers","following_url":"https://api.github.com/users/2e3s/following{/other_user}","gists_url":"https://api.github.com/users/2e3s/gists{/gist_id}","starred_url":"https://api.github.com/users/2e3s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2e3s/subscriptions","organizations_url":"https://api.github.com/users/2e3s/orgs","repos_url":"https://api.github.com/users/2e3s/repos","events_url":"https://api.github.com/users/2e3s/events{/privacy}","received_events_url":"https://api.github.com/users/2e3s/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-05T20:31:56Z","updated_at":"2018-06-05T21:51:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc1f3f405867eaa751960aac881b53499626af88","assignee":{"login":"2e3s","id":4003445,"node_id":"MDQ6VXNlcjQwMDM0NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/4003445?v=4","gravatar_id":"","url":"https://api.github.com/users/2e3s","html_url":"https://github.com/2e3s","followers_url":"https://api.github.com/users/2e3s/followers","following_url":"https://api.github.com/users/2e3s/following{/other_user}","gists_url":"https://api.github.com/users/2e3s/gists{/gist_id}","starred_url":"https://api.github.com/users/2e3s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2e3s/subscriptions","organizations_url":"https://api.github.com/users/2e3s/orgs","repos_url":"https://api.github.com/users/2e3s/repos","events_url":"https://api.github.com/users/2e3s/events{/privacy}","received_events_url":"https://api.github.com/users/2e3s/received_events","type":"User","site_admin":false},"assignees":[{"login":"2e3s","id":4003445,"node_id":"MDQ6VXNlcjQwMDM0NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/4003445?v=4","gravatar_id":"","url":"https://api.github.com/users/2e3s","html_url":"https://github.com/2e3s","followers_url":"https://api.github.com/users/2e3s/followers","following_url":"https://api.github.com/users/2e3s/following{/other_user}","gists_url":"https://api.github.com/users/2e3s/gists{/gist_id}","starred_url":"https://api.github.com/users/2e3s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2e3s/subscriptions","organizations_url":"https://api.github.com/users/2e3s/orgs","repos_url":"https://api.github.com/users/2e3s/repos","events_url":"https://api.github.com/users/2e3s/events{/privacy}","received_events_url":"https://api.github.com/users/2e3s/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/450/commits","review_comments_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/450/comments","review_comment_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/450/comments","statuses_url":"https://api.github.com/repos/Rebilly/RebillyAPI/statuses/6e73fef0a0e6e7b598a8fd5914651b8699221bd2","head":{"label":"Rebilly:cancel-resource","ref":"cancel-resource","sha":"6e73fef0a0e6e7b598a8fd5914651b8699221bd2","user":{"login":"Rebilly","id":6365848,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjU4NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/6365848?v=4","gravatar_id":"","url":"https://api.github.com/users/Rebilly","html_url":"https://github.com/Rebilly","followers_url":"https://api.github.com/users/Rebilly/followers","following_url":"https://api.github.com/users/Rebilly/following{/other_user}","gists_url":"https://api.github.com/users/Rebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebilly/subscriptions","organizations_url":"https://api.github.com/users/Rebilly/orgs","repos_url":"https://api.github.com/users/Rebilly/repos","events_url":"https://api.github.com/users/Rebilly/events{/privacy}","received_events_url":"https://api.github.com/users/Rebilly/received_events","type":"Organization","site_admin":false},"repo":{"id":52811415,"node_id":"MDEwOlJlcG9zaXRvcnk1MjgxMTQxNQ==","name":"RebillyAPI","full_name":"Rebilly/RebillyAPI","owner":{"login":"Rebilly","id":6365848,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjU4NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/6365848?v=4","gravatar_id":"","url":"https://api.github.com/users/Rebilly","html_url":"https://github.com/Rebilly","followers_url":"https://api.github.com/users/Rebilly/followers","following_url":"https://api.github.com/users/Rebilly/following{/other_user}","gists_url":"https://api.github.com/users/Rebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebilly/subscriptions","organizations_url":"https://api.github.com/users/Rebilly/orgs","repos_url":"https://api.github.com/users/Rebilly/repos","events_url":"https://api.github.com/users/Rebilly/events{/privacy}","received_events_url":"https://api.github.com/users/Rebilly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rebilly/RebillyAPI","description":"Rebilly REST API Specifications","fork":false,"url":"https://api.github.com/repos/Rebilly/RebillyAPI","forks_url":"https://api.github.com/repos/Rebilly/RebillyAPI/forks","keys_url":"https://api.github.com/repos/Rebilly/RebillyAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rebilly/RebillyAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rebilly/RebillyAPI/teams","hooks_url":"https://api.github.com/repos/Rebilly/RebillyAPI/hooks","issue_events_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/events{/number}","events_url":"https://api.github.com/repos/Rebilly/RebillyAPI/events","assignees_url":"https://api.github.com/repos/Rebilly/RebillyAPI/assignees{/user}","branches_url":"https://api.github.com/repos/Rebilly/RebillyAPI/branches{/branch}","tags_url":"https://api.github.com/repos/Rebilly/RebillyAPI/tags","blobs_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rebilly/RebillyAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/Rebilly/RebillyAPI/languages","stargazers_url":"https://api.github.com/repos/Rebilly/RebillyAPI/stargazers","contributors_url":"https://api.github.com/repos/Rebilly/RebillyAPI/contributors","subscribers_url":"https://api.github.com/repos/Rebilly/RebillyAPI/subscribers","subscription_url":"https://api.github.com/repos/Rebilly/RebillyAPI/subscription","commits_url":"https://api.github.com/repos/Rebilly/RebillyAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rebilly/RebillyAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rebilly/RebillyAPI/contents/{+path}","compare_url":"https://api.github.com/repos/Rebilly/RebillyAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rebilly/RebillyAPI/merges","archive_url":"https://api.github.com/repos/Rebilly/RebillyAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rebilly/RebillyAPI/downloads","issues_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues{/number}","pulls_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/Rebilly/RebillyAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/Rebilly/RebillyAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rebilly/RebillyAPI/labels{/name}","releases_url":"https://api.github.com/repos/Rebilly/RebillyAPI/releases{/id}","deployments_url":"https://api.github.com/repos/Rebilly/RebillyAPI/deployments","created_at":"2016-02-29T17:54:42Z","updated_at":"2018-06-04T14:54:44Z","pushed_at":"2018-06-05T20:34:33Z","git_url":"git://github.com/Rebilly/RebillyAPI.git","ssh_url":"git@github.com:Rebilly/RebillyAPI.git","clone_url":"https://github.com/Rebilly/RebillyAPI.git","svn_url":"https://github.com/Rebilly/RebillyAPI","homepage":"https://rebilly.github.io/RebillyAPI/","size":2272,"stargazers_count":28,"watchers_count":28,"language":"PHP","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":16,"open_issues":2,"watchers":28,"default_branch":"master"}},"base":{"label":"Rebilly:master","ref":"master","sha":"a99aa66489fac8b4548c564d274e706642ad8acc","user":{"login":"Rebilly","id":6365848,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjU4NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/6365848?v=4","gravatar_id":"","url":"https://api.github.com/users/Rebilly","html_url":"https://github.com/Rebilly","followers_url":"https://api.github.com/users/Rebilly/followers","following_url":"https://api.github.com/users/Rebilly/following{/other_user}","gists_url":"https://api.github.com/users/Rebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebilly/subscriptions","organizations_url":"https://api.github.com/users/Rebilly/orgs","repos_url":"https://api.github.com/users/Rebilly/repos","events_url":"https://api.github.com/users/Rebilly/events{/privacy}","received_events_url":"https://api.github.com/users/Rebilly/received_events","type":"Organization","site_admin":false},"repo":{"id":52811415,"node_id":"MDEwOlJlcG9zaXRvcnk1MjgxMTQxNQ==","name":"RebillyAPI","full_name":"Rebilly/RebillyAPI","owner":{"login":"Rebilly","id":6365848,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYzNjU4NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/6365848?v=4","gravatar_id":"","url":"https://api.github.com/users/Rebilly","html_url":"https://github.com/Rebilly","followers_url":"https://api.github.com/users/Rebilly/followers","following_url":"https://api.github.com/users/Rebilly/following{/other_user}","gists_url":"https://api.github.com/users/Rebilly/gists{/gist_id}","starred_url":"https://api.github.com/users/Rebilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rebilly/subscriptions","organizations_url":"https://api.github.com/users/Rebilly/orgs","repos_url":"https://api.github.com/users/Rebilly/repos","events_url":"https://api.github.com/users/Rebilly/events{/privacy}","received_events_url":"https://api.github.com/users/Rebilly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rebilly/RebillyAPI","description":"Rebilly REST API Specifications","fork":false,"url":"https://api.github.com/repos/Rebilly/RebillyAPI","forks_url":"https://api.github.com/repos/Rebilly/RebillyAPI/forks","keys_url":"https://api.github.com/repos/Rebilly/RebillyAPI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rebilly/RebillyAPI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rebilly/RebillyAPI/teams","hooks_url":"https://api.github.com/repos/Rebilly/RebillyAPI/hooks","issue_events_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/events{/number}","events_url":"https://api.github.com/repos/Rebilly/RebillyAPI/events","assignees_url":"https://api.github.com/repos/Rebilly/RebillyAPI/assignees{/user}","branches_url":"https://api.github.com/repos/Rebilly/RebillyAPI/branches{/branch}","tags_url":"https://api.github.com/repos/Rebilly/RebillyAPI/tags","blobs_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rebilly/RebillyAPI/statuses/{sha}","languages_url":"https://api.github.com/repos/Rebilly/RebillyAPI/languages","stargazers_url":"https://api.github.com/repos/Rebilly/RebillyAPI/stargazers","contributors_url":"https://api.github.com/repos/Rebilly/RebillyAPI/contributors","subscribers_url":"https://api.github.com/repos/Rebilly/RebillyAPI/subscribers","subscription_url":"https://api.github.com/repos/Rebilly/RebillyAPI/subscription","commits_url":"https://api.github.com/repos/Rebilly/RebillyAPI/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rebilly/RebillyAPI/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rebilly/RebillyAPI/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rebilly/RebillyAPI/contents/{+path}","compare_url":"https://api.github.com/repos/Rebilly/RebillyAPI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rebilly/RebillyAPI/merges","archive_url":"https://api.github.com/repos/Rebilly/RebillyAPI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rebilly/RebillyAPI/downloads","issues_url":"https://api.github.com/repos/Rebilly/RebillyAPI/issues{/number}","pulls_url":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls{/number}","milestones_url":"https://api.github.com/repos/Rebilly/RebillyAPI/milestones{/number}","notifications_url":"https://api.github.com/repos/Rebilly/RebillyAPI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rebilly/RebillyAPI/labels{/name}","releases_url":"https://api.github.com/repos/Rebilly/RebillyAPI/releases{/id}","deployments_url":"https://api.github.com/repos/Rebilly/RebillyAPI/deployments","created_at":"2016-02-29T17:54:42Z","updated_at":"2018-06-04T14:54:44Z","pushed_at":"2018-06-05T20:34:33Z","git_url":"git://github.com/Rebilly/RebillyAPI.git","ssh_url":"git@github.com:Rebilly/RebillyAPI.git","clone_url":"https://github.com/Rebilly/RebillyAPI.git","svn_url":"https://github.com/Rebilly/RebillyAPI","homepage":"https://rebilly.github.io/RebillyAPI/","size":2272,"stargazers_count":28,"watchers_count":28,"language":"PHP","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":16,"open_issues":2,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/450"},"html":{"href":"https://github.com/Rebilly/RebillyAPI/pull/450"},"issue":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/450"},"comments":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/issues/450/comments"},"review_comments":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/450/comments"},"review_comment":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/pulls/450/commits"},"statuses":{"href":"https://api.github.com/repos/Rebilly/RebillyAPI/statuses/6e73fef0a0e6e7b598a8fd5914651b8699221bd2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"2e3s"}}