{"action":"created","issue":{"url":"https://api.github.com/repos/yosukenn/chat-space/issues/16","repository_url":"https://api.github.com/repos/yosukenn/chat-space","labels_url":"https://api.github.com/repos/yosukenn/chat-space/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/yosukenn/chat-space/issues/16/comments","events_url":"https://api.github.com/repos/yosukenn/chat-space/issues/16/events","html_url":"https://github.com/yosukenn/chat-space/pull/16","id":348959869,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MTg4MDky","number":16,"title":"メッセージ自動更新機能の実装","user":{"login":"yosukenn","id":40386128,"node_id":"MDQ6VXNlcjQwMzg2MTI4","avatar_url":"https://avatars1.githubusercontent.com/u/40386128?v=4","gravatar_id":"","url":"https://api.github.com/users/yosukenn","html_url":"https://github.com/yosukenn","followers_url":"https://api.github.com/users/yosukenn/followers","following_url":"https://api.github.com/users/yosukenn/following{/other_user}","gists_url":"https://api.github.com/users/yosukenn/gists{/gist_id}","starred_url":"https://api.github.com/users/yosukenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosukenn/subscriptions","organizations_url":"https://api.github.com/users/yosukenn/orgs","repos_url":"https://api.github.com/users/yosukenn/repos","events_url":"https://api.github.com/users/yosukenn/events{/privacy}","received_events_url":"https://api.github.com/users/yosukenn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-09T03:06:34Z","updated_at":"2018-08-10T02:59:10Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/yosukenn/chat-space/pulls/16","html_url":"https://github.com/yosukenn/chat-space/pull/16","diff_url":"https://github.com/yosukenn/chat-space/pull/16.diff","patch_url":"https://github.com/yosukenn/chat-space/pull/16.patch"},"body":"#What\r\n    ①定期的に非同期通信を行い、該当グループのメッセージを取得する\r\n        1-1    ルーティングの確認（messages#index）\r\n        1-2    JSON形式でデータをレスポンスするためにAPIを作成（messages#index内）\r\n        1-3    ５秒ごとに起こるイベントの作成\r\n        1-4    イベント内でテーブルに保存してある、「新たなメッセージ」を取得\r\n        1-5    JbuilderでJSON形式のレスポンス内容作成\r\n        1-6    非同期でmessage#indexが動くリクエストを送信\r\n    ② 取得したメッセージでメッセージのHTMLを組み立てる\r\n        2-1    メッセージ一覧に追加するHTMLを組み立てる\r\n        2-2    2-1で組み立てたHTMLを追加する関数を定義\r\n    ③ ビューに追加する\r\n        3-1    通信に成功した場合の処理内で、2-2の関数を呼び出す\r\n                    ※サイドバーにも反映させたい\r\n        3-2    通信に失敗した場合の処理内で、エラーを表示するアラートを設定\r\n\r\n#Why\r\n自分以外のチャットメンバーのメッセージをスマートに表示させるため"},"comment":{"url":"https://api.github.com/repos/yosukenn/chat-space/issues/comments/411961021","html_url":"https://github.com/yosukenn/chat-space/pull/16#issuecomment-411961021","issue_url":"https://api.github.com/repos/yosukenn/chat-space/issues/16","id":411961021,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTk2MTAyMQ==","user":{"login":"yosukenn","id":40386128,"node_id":"MDQ6VXNlcjQwMzg2MTI4","avatar_url":"https://avatars1.githubusercontent.com/u/40386128?v=4","gravatar_id":"","url":"https://api.github.com/users/yosukenn","html_url":"https://github.com/yosukenn","followers_url":"https://api.github.com/users/yosukenn/followers","following_url":"https://api.github.com/users/yosukenn/following{/other_user}","gists_url":"https://api.github.com/users/yosukenn/gists{/gist_id}","starred_url":"https://api.github.com/users/yosukenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosukenn/subscriptions","organizations_url":"https://api.github.com/users/yosukenn/orgs","repos_url":"https://api.github.com/users/yosukenn/repos","events_url":"https://api.github.com/users/yosukenn/events{/privacy}","received_events_url":"https://api.github.com/users/yosukenn/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T02:59:10Z","updated_at":"2018-08-10T02:59:10Z","author_association":"OWNER","body":"スクロールのgifです。\r\nよろしくお願いします。"}}
{"actor":{"display_login":"yosukenn"}}