{"action":"created","issue":{"url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1879","repository_url":"https://api.github.com/repos/zooniverse/Panoptes","labels_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1879/labels{/name}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1879/comments","events_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1879/events","html_url":"https://github.com/zooniverse/Panoptes/pull/1879","id":167707945,"number":1879,"title":"[WIP?] Added /classifications/offset?project_id=Y&last_id=X","user":{"login":"zwolf","id":374835,"avatar_url":"https://avatars.githubusercontent.com/u/374835?v=3","gravatar_id":"","url":"https://api.github.com/users/zwolf","html_url":"https://github.com/zwolf","followers_url":"https://api.github.com/users/zwolf/followers","following_url":"https://api.github.com/users/zwolf/following{/other_user}","gists_url":"https://api.github.com/users/zwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/zwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwolf/subscriptions","organizations_url":"https://api.github.com/users/zwolf/orgs","repos_url":"https://api.github.com/users/zwolf/repos","events_url":"https://api.github.com/users/zwolf/events{/privacy}","received_events_url":"https://api.github.com/users/zwolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"camallen","id":295329,"avatar_url":"https://avatars.githubusercontent.com/u/295329?v=3","gravatar_id":"","url":"https://api.github.com/users/camallen","html_url":"https://github.com/camallen","followers_url":"https://api.github.com/users/camallen/followers","following_url":"https://api.github.com/users/camallen/following{/other_user}","gists_url":"https://api.github.com/users/camallen/gists{/gist_id}","starred_url":"https://api.github.com/users/camallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camallen/subscriptions","organizations_url":"https://api.github.com/users/camallen/orgs","repos_url":"https://api.github.com/users/camallen/repos","events_url":"https://api.github.com/users/camallen/events{/privacy}","received_events_url":"https://api.github.com/users/camallen/received_events","type":"User","site_admin":false},"assignees":[{"login":"camallen","id":295329,"avatar_url":"https://avatars.githubusercontent.com/u/295329?v=3","gravatar_id":"","url":"https://api.github.com/users/camallen","html_url":"https://github.com/camallen","followers_url":"https://api.github.com/users/camallen/followers","following_url":"https://api.github.com/users/camallen/following{/other_user}","gists_url":"https://api.github.com/users/camallen/gists{/gist_id}","starred_url":"https://api.github.com/users/camallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camallen/subscriptions","organizations_url":"https://api.github.com/users/camallen/orgs","repos_url":"https://api.github.com/users/camallen/repos","events_url":"https://api.github.com/users/camallen/events{/privacy}","received_events_url":"https://api.github.com/users/camallen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-26T20:48:19Z","updated_at":"2016-07-29T19:55:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1879","html_url":"https://github.com/zooniverse/Panoptes/pull/1879","diff_url":"https://github.com/zooniverse/Panoptes/pull/1879.diff","patch_url":"https://github.com/zooniverse/Panoptes/pull/1879.patch"},"body":"Added a route to grab new classifications by sending it the last id you've got. Uses a simple where clause to find them. I'm having trouble with my local setup that breaks requests outside of rspec. I'll try to solve that tomorrow, but in the mean time I'm making this PR to run all the specs and see what happens.\r\n\r\n\r\n# Review checklist\r\n\r\n- [ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.\r\n- [ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).\r\n- [ ] If anything changed with regards to the public API, are those changes also documented in the `apiary.apib` file?\r\n- [ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zooniverse/Panoptes/issues/comments/236278121","html_url":"https://github.com/zooniverse/Panoptes/pull/1879#issuecomment-236278121","issue_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1879","id":236278121,"user":{"login":"zwolf","id":374835,"avatar_url":"https://avatars.githubusercontent.com/u/374835?v=3","gravatar_id":"","url":"https://api.github.com/users/zwolf","html_url":"https://github.com/zwolf","followers_url":"https://api.github.com/users/zwolf/followers","following_url":"https://api.github.com/users/zwolf/following{/other_user}","gists_url":"https://api.github.com/users/zwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/zwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwolf/subscriptions","organizations_url":"https://api.github.com/users/zwolf/orgs","repos_url":"https://api.github.com/users/zwolf/repos","events_url":"https://api.github.com/users/zwolf/events{/privacy}","received_events_url":"https://api.github.com/users/zwolf/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T19:55:38Z","updated_at":"2016-07-29T19:55:38Z","body":"I am not certain where the logic is for filtering classifications by project, so made it explicit in the project scope alongside the filter for last_id. This might be DRYable, but it's at least clear this way."}}
{"actor":{"display_login":"zwolf"}}