{"action":"created","issue":{"url":"https://api.github.com/repos/DoSomething/gladiator/issues/75","repository_url":"https://api.github.com/repos/DoSomething/gladiator","labels_url":"https://api.github.com/repos/DoSomething/gladiator/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/gladiator/issues/75/comments","events_url":"https://api.github.com/repos/DoSomething/gladiator/issues/75/events","html_url":"https://github.com/DoSomething/gladiator/pull/75","id":140230153,"number":75,"title":"Adds contest API ","user":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-03-11T16:36:42Z","updated_at":"2016-03-11T19:58:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DoSomething/gladiator/pulls/75","html_url":"https://github.com/DoSomething/gladiator/pull/75","diff_url":"https://github.com/DoSomething/gladiator/pull/75.diff","patch_url":"https://github.com/DoSomething/gladiator/pull/75.patch"},"body":"#### What's this PR do?\r\n- Added new endpoint to get a contest based on run nid\r\n- Added new transformer for the unique response returned by ^\r\n- Added new function to waiting room model to determine if it should be open for signups or not\r\n\r\n#### How should this be manually tested?\r\nHit the endpoint http://homestead.app/api/v1/contests?run_nid=<run_nid>\r\nMake sure the response looks good, something like this\r\n\r\n![screen shot 2016-03-11 at 11 31 37 am](https://cloud.githubusercontent.com/assets/897368/13708476/d6401470-e77c-11e5-84b7-b44dbc36dd53.png)\r\n\r\nPlay around with changing the waiting room dates as well to make sure the signups_open works as intended\r\n\r\n#### Any background context you want to provide?\r\nSee conversation in #Laravel for why I made a new transformer \r\n\r\n#### What are the relevant tickets?\r\nFixes #63"},"comment":{"url":"https://api.github.com/repos/DoSomething/gladiator/issues/comments/195522516","html_url":"https://github.com/DoSomething/gladiator/pull/75#issuecomment-195522516","issue_url":"https://api.github.com/repos/DoSomething/gladiator/issues/75","id":195522516,"user":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T19:58:05Z","updated_at":"2016-03-11T19:58:05Z","body":"@weerd @DFurnes is this :+1: ?"}}