{"action":"created","issue":{"url":"https://api.github.com/repos/iot-social-network-link/meetalk/issues/16","labels_url":"https://api.github.com/repos/iot-social-network-link/meetalk/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/iot-social-network-link/meetalk/issues/16/comments","events_url":"https://api.github.com/repos/iot-social-network-link/meetalk/issues/16/events","html_url":"https://github.com/iot-social-network-link/meetalk/pull/16","id":123651562,"number":16,"title":"APIs for step1","user":{"login":"MegaRoom","id":1008563,"avatar_url":"https://avatars.githubusercontent.com/u/1008563?v=3","gravatar_id":"","url":"https://api.github.com/users/MegaRoom","html_url":"https://github.com/MegaRoom","followers_url":"https://api.github.com/users/MegaRoom/followers","following_url":"https://api.github.com/users/MegaRoom/following{/other_user}","gists_url":"https://api.github.com/users/MegaRoom/gists{/gist_id}","starred_url":"https://api.github.com/users/MegaRoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MegaRoom/subscriptions","organizations_url":"https://api.github.com/users/MegaRoom/orgs","repos_url":"https://api.github.com/users/MegaRoom/repos","events_url":"https://api.github.com/users/MegaRoom/events{/privacy}","received_events_url":"https://api.github.com/users/MegaRoom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-23T12:29:01Z","updated_at":"2015-12-23T14:26:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iot-social-network-link/meetalk/pulls/16","html_url":"https://github.com/iot-social-network-link/meetalk/pull/16","diff_url":"https://github.com/iot-social-network-link/meetalk/pull/16.diff","patch_url":"https://github.com/iot-social-network-link/meetalk/pull/16.patch"},"body":"# APIs for step1\r\n\r\n## 今回作ったAPI\r\n\r\n- 部屋に4人いるときだけTrueを返すAPI(http://localhost:3000/api/v1/full_room/$room_id)\r\n- roomに入っている全ユーザ情報を返すAPI(http://localhost:3000/api/v1/users/$room_id)\r\n- データベースに入っている全ユーザ情報を返すAPI(http://localhost:3000/api/v1/users)\r\n- データベースに入っている全ルーム情報を返すAPI(http://localhost:3000/api/v1/rooms)\r\n\r\n## JSONで取得したいとき\r\n\r\n以下のように\".json\"を付け足してくださいな。\r\n\r\n- http://localhost:3000/api/v1/full_room/1.json\r\n- http://localhost:3000/api/v1/users.json\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/iot-social-network-link/meetalk/issues/comments/166907482","html_url":"https://github.com/iot-social-network-link/meetalk/pull/16#issuecomment-166907482","issue_url":"https://api.github.com/repos/iot-social-network-link/meetalk/issues/16","id":166907482,"user":{"login":"MegaRoom","id":1008563,"avatar_url":"https://avatars.githubusercontent.com/u/1008563?v=3","gravatar_id":"","url":"https://api.github.com/users/MegaRoom","html_url":"https://github.com/MegaRoom","followers_url":"https://api.github.com/users/MegaRoom/followers","following_url":"https://api.github.com/users/MegaRoom/following{/other_user}","gists_url":"https://api.github.com/users/MegaRoom/gists{/gist_id}","starred_url":"https://api.github.com/users/MegaRoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MegaRoom/subscriptions","organizations_url":"https://api.github.com/users/MegaRoom/orgs","repos_url":"https://api.github.com/users/MegaRoom/repos","events_url":"https://api.github.com/users/MegaRoom/events{/privacy}","received_events_url":"https://api.github.com/users/MegaRoom/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T14:26:27Z","updated_at":"2015-12-23T14:26:27Z","body":"俺の環境だとうまくいくよー。\r\nちなみにFalseかえってくるのがただしいよー。\r\n<img width=\"310\" alt=\"2015-12-23 11 25 22 pm\" src=\"https://cloud.githubusercontent.com/assets/1008563/11978140/90b1842c-a9cc-11e5-8ec9-03943b8277ba.png\">\r\n"}}