{"action":"created","issue":{"url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/32","labels_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/32/comments","events_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/32/events","html_url":"https://github.com/AmpersandJS/ampersand-collection-rest-mixin/pull/32","id":102455412,"number":32,"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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-21T20:25:19Z","updated_at":"2015-08-26T01:44:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/pulls/32","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"},"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"},"comment":{"url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/comments/134787550","html_url":"https://github.com/AmpersandJS/ampersand-collection-rest-mixin/pull/32#issuecomment-134787550","issue_url":"https://api.github.com/repos/AmpersandJS/ampersand-collection-rest-mixin/issues/32","id":134787550,"user":{"login":"lukekarrys","id":542108,"avatar_url":"https://avatars.githubusercontent.com/u/542108?v=3","gravatar_id":"","url":"https://api.github.com/users/lukekarrys","html_url":"https://github.com/lukekarrys","followers_url":"https://api.github.com/users/lukekarrys/followers","following_url":"https://api.github.com/users/lukekarrys/following{/other_user}","gists_url":"https://api.github.com/users/lukekarrys/gists{/gist_id}","starred_url":"https://api.github.com/users/lukekarrys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukekarrys/subscriptions","organizations_url":"https://api.github.com/users/lukekarrys/orgs","repos_url":"https://api.github.com/users/lukekarrys/repos","events_url":"https://api.github.com/users/lukekarrys/events{/privacy}","received_events_url":"https://api.github.com/users/lukekarrys/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T01:44:42Z","updated_at":"2015-08-26T01:44:42Z","body":"+1"}}