{"action":"created","issue":{"url":"https://api.github.com/repos/ocpi/ocpi/issues/178","repository_url":"https://api.github.com/repos/ocpi/ocpi","labels_url":"https://api.github.com/repos/ocpi/ocpi/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/ocpi/ocpi/issues/178/comments","events_url":"https://api.github.com/repos/ocpi/ocpi/issues/178/events","html_url":"https://github.com/ocpi/ocpi/pull/178","id":343933669,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNDQ2MzEy","number":178,"title":"Command POST request and response should be CommandResponse type","user":{"login":"davidespihernandez","id":2665033,"node_id":"MDQ6VXNlcjI2NjUwMzM=","avatar_url":"https://avatars1.githubusercontent.com/u/2665033?v=4","gravatar_id":"","url":"https://api.github.com/users/davidespihernandez","html_url":"https://github.com/davidespihernandez","followers_url":"https://api.github.com/users/davidespihernandez/followers","following_url":"https://api.github.com/users/davidespihernandez/following{/other_user}","gists_url":"https://api.github.com/users/davidespihernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/davidespihernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidespihernandez/subscriptions","organizations_url":"https://api.github.com/users/davidespihernandez/orgs","repos_url":"https://api.github.com/users/davidespihernandez/repos","events_url":"https://api.github.com/users/davidespihernandez/events{/privacy}","received_events_url":"https://api.github.com/users/davidespihernandez/received_events","type":"User","site_admin":false},"labels":[{"id":354742587,"node_id":"MDU6TGFiZWwzNTQ3NDI1ODc=","url":"https://api.github.com/repos/ocpi/ocpi/labels/2.2","name":"2.2","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-24T08:23:16Z","updated_at":"2018-08-02T10:47:21Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ocpi/ocpi/pulls/178","html_url":"https://github.com/ocpi/ocpi/pull/178","diff_url":"https://github.com/ocpi/ocpi/pull/178.diff","patch_url":"https://github.com/ocpi/ocpi/pull/178.patch"},"body":"I think there's an error on the current request body and response body for the POST, which should be of type CommandResponse (an object like `{\"result\": \"ACCEPTED\"}` instead of type CommandResponseType, which is a simple string."},"comment":{"url":"https://api.github.com/repos/ocpi/ocpi/issues/comments/409885918","html_url":"https://github.com/ocpi/ocpi/pull/178#issuecomment-409885918","issue_url":"https://api.github.com/repos/ocpi/ocpi/issues/178","id":409885918,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTg4NTkxOA==","user":{"login":"poohsen","id":4363005,"node_id":"MDQ6VXNlcjQzNjMwMDU=","avatar_url":"https://avatars3.githubusercontent.com/u/4363005?v=4","gravatar_id":"","url":"https://api.github.com/users/poohsen","html_url":"https://github.com/poohsen","followers_url":"https://api.github.com/users/poohsen/followers","following_url":"https://api.github.com/users/poohsen/following{/other_user}","gists_url":"https://api.github.com/users/poohsen/gists{/gist_id}","starred_url":"https://api.github.com/users/poohsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poohsen/subscriptions","organizations_url":"https://api.github.com/users/poohsen/orgs","repos_url":"https://api.github.com/users/poohsen/repos","events_url":"https://api.github.com/users/poohsen/events{/privacy}","received_events_url":"https://api.github.com/users/poohsen/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T10:47:21Z","updated_at":"2018-08-02T10:47:21Z","author_association":"CONTRIBUTOR","body":"Hi @davidespihernandez \r\nit's an inconsistency that we have come across as well. It's something we should fix in version 2.2"}}
{"actor":{"display_login":"poohsen"}}