{"action":"created","issue":{"url":"https://api.github.com/repos/tdiary/tdiary-core/issues/467","labels_url":"https://api.github.com/repos/tdiary/tdiary-core/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/tdiary/tdiary-core/issues/467/comments","events_url":"https://api.github.com/repos/tdiary/tdiary-core/issues/467/events","html_url":"https://github.com/tdiary/tdiary-core/pull/467","id":53138122,"number":467,"title":"[WIP] CGIなしで日記データにアクセスするためのインタフェース","user":{"login":"machu","id":9981,"avatar_url":"https://avatars.githubusercontent.com/u/9981?v=3","gravatar_id":"","url":"https://api.github.com/users/machu","html_url":"https://github.com/machu","followers_url":"https://api.github.com/users/machu/followers","following_url":"https://api.github.com/users/machu/following{/other_user}","gists_url":"https://api.github.com/users/machu/gists{/gist_id}","starred_url":"https://api.github.com/users/machu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machu/subscriptions","organizations_url":"https://api.github.com/users/machu/orgs","repos_url":"https://api.github.com/users/machu/repos","events_url":"https://api.github.com/users/machu/events{/privacy}","received_events_url":"https://api.github.com/users/machu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-30T19:01:28Z","updated_at":"2015-01-03T04:51:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tdiary/tdiary-core/pulls/467","html_url":"https://github.com/tdiary/tdiary-core/pull/467","diff_url":"https://github.com/tdiary/tdiary-core/pull/467.diff","patch_url":"https://github.com/tdiary/tdiary-core/pull/467.patch"},"body":"プラグインなどから日記データを取得するためのモデルを作成しています。\r\n\r\n(1) CGI.newをTDiary::Model::Diary側にまとめる\r\n(2) プラグインからCGI.newを撤去 (#15)\r\n(3) 内部構造を見直す\r\n\r\nという順番で整理できればと思います。"},"comment":{"url":"https://api.github.com/repos/tdiary/tdiary-core/issues/comments/68583449","html_url":"https://github.com/tdiary/tdiary-core/pull/467#issuecomment-68583449","issue_url":"https://api.github.com/repos/tdiary/tdiary-core/issues/467","id":68583449,"user":{"login":"machu","id":9981,"avatar_url":"https://avatars.githubusercontent.com/u/9981?v=3","gravatar_id":"","url":"https://api.github.com/users/machu","html_url":"https://github.com/machu","followers_url":"https://api.github.com/users/machu/followers","following_url":"https://api.github.com/users/machu/following{/other_user}","gists_url":"https://api.github.com/users/machu/gists{/gist_id}","starred_url":"https://api.github.com/users/machu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machu/subscriptions","organizations_url":"https://api.github.com/users/machu/orgs","repos_url":"https://api.github.com/users/machu/repos","events_url":"https://api.github.com/users/machu/events{/privacy}","received_events_url":"https://api.github.com/users/machu/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T04:51:10Z","updated_at":"2015-01-03T04:51:10Z","body":"あ、確かに必要ですね。今のままだとアクセス元の user_agent と referer がそのまま使われるようになっていました。"}}