{"action":"created","comment":{"url":"https://api.github.com/repos/comphack/phpapi/pulls/comments/189259609","pull_request_review_id":121405795,"id":189259609,"diff_hunk":"@@ -251,6 +322,104 @@ public function Register($username, $email, $password)\n         }\n     } // function Register\n \n+    /**\n+     * Returns an array of user objects each object includes all details about the user besides their hash and salt.\n+     * Must be authenticated as an admin to use.\n+     */\n+    public function GetAccounts()","path":"src/API.php","position":147,"original_position":147,"commit_id":"d5c97d19e7400d6e03ded11c3d50292410caa365","original_commit_id":"d5c97d19e7400d6e03ded11c3d50292410caa365","user":{"login":"compomega","id":17806249,"avatar_url":"https://avatars1.githubusercontent.com/u/17806249?v=4","gravatar_id":"","url":"https://api.github.com/users/compomega","html_url":"https://github.com/compomega","followers_url":"https://api.github.com/users/compomega/followers","following_url":"https://api.github.com/users/compomega/following{/other_user}","gists_url":"https://api.github.com/users/compomega/gists{/gist_id}","starred_url":"https://api.github.com/users/compomega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compomega/subscriptions","organizations_url":"https://api.github.com/users/compomega/orgs","repos_url":"https://api.github.com/users/compomega/repos","events_url":"https://api.github.com/users/compomega/events{/privacy}","received_events_url":"https://api.github.com/users/compomega/received_events","type":"User","site_admin":false},"body":"If possible could you add admin/get_account too? It's so similar to admin/get_accounts and it would be a shame to not have the complete API.","created_at":"2018-05-18T12:58:06Z","updated_at":"2018-05-18T12:58:26Z","html_url":"https://github.com/comphack/phpapi/pull/1#discussion_r189259609","pull_request_url":"https://api.github.com/repos/comphack/phpapi/pulls/1","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/comphack/phpapi/pulls/comments/189259609"},"html":{"href":"https://github.com/comphack/phpapi/pull/1#discussion_r189259609"},"pull_request":{"href":"https://api.github.com/repos/comphack/phpapi/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/comphack/phpapi/pulls/1","id":188931936,"html_url":"https://github.com/comphack/phpapi/pull/1","diff_url":"https://github.com/comphack/phpapi/pull/1.diff","patch_url":"https://github.com/comphack/phpapi/pull/1.patch","issue_url":"https://api.github.com/repos/comphack/phpapi/issues/1","number":1,"state":"open","locked":false,"title":"Catch the phpapi up to Kodama v2.2.1","user":{"login":"Soliel","id":16450959,"avatar_url":"https://avatars0.githubusercontent.com/u/16450959?v=4","gravatar_id":"","url":"https://api.github.com/users/Soliel","html_url":"https://github.com/Soliel","followers_url":"https://api.github.com/users/Soliel/followers","following_url":"https://api.github.com/users/Soliel/following{/other_user}","gists_url":"https://api.github.com/users/Soliel/gists{/gist_id}","starred_url":"https://api.github.com/users/Soliel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soliel/subscriptions","organizations_url":"https://api.github.com/users/Soliel/orgs","repos_url":"https://api.github.com/users/Soliel/repos","events_url":"https://api.github.com/users/Soliel/events{/privacy}","received_events_url":"https://api.github.com/users/Soliel/received_events","type":"User","site_admin":false},"body":"Implemented all the missing methods from comp_lobby's ApiHandler.cpp file besides for admin/get_account. This was done because admin/get_accounts will provide the same result if filtered down. \r\n\r\nAdded documentation to existing as well as new methods in the API.","created_at":"2018-05-18T06:24:43Z","updated_at":"2018-05-18T12:58:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0185b503e69440c8522bc993315a9d05a237919a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/comphack/phpapi/pulls/1/commits","review_comments_url":"https://api.github.com/repos/comphack/phpapi/pulls/1/comments","review_comment_url":"https://api.github.com/repos/comphack/phpapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/comphack/phpapi/issues/1/comments","statuses_url":"https://api.github.com/repos/comphack/phpapi/statuses/d5c97d19e7400d6e03ded11c3d50292410caa365","head":{"label":"Soliel:develop","ref":"develop","sha":"d5c97d19e7400d6e03ded11c3d50292410caa365","user":{"login":"Soliel","id":16450959,"avatar_url":"https://avatars0.githubusercontent.com/u/16450959?v=4","gravatar_id":"","url":"https://api.github.com/users/Soliel","html_url":"https://github.com/Soliel","followers_url":"https://api.github.com/users/Soliel/followers","following_url":"https://api.github.com/users/Soliel/following{/other_user}","gists_url":"https://api.github.com/users/Soliel/gists{/gist_id}","starred_url":"https://api.github.com/users/Soliel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soliel/subscriptions","organizations_url":"https://api.github.com/users/Soliel/orgs","repos_url":"https://api.github.com/users/Soliel/repos","events_url":"https://api.github.com/users/Soliel/events{/privacy}","received_events_url":"https://api.github.com/users/Soliel/received_events","type":"User","site_admin":false},"repo":{"id":133583971,"name":"phpapi","full_name":"Soliel/phpapi","owner":{"login":"Soliel","id":16450959,"avatar_url":"https://avatars0.githubusercontent.com/u/16450959?v=4","gravatar_id":"","url":"https://api.github.com/users/Soliel","html_url":"https://github.com/Soliel","followers_url":"https://api.github.com/users/Soliel/followers","following_url":"https://api.github.com/users/Soliel/following{/other_user}","gists_url":"https://api.github.com/users/Soliel/gists{/gist_id}","starred_url":"https://api.github.com/users/Soliel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soliel/subscriptions","organizations_url":"https://api.github.com/users/Soliel/orgs","repos_url":"https://api.github.com/users/Soliel/repos","events_url":"https://api.github.com/users/Soliel/events{/privacy}","received_events_url":"https://api.github.com/users/Soliel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Soliel/phpapi","description":"PHP Composer package for using the COMP_hack server API","fork":true,"url":"https://api.github.com/repos/Soliel/phpapi","forks_url":"https://api.github.com/repos/Soliel/phpapi/forks","keys_url":"https://api.github.com/repos/Soliel/phpapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Soliel/phpapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Soliel/phpapi/teams","hooks_url":"https://api.github.com/repos/Soliel/phpapi/hooks","issue_events_url":"https://api.github.com/repos/Soliel/phpapi/issues/events{/number}","events_url":"https://api.github.com/repos/Soliel/phpapi/events","assignees_url":"https://api.github.com/repos/Soliel/phpapi/assignees{/user}","branches_url":"https://api.github.com/repos/Soliel/phpapi/branches{/branch}","tags_url":"https://api.github.com/repos/Soliel/phpapi/tags","blobs_url":"https://api.github.com/repos/Soliel/phpapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Soliel/phpapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Soliel/phpapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/Soliel/phpapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Soliel/phpapi/statuses/{sha}","languages_url":"https://api.github.com/repos/Soliel/phpapi/languages","stargazers_url":"https://api.github.com/repos/Soliel/phpapi/stargazers","contributors_url":"https://api.github.com/repos/Soliel/phpapi/contributors","subscribers_url":"https://api.github.com/repos/Soliel/phpapi/subscribers","subscription_url":"https://api.github.com/repos/Soliel/phpapi/subscription","commits_url":"https://api.github.com/repos/Soliel/phpapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/Soliel/phpapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/Soliel/phpapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/Soliel/phpapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/Soliel/phpapi/contents/{+path}","compare_url":"https://api.github.com/repos/Soliel/phpapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Soliel/phpapi/merges","archive_url":"https://api.github.com/repos/Soliel/phpapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Soliel/phpapi/downloads","issues_url":"https://api.github.com/repos/Soliel/phpapi/issues{/number}","pulls_url":"https://api.github.com/repos/Soliel/phpapi/pulls{/number}","milestones_url":"https://api.github.com/repos/Soliel/phpapi/milestones{/number}","notifications_url":"https://api.github.com/repos/Soliel/phpapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Soliel/phpapi/labels{/name}","releases_url":"https://api.github.com/repos/Soliel/phpapi/releases{/id}","deployments_url":"https://api.github.com/repos/Soliel/phpapi/deployments","created_at":"2018-05-15T23:27:11Z","updated_at":"2018-05-18T06:17:57Z","pushed_at":"2018-05-18T06:17:55Z","git_url":"git://github.com/Soliel/phpapi.git","ssh_url":"git@github.com:Soliel/phpapi.git","clone_url":"https://github.com/Soliel/phpapi.git","svn_url":"https://github.com/Soliel/phpapi","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"comphack:develop","ref":"develop","sha":"2d12b645a59f955781e5cdadd8169a5103298056","user":{"login":"comphack","id":17806261,"avatar_url":"https://avatars3.githubusercontent.com/u/17806261?v=4","gravatar_id":"","url":"https://api.github.com/users/comphack","html_url":"https://github.com/comphack","followers_url":"https://api.github.com/users/comphack/followers","following_url":"https://api.github.com/users/comphack/following{/other_user}","gists_url":"https://api.github.com/users/comphack/gists{/gist_id}","starred_url":"https://api.github.com/users/comphack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comphack/subscriptions","organizations_url":"https://api.github.com/users/comphack/orgs","repos_url":"https://api.github.com/users/comphack/repos","events_url":"https://api.github.com/users/comphack/events{/privacy}","received_events_url":"https://api.github.com/users/comphack/received_events","type":"Organization","site_admin":false},"repo":{"id":130474160,"name":"phpapi","full_name":"comphack/phpapi","owner":{"login":"comphack","id":17806261,"avatar_url":"https://avatars3.githubusercontent.com/u/17806261?v=4","gravatar_id":"","url":"https://api.github.com/users/comphack","html_url":"https://github.com/comphack","followers_url":"https://api.github.com/users/comphack/followers","following_url":"https://api.github.com/users/comphack/following{/other_user}","gists_url":"https://api.github.com/users/comphack/gists{/gist_id}","starred_url":"https://api.github.com/users/comphack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comphack/subscriptions","organizations_url":"https://api.github.com/users/comphack/orgs","repos_url":"https://api.github.com/users/comphack/repos","events_url":"https://api.github.com/users/comphack/events{/privacy}","received_events_url":"https://api.github.com/users/comphack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/comphack/phpapi","description":"PHP Composer package for using the COMP_hack server API","fork":false,"url":"https://api.github.com/repos/comphack/phpapi","forks_url":"https://api.github.com/repos/comphack/phpapi/forks","keys_url":"https://api.github.com/repos/comphack/phpapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/comphack/phpapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/comphack/phpapi/teams","hooks_url":"https://api.github.com/repos/comphack/phpapi/hooks","issue_events_url":"https://api.github.com/repos/comphack/phpapi/issues/events{/number}","events_url":"https://api.github.com/repos/comphack/phpapi/events","assignees_url":"https://api.github.com/repos/comphack/phpapi/assignees{/user}","branches_url":"https://api.github.com/repos/comphack/phpapi/branches{/branch}","tags_url":"https://api.github.com/repos/comphack/phpapi/tags","blobs_url":"https://api.github.com/repos/comphack/phpapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/comphack/phpapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/comphack/phpapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/comphack/phpapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/comphack/phpapi/statuses/{sha}","languages_url":"https://api.github.com/repos/comphack/phpapi/languages","stargazers_url":"https://api.github.com/repos/comphack/phpapi/stargazers","contributors_url":"https://api.github.com/repos/comphack/phpapi/contributors","subscribers_url":"https://api.github.com/repos/comphack/phpapi/subscribers","subscription_url":"https://api.github.com/repos/comphack/phpapi/subscription","commits_url":"https://api.github.com/repos/comphack/phpapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/comphack/phpapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/comphack/phpapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/comphack/phpapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/comphack/phpapi/contents/{+path}","compare_url":"https://api.github.com/repos/comphack/phpapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/comphack/phpapi/merges","archive_url":"https://api.github.com/repos/comphack/phpapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/comphack/phpapi/downloads","issues_url":"https://api.github.com/repos/comphack/phpapi/issues{/number}","pulls_url":"https://api.github.com/repos/comphack/phpapi/pulls{/number}","milestones_url":"https://api.github.com/repos/comphack/phpapi/milestones{/number}","notifications_url":"https://api.github.com/repos/comphack/phpapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/comphack/phpapi/labels{/name}","releases_url":"https://api.github.com/repos/comphack/phpapi/releases{/id}","deployments_url":"https://api.github.com/repos/comphack/phpapi/deployments","created_at":"2018-04-21T13:02:36Z","updated_at":"2018-04-28T22:15:13Z","pushed_at":"2018-05-18T06:24:44Z","git_url":"git://github.com/comphack/phpapi.git","ssh_url":"git@github.com:comphack/phpapi.git","clone_url":"https://github.com/comphack/phpapi.git","svn_url":"https://github.com/comphack/phpapi","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/comphack/phpapi/pulls/1"},"html":{"href":"https://github.com/comphack/phpapi/pull/1"},"issue":{"href":"https://api.github.com/repos/comphack/phpapi/issues/1"},"comments":{"href":"https://api.github.com/repos/comphack/phpapi/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/comphack/phpapi/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/comphack/phpapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/comphack/phpapi/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/comphack/phpapi/statuses/d5c97d19e7400d6e03ded11c3d50292410caa365"}},"author_association":"NONE"}}
{"actor":{"display_login":"compomega"}}