{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/pulls/32","id":43077430,"html_url":"https://github.com/AmpersandJS/ampersand-collection-rest-mixin/pull/32","diff_url":"https://github.com/AmpersandJS/ampersand-collection-rest-mixin/pull/32.diff","patch_url":"https://github.com/AmpersandJS/ampersand-collection-rest-mixin/pull/32.patch","issue_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/32","number":32,"state":"open","locked":false,"title":"Use mainIndex instead of idAttribute","user":{"login":"pgilad","id":4533329,"avatar_url":"https://avatars.githubusercontent.com/u/4533329?v=3","gravatar_id":"","url":"https://api.github.com/users/pgilad","html_url":"https://github.com/pgilad","followers_url":"https://api.github.com/users/pgilad/followers","following_url":"https://api.github.com/users/pgilad/following{/other_user}","gists_url":"https://api.github.com/users/pgilad/gists{/gist_id}","starred_url":"https://api.github.com/users/pgilad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgilad/subscriptions","organizations_url":"https://api.github.com/users/pgilad/orgs","repos_url":"https://api.github.com/users/pgilad/repos","events_url":"https://api.github.com/users/pgilad/events{/privacy}","received_events_url":"https://api.github.com/users/pgilad/received_events","type":"User","site_admin":false},"body":"- closes #14 \r\n\r\n`collection.mainIndex` is already set for us, we should use that instead of `idAttribute`.\r\nhttps://github.com/AmpersandJS/ampersand-collection/blob/master/ampersand-collection.js#L13-L16","created_at":"2015-08-21T20:25:19Z","updated_at":"2015-08-21T20:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/pulls/32/commits","review_comments_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/pulls/32/comments","review_comment_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/32/comments","statuses_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/statuses/3db3b91c9727872608a068587e6490bdf47970d5","head":{"label":"pgilad:feature/idAttribute","ref":"feature/idAttribute","sha":"3db3b91c9727872608a068587e6490bdf47970d5","user":{"login":"pgilad","id":4533329,"avatar_url":"https://avatars.githubusercontent.com/u/4533329?v=3","gravatar_id":"","url":"https://api.github.com/users/pgilad","html_url":"https://github.com/pgilad","followers_url":"https://api.github.com/users/pgilad/followers","following_url":"https://api.github.com/users/pgilad/following{/other_user}","gists_url":"https://api.github.com/users/pgilad/gists{/gist_id}","starred_url":"https://api.github.com/users/pgilad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgilad/subscriptions","organizations_url":"https://api.github.com/users/pgilad/orgs","repos_url":"https://api.github.com/users/pgilad/repos","events_url":"https://api.github.com/users/pgilad/events{/privacy}","received_events_url":"https://api.github.com/users/pgilad/received_events","type":"User","site_admin":false},"repo":{"id":41116199,"name":"ampersand-collection-rest-mixin","full_name":"pgilad/ampersand-collection-rest-mixin","owner":{"login":"pgilad","id":4533329,"avatar_url":"https://avatars.githubusercontent.com/u/4533329?v=3","gravatar_id":"","url":"https://api.github.com/users/pgilad","html_url":"https://github.com/pgilad","followers_url":"https://api.github.com/users/pgilad/followers","following_url":"https://api.github.com/users/pgilad/following{/other_user}","gists_url":"https://api.github.com/users/pgilad/gists{/gist_id}","starred_url":"https://api.github.com/users/pgilad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgilad/subscriptions","organizations_url":"https://api.github.com/users/pgilad/orgs","repos_url":"https://api.github.com/users/pgilad/repos","events_url":"https://api.github.com/users/pgilad/events{/privacy}","received_events_url":"https://api.github.com/users/pgilad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pgilad/ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","fork":true,"url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin","forks_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/forks","keys_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/teams","hooks_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/hooks","issue_events_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/issues/events{/number}","events_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/events","assignees_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/assignees{/user}","branches_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/branches{/branch}","tags_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/tags","blobs_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/git/refs{/sha}","trees_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/statuses/{sha}","languages_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/languages","stargazers_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/stargazers","contributors_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/contributors","subscribers_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/subscribers","subscription_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/subscription","commits_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/commits{/sha}","git_commits_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/git/commits{/sha}","comments_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/comments{/number}","issue_comment_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/issues/comments{/number}","contents_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/contents/{+path}","compare_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/merges","archive_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/downloads","issues_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/issues{/number}","pulls_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/pulls{/number}","milestones_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/milestones{/number}","notifications_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/labels{/name}","releases_url":"https://api.github.com/repos/pgilad/ampersand-collection-rest-mixin/releases{/id}","created_at":"2015-08-20T19:59:46Z","updated_at":"2015-08-20T19:59:46Z","pushed_at":"2015-08-21T20:24:13Z","git_url":"git://github.com/pgilad/ampersand-collection-rest-mixin.git","ssh_url":"git@github.com:pgilad/ampersand-collection-rest-mixin.git","clone_url":"https://github.com/pgilad/ampersand-collection-rest-mixin.git","svn_url":"https://github.com/pgilad/ampersand-collection-rest-mixin","homepage":null,"size":313,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AmpersandJS:master","ref":"master","sha":"59cd17129224f7bea1cbbb1ccc579eda8db2cfed","user":{"login":"AmpersandJS","id":6932645,"avatar_url":"https://avatars.githubusercontent.com/u/6932645?v=3","gravatar_id":"","url":"https://api.github.com/users/AmpersandJS","html_url":"https://github.com/AmpersandJS","followers_url":"https://api.github.com/users/AmpersandJS/followers","following_url":"https://api.github.com/users/AmpersandJS/following{/other_user}","gists_url":"https://api.github.com/users/AmpersandJS/gists{/gist_id}","starred_url":"https://api.github.com/users/AmpersandJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmpersandJS/subscriptions","organizations_url":"https://api.github.com/users/AmpersandJS/orgs","repos_url":"https://api.github.com/users/AmpersandJS/repos","events_url":"https://api.github.com/users/AmpersandJS/events{/privacy}","received_events_url":"https://api.github.com/users/AmpersandJS/received_events","type":"Organization","site_admin":false},"repo":{"id":18548095,"name":"ampersand-collection-rest-mixin","full_name":"AmpersandJS/ampersand-collection-rest-mixin","owner":{"login":"AmpersandJS","id":6932645,"avatar_url":"https://avatars.githubusercontent.com/u/6932645?v=3","gravatar_id":"","url":"https://api.github.com/users/AmpersandJS","html_url":"https://github.com/AmpersandJS","followers_url":"https://api.github.com/users/AmpersandJS/followers","following_url":"https://api.github.com/users/AmpersandJS/following{/other_user}","gists_url":"https://api.github.com/users/AmpersandJS/gists{/gist_id}","starred_url":"https://api.github.com/users/AmpersandJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmpersandJS/subscriptions","organizations_url":"https://api.github.com/users/AmpersandJS/orgs","repos_url":"https://api.github.com/users/AmpersandJS/repos","events_url":"https://api.github.com/users/AmpersandJS/events{/privacy}","received_events_url":"https://api.github.com/users/AmpersandJS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AmpersandJS/ampersand-collection-rest-mixin","description":"A mixin for extending ampersand-collection with restful methods.","fork":false,"url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin","forks_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/forks","keys_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/teams","hooks_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/hooks","issue_events_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/events{/number}","events_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/events","assignees_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/assignees{/user}","branches_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/branches{/branch}","tags_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/tags","blobs_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/git/refs{/sha}","trees_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/statuses/{sha}","languages_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/languages","stargazers_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/stargazers","contributors_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/contributors","subscribers_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/subscribers","subscription_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/subscription","commits_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/commits{/sha}","git_commits_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/git/commits{/sha}","comments_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/comments{/number}","issue_comment_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/comments{/number}","contents_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/contents/{+path}","compare_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/merges","archive_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/downloads","issues_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues{/number}","pulls_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/pulls{/number}","milestones_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/milestones{/number}","notifications_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/labels{/name}","releases_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/releases{/id}","created_at":"2014-04-08T06:43:52Z","updated_at":"2015-06-16T09:06:40Z","pushed_at":"2015-08-21T20:25:19Z","git_url":"git://github.com/AmpersandJS/ampersand-collection-rest-mixin.git","ssh_url":"git@github.com:AmpersandJS/ampersand-collection-rest-mixin.git","clone_url":"https://github.com/AmpersandJS/ampersand-collection-rest-mixin.git","svn_url":"https://github.com/AmpersandJS/ampersand-collection-rest-mixin","homepage":null,"size":313,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":4,"forks":15,"open_issues":4,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/pulls/32"},"html":{"href":"https://github.com/AmpersandJS/ampersand-collection-rest-mixin/pull/32"},"issue":{"href":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/32"},"comments":{"href":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/statuses/3db3b91c9727872608a068587e6490bdf47970d5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}