{"action":"created","comment":{"url":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/comments/169326558","pull_request_review_id":97833394,"id":169326558,"diff_hunk":"@@ -86,6 +86,13 @@ this.get('store').findRecord('github-repository', 'jimmay5469/old-hash'); // get\n this.get('store').findRecord('github-repository', 34598603); // get a repository by repository id\n ```\n \n+##### [Get By User](https://developer.github.com/v3/repos/#list-user-repositories)\n+```js\n+this.get('store').query('github-repository', { user: 'elwayman02' }); // get repositories owned by user\n+this.get('store').query('github-repository', { user: 'elwayman02', type: 'all' }); // get all repositories for user","path":"README.md","position":7,"original_position":7,"commit_id":"4a1082870c4bd4eb4d5283982e6ae738f6cf6a5b","original_commit_id":"4a1082870c4bd4eb4d5283982e6ae738f6cf6a5b","user":{"login":"Dhaulagiri","id":1672302,"avatar_url":"https://avatars1.githubusercontent.com/u/1672302?v=4","gravatar_id":"","url":"https://api.github.com/users/Dhaulagiri","html_url":"https://github.com/Dhaulagiri","followers_url":"https://api.github.com/users/Dhaulagiri/followers","following_url":"https://api.github.com/users/Dhaulagiri/following{/other_user}","gists_url":"https://api.github.com/users/Dhaulagiri/gists{/gist_id}","starred_url":"https://api.github.com/users/Dhaulagiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dhaulagiri/subscriptions","organizations_url":"https://api.github.com/users/Dhaulagiri/orgs","repos_url":"https://api.github.com/users/Dhaulagiri/repos","events_url":"https://api.github.com/users/Dhaulagiri/events{/privacy}","received_events_url":"https://api.github.com/users/Dhaulagiri/received_events","type":"User","site_admin":false},"body":"`type`, `sort` and `direction` all work as normal query params then? (assuming yes but wanted to confirm)","created_at":"2018-02-20T14:02:59Z","updated_at":"2018-02-20T14:05:20Z","html_url":"https://github.com/elwayman02/ember-data-github/pull/153#discussion_r169326558","pull_request_url":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/153","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/comments/169326558"},"html":{"href":"https://github.com/elwayman02/ember-data-github/pull/153#discussion_r169326558"},"pull_request":{"href":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/153"}}},"pull_request":{"url":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/153","id":169561305,"html_url":"https://github.com/elwayman02/ember-data-github/pull/153","diff_url":"https://github.com/elwayman02/ember-data-github/pull/153.diff","patch_url":"https://github.com/elwayman02/ember-data-github/pull/153.patch","issue_url":"https://api.github.com/repos/elwayman02/ember-data-github/issues/153","number":153,"state":"open","locked":false,"title":"Retrieve Repo List By User","user":{"login":"elwayman02","id":1325482,"avatar_url":"https://avatars0.githubusercontent.com/u/1325482?v=4","gravatar_id":"","url":"https://api.github.com/users/elwayman02","html_url":"https://github.com/elwayman02","followers_url":"https://api.github.com/users/elwayman02/followers","following_url":"https://api.github.com/users/elwayman02/following{/other_user}","gists_url":"https://api.github.com/users/elwayman02/gists{/gist_id}","starred_url":"https://api.github.com/users/elwayman02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elwayman02/subscriptions","organizations_url":"https://api.github.com/users/elwayman02/orgs","repos_url":"https://api.github.com/users/elwayman02/repos","events_url":"https://api.github.com/users/elwayman02/events{/privacy}","received_events_url":"https://api.github.com/users/elwayman02/received_events","type":"User","site_admin":false},"body":"Also added a bunch of missing attributes to the repo/user models.\r\n\r\nThere may be more ways to query repos that we'll want to add to this at some point, but this will enable the first of these features.","created_at":"2018-02-16T07:22:00Z","updated_at":"2018-02-20T14:05:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3cc003a350ce1ffe1df7be15608ff0519e818822","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/153/commits","review_comments_url":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/153/comments","review_comment_url":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elwayman02/ember-data-github/issues/153/comments","statuses_url":"https://api.github.com/repos/elwayman02/ember-data-github/statuses/4a1082870c4bd4eb4d5283982e6ae738f6cf6a5b","head":{"label":"elwayman02:repo-by-user","ref":"repo-by-user","sha":"4a1082870c4bd4eb4d5283982e6ae738f6cf6a5b","user":{"login":"elwayman02","id":1325482,"avatar_url":"https://avatars0.githubusercontent.com/u/1325482?v=4","gravatar_id":"","url":"https://api.github.com/users/elwayman02","html_url":"https://github.com/elwayman02","followers_url":"https://api.github.com/users/elwayman02/followers","following_url":"https://api.github.com/users/elwayman02/following{/other_user}","gists_url":"https://api.github.com/users/elwayman02/gists{/gist_id}","starred_url":"https://api.github.com/users/elwayman02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elwayman02/subscriptions","organizations_url":"https://api.github.com/users/elwayman02/orgs","repos_url":"https://api.github.com/users/elwayman02/repos","events_url":"https://api.github.com/users/elwayman02/events{/privacy}","received_events_url":"https://api.github.com/users/elwayman02/received_events","type":"User","site_admin":false},"repo":{"id":34598603,"name":"ember-data-github","full_name":"elwayman02/ember-data-github","owner":{"login":"elwayman02","id":1325482,"avatar_url":"https://avatars0.githubusercontent.com/u/1325482?v=4","gravatar_id":"","url":"https://api.github.com/users/elwayman02","html_url":"https://github.com/elwayman02","followers_url":"https://api.github.com/users/elwayman02/followers","following_url":"https://api.github.com/users/elwayman02/following{/other_user}","gists_url":"https://api.github.com/users/elwayman02/gists{/gist_id}","starred_url":"https://api.github.com/users/elwayman02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elwayman02/subscriptions","organizations_url":"https://api.github.com/users/elwayman02/orgs","repos_url":"https://api.github.com/users/elwayman02/repos","events_url":"https://api.github.com/users/elwayman02/events{/privacy}","received_events_url":"https://api.github.com/users/elwayman02/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elwayman02/ember-data-github","description":"Ember Data library for the GitHub API","fork":false,"url":"https://api.github.com/repos/elwayman02/ember-data-github","forks_url":"https://api.github.com/repos/elwayman02/ember-data-github/forks","keys_url":"https://api.github.com/repos/elwayman02/ember-data-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elwayman02/ember-data-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elwayman02/ember-data-github/teams","hooks_url":"https://api.github.com/repos/elwayman02/ember-data-github/hooks","issue_events_url":"https://api.github.com/repos/elwayman02/ember-data-github/issues/events{/number}","events_url":"https://api.github.com/repos/elwayman02/ember-data-github/events","assignees_url":"https://api.github.com/repos/elwayman02/ember-data-github/assignees{/user}","branches_url":"https://api.github.com/repos/elwayman02/ember-data-github/branches{/branch}","tags_url":"https://api.github.com/repos/elwayman02/ember-data-github/tags","blobs_url":"https://api.github.com/repos/elwayman02/ember-data-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elwayman02/ember-data-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elwayman02/ember-data-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/elwayman02/ember-data-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elwayman02/ember-data-github/statuses/{sha}","languages_url":"https://api.github.com/repos/elwayman02/ember-data-github/languages","stargazers_url":"https://api.github.com/repos/elwayman02/ember-data-github/stargazers","contributors_url":"https://api.github.com/repos/elwayman02/ember-data-github/contributors","subscribers_url":"https://api.github.com/repos/elwayman02/ember-data-github/subscribers","subscription_url":"https://api.github.com/repos/elwayman02/ember-data-github/subscription","commits_url":"https://api.github.com/repos/elwayman02/ember-data-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/elwayman02/ember-data-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/elwayman02/ember-data-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/elwayman02/ember-data-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/elwayman02/ember-data-github/contents/{+path}","compare_url":"https://api.github.com/repos/elwayman02/ember-data-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elwayman02/ember-data-github/merges","archive_url":"https://api.github.com/repos/elwayman02/ember-data-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elwayman02/ember-data-github/downloads","issues_url":"https://api.github.com/repos/elwayman02/ember-data-github/issues{/number}","pulls_url":"https://api.github.com/repos/elwayman02/ember-data-github/pulls{/number}","milestones_url":"https://api.github.com/repos/elwayman02/ember-data-github/milestones{/number}","notifications_url":"https://api.github.com/repos/elwayman02/ember-data-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elwayman02/ember-data-github/labels{/name}","releases_url":"https://api.github.com/repos/elwayman02/ember-data-github/releases{/id}","deployments_url":"https://api.github.com/repos/elwayman02/ember-data-github/deployments","created_at":"2015-04-26T05:01:42Z","updated_at":"2018-02-10T01:41:17Z","pushed_at":"2018-02-20T01:24:34Z","git_url":"git://github.com/elwayman02/ember-data-github.git","ssh_url":"git@github.com:elwayman02/ember-data-github.git","clone_url":"https://github.com/elwayman02/ember-data-github.git","svn_url":"https://github.com/elwayman02/ember-data-github","homepage":"","size":489,"stargazers_count":36,"watchers_count":36,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":25,"open_issues":8,"watchers":36,"default_branch":"master"}},"base":{"label":"elwayman02:master","ref":"master","sha":"d6b8858af7a21cb4e30e34f7cd16997cd89d6b2e","user":{"login":"elwayman02","id":1325482,"avatar_url":"https://avatars0.githubusercontent.com/u/1325482?v=4","gravatar_id":"","url":"https://api.github.com/users/elwayman02","html_url":"https://github.com/elwayman02","followers_url":"https://api.github.com/users/elwayman02/followers","following_url":"https://api.github.com/users/elwayman02/following{/other_user}","gists_url":"https://api.github.com/users/elwayman02/gists{/gist_id}","starred_url":"https://api.github.com/users/elwayman02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elwayman02/subscriptions","organizations_url":"https://api.github.com/users/elwayman02/orgs","repos_url":"https://api.github.com/users/elwayman02/repos","events_url":"https://api.github.com/users/elwayman02/events{/privacy}","received_events_url":"https://api.github.com/users/elwayman02/received_events","type":"User","site_admin":false},"repo":{"id":34598603,"name":"ember-data-github","full_name":"elwayman02/ember-data-github","owner":{"login":"elwayman02","id":1325482,"avatar_url":"https://avatars0.githubusercontent.com/u/1325482?v=4","gravatar_id":"","url":"https://api.github.com/users/elwayman02","html_url":"https://github.com/elwayman02","followers_url":"https://api.github.com/users/elwayman02/followers","following_url":"https://api.github.com/users/elwayman02/following{/other_user}","gists_url":"https://api.github.com/users/elwayman02/gists{/gist_id}","starred_url":"https://api.github.com/users/elwayman02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elwayman02/subscriptions","organizations_url":"https://api.github.com/users/elwayman02/orgs","repos_url":"https://api.github.com/users/elwayman02/repos","events_url":"https://api.github.com/users/elwayman02/events{/privacy}","received_events_url":"https://api.github.com/users/elwayman02/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elwayman02/ember-data-github","description":"Ember Data library for the GitHub API","fork":false,"url":"https://api.github.com/repos/elwayman02/ember-data-github","forks_url":"https://api.github.com/repos/elwayman02/ember-data-github/forks","keys_url":"https://api.github.com/repos/elwayman02/ember-data-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elwayman02/ember-data-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elwayman02/ember-data-github/teams","hooks_url":"https://api.github.com/repos/elwayman02/ember-data-github/hooks","issue_events_url":"https://api.github.com/repos/elwayman02/ember-data-github/issues/events{/number}","events_url":"https://api.github.com/repos/elwayman02/ember-data-github/events","assignees_url":"https://api.github.com/repos/elwayman02/ember-data-github/assignees{/user}","branches_url":"https://api.github.com/repos/elwayman02/ember-data-github/branches{/branch}","tags_url":"https://api.github.com/repos/elwayman02/ember-data-github/tags","blobs_url":"https://api.github.com/repos/elwayman02/ember-data-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elwayman02/ember-data-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elwayman02/ember-data-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/elwayman02/ember-data-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elwayman02/ember-data-github/statuses/{sha}","languages_url":"https://api.github.com/repos/elwayman02/ember-data-github/languages","stargazers_url":"https://api.github.com/repos/elwayman02/ember-data-github/stargazers","contributors_url":"https://api.github.com/repos/elwayman02/ember-data-github/contributors","subscribers_url":"https://api.github.com/repos/elwayman02/ember-data-github/subscribers","subscription_url":"https://api.github.com/repos/elwayman02/ember-data-github/subscription","commits_url":"https://api.github.com/repos/elwayman02/ember-data-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/elwayman02/ember-data-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/elwayman02/ember-data-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/elwayman02/ember-data-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/elwayman02/ember-data-github/contents/{+path}","compare_url":"https://api.github.com/repos/elwayman02/ember-data-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elwayman02/ember-data-github/merges","archive_url":"https://api.github.com/repos/elwayman02/ember-data-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elwayman02/ember-data-github/downloads","issues_url":"https://api.github.com/repos/elwayman02/ember-data-github/issues{/number}","pulls_url":"https://api.github.com/repos/elwayman02/ember-data-github/pulls{/number}","milestones_url":"https://api.github.com/repos/elwayman02/ember-data-github/milestones{/number}","notifications_url":"https://api.github.com/repos/elwayman02/ember-data-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elwayman02/ember-data-github/labels{/name}","releases_url":"https://api.github.com/repos/elwayman02/ember-data-github/releases{/id}","deployments_url":"https://api.github.com/repos/elwayman02/ember-data-github/deployments","created_at":"2015-04-26T05:01:42Z","updated_at":"2018-02-10T01:41:17Z","pushed_at":"2018-02-20T01:24:34Z","git_url":"git://github.com/elwayman02/ember-data-github.git","ssh_url":"git@github.com:elwayman02/ember-data-github.git","clone_url":"https://github.com/elwayman02/ember-data-github.git","svn_url":"https://github.com/elwayman02/ember-data-github","homepage":"","size":489,"stargazers_count":36,"watchers_count":36,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":25,"open_issues":8,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/153"},"html":{"href":"https://github.com/elwayman02/ember-data-github/pull/153"},"issue":{"href":"https://api.github.com/repos/elwayman02/ember-data-github/issues/153"},"comments":{"href":"https://api.github.com/repos/elwayman02/ember-data-github/issues/153/comments"},"review_comments":{"href":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/153/comments"},"review_comment":{"href":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elwayman02/ember-data-github/pulls/153/commits"},"statuses":{"href":"https://api.github.com/repos/elwayman02/ember-data-github/statuses/4a1082870c4bd4eb4d5283982e6ae738f6cf6a5b"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Dhaulagiri"}}