{"action":"created","issue":{"url":"https://api.github.com/repos/dmikurube/embulk-base-restclient/issues/24","repository_url":"https://api.github.com/repos/dmikurube/embulk-base-restclient","labels_url":"https://api.github.com/repos/dmikurube/embulk-base-restclient/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/dmikurube/embulk-base-restclient/issues/24/comments","events_url":"https://api.github.com/repos/dmikurube/embulk-base-restclient/issues/24/events","html_url":"https://github.com/dmikurube/embulk-base-restclient/pull/24","id":203779203,"number":24,"title":"Build |ServiceResponseSchema| based on |Task|.","user":{"login":"dmikurube","id":723722,"avatar_url":"https://avatars.githubusercontent.com/u/723722?v=3","gravatar_id":"","url":"https://api.github.com/users/dmikurube","html_url":"https://github.com/dmikurube","followers_url":"https://api.github.com/users/dmikurube/followers","following_url":"https://api.github.com/users/dmikurube/following{/other_user}","gists_url":"https://api.github.com/users/dmikurube/gists{/gist_id}","starred_url":"https://api.github.com/users/dmikurube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmikurube/subscriptions","organizations_url":"https://api.github.com/users/dmikurube/orgs","repos_url":"https://api.github.com/users/dmikurube/repos","events_url":"https://api.github.com/users/dmikurube/events{/privacy}","received_events_url":"https://api.github.com/users/dmikurube/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-28T01:41:48Z","updated_at":"2017-01-30T22:56:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dmikurube/embulk-base-restclient/pulls/24","html_url":"https://github.com/dmikurube/embulk-base-restclient/pull/24","diff_url":"https://github.com/dmikurube/embulk-base-restclient/pull/24.diff","patch_url":"https://github.com/dmikurube/embulk-base-restclient/pull/24.patch"},"body":"For #19, `ServiceResponseSchema` is also to be generated through `Task`. It allows developers to use the library for multiple endpoints per `Task`/`Config` such as:\r\n\r\n```\r\nin:\r\n    type: example_rest_service\r\n    endpoint_type: users  # Accessing to api.example.com/users\r\n```\r\n\r\n```\r\nin:\r\n    type: some_rest_service\r\n    endpoint_type: items  # Accessing to api.example.com/items which has a different JSON format\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dmikurube/embulk-base-restclient/issues/comments/276219023","html_url":"https://github.com/dmikurube/embulk-base-restclient/pull/24#issuecomment-276219023","issue_url":"https://api.github.com/repos/dmikurube/embulk-base-restclient/issues/24","id":276219023,"user":{"login":"muga","id":127959,"avatar_url":"https://avatars.githubusercontent.com/u/127959?v=3","gravatar_id":"","url":"https://api.github.com/users/muga","html_url":"https://github.com/muga","followers_url":"https://api.github.com/users/muga/followers","following_url":"https://api.github.com/users/muga/following{/other_user}","gists_url":"https://api.github.com/users/muga/gists{/gist_id}","starred_url":"https://api.github.com/users/muga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muga/subscriptions","organizations_url":"https://api.github.com/users/muga/orgs","repos_url":"https://api.github.com/users/muga/repos","events_url":"https://api.github.com/users/muga/events{/privacy}","received_events_url":"https://api.github.com/users/muga/received_events","type":"User","site_admin":false},"created_at":"2017-01-30T22:56:44Z","updated_at":"2017-01-30T22:56:44Z","body":"LGTM 👍  (sorry for the delay)"}}
{"actor":{"display_login":"muga"}}