{"action":"created","comment":{"url":"https://api.github.com/repos/azurestandard/api-spec/pulls/comments/190684786","pull_request_review_id":123115189,"id":190684786,"diff_hunk":"@@ -5186,6 +5186,126 @@\n         }\n       }\n     },\n+    \"/rewards\": {\n+      \"get\": {\n+        \"summary\": \"Returns all reward credits and debits from the system that the user has access to.\",","path":"public.json","position":105,"original_position":33,"commit_id":"d92d50eb5d0c89ed868733da45c6aebdae4128c5","original_commit_id":"6f24bd9c8f812abed9269e2f1835a2aab68a1076","user":{"login":"wking","id":209920,"avatar_url":"https://avatars1.githubusercontent.com/u/209920?v=4","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"body":"Talk about ordering (and also for `/account-entries`, which is currently ordered by increasing `assessed_on`).  This will be ordered by `settled`.  For entries which haven't settled, we can sort by the associated order's pull times?  And put them all at the end?  For example:\r\n\r\nsettled 2010\r\nsettled 2011\r\n...\r\nsettled 2018\r\npending, order pulls 2019\r\npending, order pulls 2020","created_at":"2018-05-24T18:22:22Z","updated_at":"2018-05-24T18:22:22Z","html_url":"https://github.com/azurestandard/api-spec/pull/230#discussion_r190684786","pull_request_url":"https://api.github.com/repos/azurestandard/api-spec/pulls/230","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/azurestandard/api-spec/pulls/comments/190684786"},"html":{"href":"https://github.com/azurestandard/api-spec/pull/230#discussion_r190684786"},"pull_request":{"href":"https://api.github.com/repos/azurestandard/api-spec/pulls/230"}}},"pull_request":{"url":"https://api.github.com/repos/azurestandard/api-spec/pulls/230","id":190373948,"html_url":"https://github.com/azurestandard/api-spec/pull/230","diff_url":"https://github.com/azurestandard/api-spec/pull/230.diff","patch_url":"https://github.com/azurestandard/api-spec/pull/230.patch","issue_url":"https://api.github.com/repos/azurestandard/api-spec/issues/230","number":230,"state":"open","locked":false,"title":"public.json: API for the rewards program","user":{"login":"wking","id":209920,"avatar_url":"https://avatars1.githubusercontent.com/u/209920?v=4","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"body":"The API side of azurestandard/beehive#3774.","created_at":"2018-05-24T18:03:54Z","updated_at":"2018-05-24T18:22:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02fa3698cf33107fae4ef3f053830fd0bbc49548","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/azurestandard/api-spec/pulls/230/commits","review_comments_url":"https://api.github.com/repos/azurestandard/api-spec/pulls/230/comments","review_comment_url":"https://api.github.com/repos/azurestandard/api-spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azurestandard/api-spec/issues/230/comments","statuses_url":"https://api.github.com/repos/azurestandard/api-spec/statuses/d92d50eb5d0c89ed868733da45c6aebdae4128c5","head":{"label":"azurestandard:tk/rewards-api","ref":"tk/rewards-api","sha":"d92d50eb5d0c89ed868733da45c6aebdae4128c5","user":{"login":"azurestandard","id":4581874,"avatar_url":"https://avatars0.githubusercontent.com/u/4581874?v=4","gravatar_id":"","url":"https://api.github.com/users/azurestandard","html_url":"https://github.com/azurestandard","followers_url":"https://api.github.com/users/azurestandard/followers","following_url":"https://api.github.com/users/azurestandard/following{/other_user}","gists_url":"https://api.github.com/users/azurestandard/gists{/gist_id}","starred_url":"https://api.github.com/users/azurestandard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azurestandard/subscriptions","organizations_url":"https://api.github.com/users/azurestandard/orgs","repos_url":"https://api.github.com/users/azurestandard/repos","events_url":"https://api.github.com/users/azurestandard/events{/privacy}","received_events_url":"https://api.github.com/users/azurestandard/received_events","type":"Organization","site_admin":false},"repo":{"id":26563142,"name":"api-spec","full_name":"azurestandard/api-spec","owner":{"login":"azurestandard","id":4581874,"avatar_url":"https://avatars0.githubusercontent.com/u/4581874?v=4","gravatar_id":"","url":"https://api.github.com/users/azurestandard","html_url":"https://github.com/azurestandard","followers_url":"https://api.github.com/users/azurestandard/followers","following_url":"https://api.github.com/users/azurestandard/following{/other_user}","gists_url":"https://api.github.com/users/azurestandard/gists{/gist_id}","starred_url":"https://api.github.com/users/azurestandard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azurestandard/subscriptions","organizations_url":"https://api.github.com/users/azurestandard/orgs","repos_url":"https://api.github.com/users/azurestandard/repos","events_url":"https://api.github.com/users/azurestandard/events{/privacy}","received_events_url":"https://api.github.com/users/azurestandard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azurestandard/api-spec","description":"Swagger specs for Azure's API","fork":false,"url":"https://api.github.com/repos/azurestandard/api-spec","forks_url":"https://api.github.com/repos/azurestandard/api-spec/forks","keys_url":"https://api.github.com/repos/azurestandard/api-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azurestandard/api-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azurestandard/api-spec/teams","hooks_url":"https://api.github.com/repos/azurestandard/api-spec/hooks","issue_events_url":"https://api.github.com/repos/azurestandard/api-spec/issues/events{/number}","events_url":"https://api.github.com/repos/azurestandard/api-spec/events","assignees_url":"https://api.github.com/repos/azurestandard/api-spec/assignees{/user}","branches_url":"https://api.github.com/repos/azurestandard/api-spec/branches{/branch}","tags_url":"https://api.github.com/repos/azurestandard/api-spec/tags","blobs_url":"https://api.github.com/repos/azurestandard/api-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azurestandard/api-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azurestandard/api-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/azurestandard/api-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azurestandard/api-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/azurestandard/api-spec/languages","stargazers_url":"https://api.github.com/repos/azurestandard/api-spec/stargazers","contributors_url":"https://api.github.com/repos/azurestandard/api-spec/contributors","subscribers_url":"https://api.github.com/repos/azurestandard/api-spec/subscribers","subscription_url":"https://api.github.com/repos/azurestandard/api-spec/subscription","commits_url":"https://api.github.com/repos/azurestandard/api-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/azurestandard/api-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/azurestandard/api-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/azurestandard/api-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/azurestandard/api-spec/contents/{+path}","compare_url":"https://api.github.com/repos/azurestandard/api-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azurestandard/api-spec/merges","archive_url":"https://api.github.com/repos/azurestandard/api-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azurestandard/api-spec/downloads","issues_url":"https://api.github.com/repos/azurestandard/api-spec/issues{/number}","pulls_url":"https://api.github.com/repos/azurestandard/api-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/azurestandard/api-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/azurestandard/api-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azurestandard/api-spec/labels{/name}","releases_url":"https://api.github.com/repos/azurestandard/api-spec/releases{/id}","deployments_url":"https://api.github.com/repos/azurestandard/api-spec/deployments","created_at":"2014-11-13T00:35:58Z","updated_at":"2018-04-26T22:49:39Z","pushed_at":"2018-05-24T18:03:54Z","git_url":"git://github.com/azurestandard/api-spec.git","ssh_url":"git@github.com:azurestandard/api-spec.git","clone_url":"https://github.com/azurestandard/api-spec.git","svn_url":"https://github.com/azurestandard/api-spec","homepage":null,"size":371,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":14,"watchers":1,"default_branch":"master"}},"base":{"label":"azurestandard:master","ref":"master","sha":"96cb1bbf69c38576f6d2d69fde69719e2ca2337e","user":{"login":"azurestandard","id":4581874,"avatar_url":"https://avatars0.githubusercontent.com/u/4581874?v=4","gravatar_id":"","url":"https://api.github.com/users/azurestandard","html_url":"https://github.com/azurestandard","followers_url":"https://api.github.com/users/azurestandard/followers","following_url":"https://api.github.com/users/azurestandard/following{/other_user}","gists_url":"https://api.github.com/users/azurestandard/gists{/gist_id}","starred_url":"https://api.github.com/users/azurestandard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azurestandard/subscriptions","organizations_url":"https://api.github.com/users/azurestandard/orgs","repos_url":"https://api.github.com/users/azurestandard/repos","events_url":"https://api.github.com/users/azurestandard/events{/privacy}","received_events_url":"https://api.github.com/users/azurestandard/received_events","type":"Organization","site_admin":false},"repo":{"id":26563142,"name":"api-spec","full_name":"azurestandard/api-spec","owner":{"login":"azurestandard","id":4581874,"avatar_url":"https://avatars0.githubusercontent.com/u/4581874?v=4","gravatar_id":"","url":"https://api.github.com/users/azurestandard","html_url":"https://github.com/azurestandard","followers_url":"https://api.github.com/users/azurestandard/followers","following_url":"https://api.github.com/users/azurestandard/following{/other_user}","gists_url":"https://api.github.com/users/azurestandard/gists{/gist_id}","starred_url":"https://api.github.com/users/azurestandard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azurestandard/subscriptions","organizations_url":"https://api.github.com/users/azurestandard/orgs","repos_url":"https://api.github.com/users/azurestandard/repos","events_url":"https://api.github.com/users/azurestandard/events{/privacy}","received_events_url":"https://api.github.com/users/azurestandard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azurestandard/api-spec","description":"Swagger specs for Azure's API","fork":false,"url":"https://api.github.com/repos/azurestandard/api-spec","forks_url":"https://api.github.com/repos/azurestandard/api-spec/forks","keys_url":"https://api.github.com/repos/azurestandard/api-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azurestandard/api-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azurestandard/api-spec/teams","hooks_url":"https://api.github.com/repos/azurestandard/api-spec/hooks","issue_events_url":"https://api.github.com/repos/azurestandard/api-spec/issues/events{/number}","events_url":"https://api.github.com/repos/azurestandard/api-spec/events","assignees_url":"https://api.github.com/repos/azurestandard/api-spec/assignees{/user}","branches_url":"https://api.github.com/repos/azurestandard/api-spec/branches{/branch}","tags_url":"https://api.github.com/repos/azurestandard/api-spec/tags","blobs_url":"https://api.github.com/repos/azurestandard/api-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azurestandard/api-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azurestandard/api-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/azurestandard/api-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azurestandard/api-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/azurestandard/api-spec/languages","stargazers_url":"https://api.github.com/repos/azurestandard/api-spec/stargazers","contributors_url":"https://api.github.com/repos/azurestandard/api-spec/contributors","subscribers_url":"https://api.github.com/repos/azurestandard/api-spec/subscribers","subscription_url":"https://api.github.com/repos/azurestandard/api-spec/subscription","commits_url":"https://api.github.com/repos/azurestandard/api-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/azurestandard/api-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/azurestandard/api-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/azurestandard/api-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/azurestandard/api-spec/contents/{+path}","compare_url":"https://api.github.com/repos/azurestandard/api-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azurestandard/api-spec/merges","archive_url":"https://api.github.com/repos/azurestandard/api-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azurestandard/api-spec/downloads","issues_url":"https://api.github.com/repos/azurestandard/api-spec/issues{/number}","pulls_url":"https://api.github.com/repos/azurestandard/api-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/azurestandard/api-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/azurestandard/api-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azurestandard/api-spec/labels{/name}","releases_url":"https://api.github.com/repos/azurestandard/api-spec/releases{/id}","deployments_url":"https://api.github.com/repos/azurestandard/api-spec/deployments","created_at":"2014-11-13T00:35:58Z","updated_at":"2018-04-26T22:49:39Z","pushed_at":"2018-05-24T18:03:54Z","git_url":"git://github.com/azurestandard/api-spec.git","ssh_url":"git@github.com:azurestandard/api-spec.git","clone_url":"https://github.com/azurestandard/api-spec.git","svn_url":"https://github.com/azurestandard/api-spec","homepage":null,"size":371,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":14,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/azurestandard/api-spec/pulls/230"},"html":{"href":"https://github.com/azurestandard/api-spec/pull/230"},"issue":{"href":"https://api.github.com/repos/azurestandard/api-spec/issues/230"},"comments":{"href":"https://api.github.com/repos/azurestandard/api-spec/issues/230/comments"},"review_comments":{"href":"https://api.github.com/repos/azurestandard/api-spec/pulls/230/comments"},"review_comment":{"href":"https://api.github.com/repos/azurestandard/api-spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azurestandard/api-spec/pulls/230/commits"},"statuses":{"href":"https://api.github.com/repos/azurestandard/api-spec/statuses/d92d50eb5d0c89ed868733da45c6aebdae4128c5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"wking"}}