{"action":"created","issue":{"url":"https://api.github.com/repos/fguillot/kanboard/issues/461","labels_url":"https://api.github.com/repos/fguillot/kanboard/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/fguillot/kanboard/issues/461/comments","events_url":"https://api.github.com/repos/fguillot/kanboard/issues/461/events","html_url":"https://github.com/fguillot/kanboard/issues/461","id":51547653,"number":461,"title":"[API] result getMembers","user":{"login":"BlueTeck","id":1961634,"avatar_url":"https://avatars.githubusercontent.com/u/1961634?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueTeck","html_url":"https://github.com/BlueTeck","followers_url":"https://api.github.com/users/BlueTeck/followers","following_url":"https://api.github.com/users/BlueTeck/following{/other_user}","gists_url":"https://api.github.com/users/BlueTeck/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueTeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueTeck/subscriptions","organizations_url":"https://api.github.com/users/BlueTeck/orgs","repos_url":"https://api.github.com/users/BlueTeck/repos","events_url":"https://api.github.com/users/BlueTeck/events{/privacy}","received_events_url":"https://api.github.com/users/BlueTeck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fguillot/kanboard/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-10T11:30:14Z","updated_at":"2015-01-05T00:00:55Z","closed_at":null,"body":"I think the result of the call getMembers is not the best.\r\n\r\n-> Result on success: Key/value pair of user_id and username\r\n\r\n```json\r\n{\r\n    \"jsonrpc\": \"2.0\",\r\n    \"id\": 1944388643,\r\n    \"result\": {\r\n        \"1\": \"user1\",\r\n        \"2\": \"user2\",\r\n        \"3\": \"user3\"\r\n    }\r\n}\r\n```\r\nin my opinion this would be better:\r\n\r\n```json\r\n{\r\n    \"jsonrpc\": \"2.0\",\r\n    \"id\": 1944388643,\r\n    \"result\": [{\r\n        \"id\": \"1\",\r\n        \"name\": \"user1\"\r\n        },\r\n        {\r\n        \"id\": \"2\",\r\n        \"name\": \"user2\"\r\n        }\r\n}\r\n```\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/fguillot/kanboard/issues/comments/68655873","html_url":"https://github.com/fguillot/kanboard/issues/461#issuecomment-68655873","issue_url":"https://api.github.com/repos/fguillot/kanboard/issues/461","id":68655873,"user":{"login":"fguillot","id":323546,"avatar_url":"https://avatars.githubusercontent.com/u/323546?v=3","gravatar_id":"","url":"https://api.github.com/users/fguillot","html_url":"https://github.com/fguillot","followers_url":"https://api.github.com/users/fguillot/followers","following_url":"https://api.github.com/users/fguillot/following{/other_user}","gists_url":"https://api.github.com/users/fguillot/gists{/gist_id}","starred_url":"https://api.github.com/users/fguillot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fguillot/subscriptions","organizations_url":"https://api.github.com/users/fguillot/orgs","repos_url":"https://api.github.com/users/fguillot/repos","events_url":"https://api.github.com/users/fguillot/events{/privacy}","received_events_url":"https://api.github.com/users/fguillot/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T00:00:55Z","updated_at":"2015-01-05T00:00:55Z","body":"Why?"}}