{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/rogue/issues/269","repository_url":"https://api.github.com/repos/DoSomething/rogue","labels_url":"https://api.github.com/repos/DoSomething/rogue/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/rogue/issues/269/comments","events_url":"https://api.github.com/repos/DoSomething/rogue/issues/269/events","html_url":"https://github.com/DoSomething/rogue/pull/269","id":230749207,"number":269,"title":"/reviews to be used by keeper upper","user":{"login":"katiecrane","id":4240292,"avatar_url":"https://avatars2.githubusercontent.com/u/4240292?v=3","gravatar_id":"","url":"https://api.github.com/users/katiecrane","html_url":"https://github.com/katiecrane","followers_url":"https://api.github.com/users/katiecrane/followers","following_url":"https://api.github.com/users/katiecrane/following{/other_user}","gists_url":"https://api.github.com/users/katiecrane/gists{/gist_id}","starred_url":"https://api.github.com/users/katiecrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiecrane/subscriptions","organizations_url":"https://api.github.com/users/katiecrane/orgs","repos_url":"https://api.github.com/users/katiecrane/repos","events_url":"https://api.github.com/users/katiecrane/events{/privacy}","received_events_url":"https://api.github.com/users/katiecrane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-23T15:26:46Z","updated_at":"2017-05-23T18:05:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DoSomething/rogue/pulls/269","html_url":"https://github.com/DoSomething/rogue/pull/269","diff_url":"https://github.com/DoSomething/rogue/pull/269.diff","patch_url":"https://github.com/DoSomething/rogue/pull/269.patch"},"body":"#### What's this PR do?\r\n1. Added a new route for this endpoint\r\n2. Added a new controller for this endpoint (it is almost identical to [the web Reviews Controller](https://github.com/DoSomething/rogue/blob/master/app/Http/Controllers/ReviewsController.php))\r\n\r\n#### How should this be reviewed?\r\nAre there any parts here that are specific to the web controller and should not be in the API one? I've tested it and as far as I can tell everything is working properly.\r\n\r\n#### Any background context you want to provide?\r\nIn order to keep all data on posts up to date via the keeper upper, we also need to be able to update their statuses as they are reviewed.\r\n\r\n#### Relevant tickets\r\nFixes #268\r\n\r\n#### Checklist\r\n- [x] Documentation added for new features/changed endpoints.\r\n- [ ] Tested on staging."},"comment":{"url":"https://api.github.com/repos/DoSomething/rogue/issues/comments/303484313","html_url":"https://github.com/DoSomething/rogue/pull/269#issuecomment-303484313","issue_url":"https://api.github.com/repos/DoSomething/rogue/issues/269","id":303484313,"user":{"login":"katiecrane","id":4240292,"avatar_url":"https://avatars2.githubusercontent.com/u/4240292?v=3","gravatar_id":"","url":"https://api.github.com/users/katiecrane","html_url":"https://github.com/katiecrane","followers_url":"https://api.github.com/users/katiecrane/followers","following_url":"https://api.github.com/users/katiecrane/following{/other_user}","gists_url":"https://api.github.com/users/katiecrane/gists{/gist_id}","starred_url":"https://api.github.com/users/katiecrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiecrane/subscriptions","organizations_url":"https://api.github.com/users/katiecrane/orgs","repos_url":"https://api.github.com/users/katiecrane/repos","events_url":"https://api.github.com/users/katiecrane/events{/privacy}","received_events_url":"https://api.github.com/users/katiecrane/received_events","type":"User","site_admin":false},"created_at":"2017-05-23T18:05:46Z","updated_at":"2017-05-23T18:05:46Z","body":"@chloealee ahh validation! I knew I was forgetting something! I'm not suuuure about tests though, I feel like we will be removing this endpoint after the keeper upper is done so that reviews aren't accessible via the api? I didn't think we wanted anyone to be able to update reviews that way but I might be wrong"}}
{"actor":{"display_login":"katiecrane"}}