{"action":"opened","issue":{"url":"https://api.github.com/repos/Yadoms/yadoms/issues/136","repository_url":"https://api.github.com/repos/Yadoms/yadoms","labels_url":"https://api.github.com/repos/Yadoms/yadoms/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/Yadoms/yadoms/issues/136/comments","events_url":"https://api.github.com/repos/Yadoms/yadoms/issues/136/events","html_url":"https://github.com/Yadoms/yadoms/issues/136","id":166534814,"number":136,"title":"JSON : empty collection","user":{"login":"jano42","id":3135683,"avatar_url":"https://avatars.githubusercontent.com/u/3135683?v=3","gravatar_id":"","url":"https://api.github.com/users/jano42","html_url":"https://github.com/jano42","followers_url":"https://api.github.com/users/jano42/followers","following_url":"https://api.github.com/users/jano42/following{/other_user}","gists_url":"https://api.github.com/users/jano42/gists{/gist_id}","starred_url":"https://api.github.com/users/jano42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jano42/subscriptions","organizations_url":"https://api.github.com/users/jano42/orgs","repos_url":"https://api.github.com/users/jano42/repos","events_url":"https://api.github.com/users/jano42/events{/privacy}","received_events_url":"https://api.github.com/users/jano42/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yadoms/yadoms/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-20T09:12:13Z","updated_at":"2016-07-20T09:12:13Z","closed_at":null,"body":"When the REST server should answer with an empty collection; it provides a bad format\r\n\r\n#### Example : listing recipients, if no recipient exists in database\r\n\r\nGET : \"/rest/recipient\"\r\n\r\nResults:\r\n\r\n`````json\r\n{\r\n   \"result\": \"true\",\r\n   \"message\": \"\",\r\n   \"data\": {\r\n      \"recipient\": \"\"\r\n   }\r\n}\r\n`````\r\n\r\nThe recipient value is empty string **\"\"** and should be **[ ]**\r\n\r\n"}}
{"actor":{"display_login":"jano42"}}