{"action":"created","issue":{"url":"https://api.github.com/repos/NAKKA-K/bookbok/issues/48","repository_url":"https://api.github.com/repos/NAKKA-K/bookbok","labels_url":"https://api.github.com/repos/NAKKA-K/bookbok/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/NAKKA-K/bookbok/issues/48/comments","events_url":"https://api.github.com/repos/NAKKA-K/bookbok/issues/48/events","html_url":"https://github.com/NAKKA-K/bookbok/pull/48","id":379710977,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwMDg0MTgz","number":48,"title":"Add mock server document","user":{"login":"NAKKA-K","id":22770924,"node_id":"MDQ6VXNlcjIyNzcwOTI0","avatar_url":"https://avatars2.githubusercontent.com/u/22770924?v=4","gravatar_id":"","url":"https://api.github.com/users/NAKKA-K","html_url":"https://github.com/NAKKA-K","followers_url":"https://api.github.com/users/NAKKA-K/followers","following_url":"https://api.github.com/users/NAKKA-K/following{/other_user}","gists_url":"https://api.github.com/users/NAKKA-K/gists{/gist_id}","starred_url":"https://api.github.com/users/NAKKA-K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NAKKA-K/subscriptions","organizations_url":"https://api.github.com/users/NAKKA-K/orgs","repos_url":"https://api.github.com/users/NAKKA-K/repos","events_url":"https://api.github.com/users/NAKKA-K/events{/privacy}","received_events_url":"https://api.github.com/users/NAKKA-K/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"NAKKA-K","id":22770924,"node_id":"MDQ6VXNlcjIyNzcwOTI0","avatar_url":"https://avatars2.githubusercontent.com/u/22770924?v=4","gravatar_id":"","url":"https://api.github.com/users/NAKKA-K","html_url":"https://github.com/NAKKA-K","followers_url":"https://api.github.com/users/NAKKA-K/followers","following_url":"https://api.github.com/users/NAKKA-K/following{/other_user}","gists_url":"https://api.github.com/users/NAKKA-K/gists{/gist_id}","starred_url":"https://api.github.com/users/NAKKA-K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NAKKA-K/subscriptions","organizations_url":"https://api.github.com/users/NAKKA-K/orgs","repos_url":"https://api.github.com/users/NAKKA-K/repos","events_url":"https://api.github.com/users/NAKKA-K/events{/privacy}","received_events_url":"https://api.github.com/users/NAKKA-K/received_events","type":"User","site_admin":false},"assignees":[{"login":"NAKKA-K","id":22770924,"node_id":"MDQ6VXNlcjIyNzcwOTI0","avatar_url":"https://avatars2.githubusercontent.com/u/22770924?v=4","gravatar_id":"","url":"https://api.github.com/users/NAKKA-K","html_url":"https://github.com/NAKKA-K","followers_url":"https://api.github.com/users/NAKKA-K/followers","following_url":"https://api.github.com/users/NAKKA-K/following{/other_user}","gists_url":"https://api.github.com/users/NAKKA-K/gists{/gist_id}","starred_url":"https://api.github.com/users/NAKKA-K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NAKKA-K/subscriptions","organizations_url":"https://api.github.com/users/NAKKA-K/orgs","repos_url":"https://api.github.com/users/NAKKA-K/repos","events_url":"https://api.github.com/users/NAKKA-K/events{/privacy}","received_events_url":"https://api.github.com/users/NAKKA-K/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-11-12T10:25:59Z","updated_at":"2018-11-13T01:25:57Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/NAKKA-K/bookbok/pulls/48","html_url":"https://github.com/NAKKA-K/bookbok/pull/48","diff_url":"https://github.com/NAKKA-K/bookbok/pull/48.diff","patch_url":"https://github.com/NAKKA-K/bookbok/pull/48.patch"},"body":"connect to #47\r\nclose #47\r\n\r\n# 概要\r\n\r\nSlackでちょこっと流れたモックサーバーの話をドキュメントとして作成"},"comment":{"url":"https://api.github.com/repos/NAKKA-K/bookbok/issues/comments/438094472","html_url":"https://github.com/NAKKA-K/bookbok/pull/48#issuecomment-438094472","issue_url":"https://api.github.com/repos/NAKKA-K/bookbok/issues/48","id":438094472,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODA5NDQ3Mg==","user":{"login":"NAKKA-K","id":22770924,"node_id":"MDQ6VXNlcjIyNzcwOTI0","avatar_url":"https://avatars2.githubusercontent.com/u/22770924?v=4","gravatar_id":"","url":"https://api.github.com/users/NAKKA-K","html_url":"https://github.com/NAKKA-K","followers_url":"https://api.github.com/users/NAKKA-K/followers","following_url":"https://api.github.com/users/NAKKA-K/following{/other_user}","gists_url":"https://api.github.com/users/NAKKA-K/gists{/gist_id}","starred_url":"https://api.github.com/users/NAKKA-K/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NAKKA-K/subscriptions","organizations_url":"https://api.github.com/users/NAKKA-K/orgs","repos_url":"https://api.github.com/users/NAKKA-K/repos","events_url":"https://api.github.com/users/NAKKA-K/events{/privacy}","received_events_url":"https://api.github.com/users/NAKKA-K/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T01:25:57Z","updated_at":"2018-11-13T01:25:57Z","author_association":"OWNER","body":"モックサーバーの説明\r\n\r\n> モックとは、実物とほぼ同様に似せて作られた模型のことである。 \r\n\r\n> APIの実装が追いついてなくてクライアント側が開発できない？\r\n開発初期段階の場合だとよくあることだと思います。\r\nAPIの設計自体は全体通して済ませてあることが前提として必要ですが\r\nレスポンスでどういうものが返ってくるか決まっているのであれば、APIのモックでダミーデータを返すことで、API実装が間に合っていなくともクライアントの開発を進めることができます。\r\nまた、クライアント側の開発によってAPI実装の修正が必要なときに、「このようなjsonのデータが欲しい」と伝えるのが簡単で分かりやすくなります。"}}
{"actor":{"display_login":"NAKKA-K"}}