{"action":"created","issue":{"url":"https://api.github.com/repos/cozy/cozy-proxy/issues/193","labels_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/193/comments","events_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/193/events","html_url":"https://github.com/cozy/cozy-proxy/pull/193","id":111590436,"number":193,"title":"Use http code 204, better for a deleted content","user":{"login":"nono","id":2767,"avatar_url":"https://avatars.githubusercontent.com/u/2767?v=3","gravatar_id":"","url":"https://api.github.com/users/nono","html_url":"https://github.com/nono","followers_url":"https://api.github.com/users/nono/followers","following_url":"https://api.github.com/users/nono/following{/other_user}","gists_url":"https://api.github.com/users/nono/gists{/gist_id}","starred_url":"https://api.github.com/users/nono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nono/subscriptions","organizations_url":"https://api.github.com/users/nono/orgs","repos_url":"https://api.github.com/users/nono/repos","events_url":"https://api.github.com/users/nono/events{/privacy}","received_events_url":"https://api.github.com/users/nono/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-15T10:42:53Z","updated_at":"2015-10-15T11:11:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cozy/cozy-proxy/pulls/193","html_url":"https://github.com/cozy/cozy-proxy/pull/193","diff_url":"https://github.com/cozy/cozy-proxy/pull/193.diff","patch_url":"https://github.com/cozy/cozy-proxy/pull/193.patch"},"body":"Hi,\r\n\r\nI think it should be better to send a 204 No Content when a device is deleted. It matches more elegantly the HTTP semantics and it avoids to send `OK`, which is a not valid JSON payload.\r\n\r\n![204 No Content](http://httpstatusdogs.com/wp-content/uploads/2011/12/2041.jpg)"},"comment":{"url":"https://api.github.com/repos/cozy/cozy-proxy/issues/comments/148354742","html_url":"https://github.com/cozy/cozy-proxy/pull/193#issuecomment-148354742","issue_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/193","id":148354742,"user":{"login":"nono","id":2767,"avatar_url":"https://avatars.githubusercontent.com/u/2767?v=3","gravatar_id":"","url":"https://api.github.com/users/nono","html_url":"https://github.com/nono","followers_url":"https://api.github.com/users/nono/followers","following_url":"https://api.github.com/users/nono/following{/other_user}","gists_url":"https://api.github.com/users/nono/gists{/gist_id}","starred_url":"https://api.github.com/users/nono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nono/subscriptions","organizations_url":"https://api.github.com/users/nono/orgs","repos_url":"https://api.github.com/users/nono/repos","events_url":"https://api.github.com/users/nono/events{/privacy}","received_events_url":"https://api.github.com/users/nono/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T11:11:30Z","updated_at":"2015-10-15T11:11:30Z","body":"@frankrousseau but, it's the PR!"}}