{"action":"created","issue":{"url":"https://api.github.com/repos/alexus37/NoriV2Webinterface/issues/14","labels_url":"https://api.github.com/repos/alexus37/NoriV2Webinterface/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/alexus37/NoriV2Webinterface/issues/14/comments","events_url":"https://api.github.com/repos/alexus37/NoriV2Webinterface/issues/14/events","html_url":"https://github.com/alexus37/NoriV2Webinterface/issues/14","id":126717247,"number":14,"title":"Improve authenticate response","user":{"login":"alexus37","id":7422767,"avatar_url":"https://avatars.githubusercontent.com/u/7422767?v=3","gravatar_id":"","url":"https://api.github.com/users/alexus37","html_url":"https://github.com/alexus37","followers_url":"https://api.github.com/users/alexus37/followers","following_url":"https://api.github.com/users/alexus37/following{/other_user}","gists_url":"https://api.github.com/users/alexus37/gists{/gist_id}","starred_url":"https://api.github.com/users/alexus37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexus37/subscriptions","organizations_url":"https://api.github.com/users/alexus37/orgs","repos_url":"https://api.github.com/users/alexus37/repos","events_url":"https://api.github.com/users/alexus37/events{/privacy}","received_events_url":"https://api.github.com/users/alexus37/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"moritzschaefer","id":2714540,"avatar_url":"https://avatars.githubusercontent.com/u/2714540?v=3","gravatar_id":"","url":"https://api.github.com/users/moritzschaefer","html_url":"https://github.com/moritzschaefer","followers_url":"https://api.github.com/users/moritzschaefer/followers","following_url":"https://api.github.com/users/moritzschaefer/following{/other_user}","gists_url":"https://api.github.com/users/moritzschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/moritzschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moritzschaefer/subscriptions","organizations_url":"https://api.github.com/users/moritzschaefer/orgs","repos_url":"https://api.github.com/users/moritzschaefer/repos","events_url":"https://api.github.com/users/moritzschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/moritzschaefer/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-14T18:27:25Z","updated_at":"2016-01-15T02:22:08Z","closed_at":"2016-01-15T02:22:08Z","body":"Please update the authenticate response.\r\n`xml\r\n{                          \r\n    \"auth\": null,                                 \r\n    \"user\": {                                \r\n        \"url\": \"http://localhost:8000/users/1/\",                                                   \r\n        \"username\": \"ax\",                                \r\n        \"email\": \"ax@ax.de\",                                \r\n        \"user_scenes\": [                                \r\n            \"http://localhost:8000/scenes/1\",                                \r\n            \"http://localhost:8000/scenes/2\"                                \r\n        ],                                \r\n        \"password\":                                 \"pbkdf2_sha256$20000$dPN7TtH9lH5Y$xFuyCnTtJ65JcbwkeuF/Arcw00jp7gdn/08rBhwKux4=\"                                \r\n    }                                \r\n}      \r\n`\r\n1. Remove the password!!!\r\n2. user_scenes should have the scene title and the url, maybe something like:\r\n`xml\r\nuser_scenes\": {                                \r\n           \"firstScene\": \"http://localhost:8000/scenes/1\",                                \r\n           \"scdScene\":  \"http://localhost:8000/scenes/2\"                                \r\n        }                          \r\n`"},"comment":{"url":"https://api.github.com/repos/alexus37/NoriV2Webinterface/issues/comments/171849478","html_url":"https://github.com/alexus37/NoriV2Webinterface/issues/14#issuecomment-171849478","issue_url":"https://api.github.com/repos/alexus37/NoriV2Webinterface/issues/14","id":171849478,"user":{"login":"moritzschaefer","id":2714540,"avatar_url":"https://avatars.githubusercontent.com/u/2714540?v=3","gravatar_id":"","url":"https://api.github.com/users/moritzschaefer","html_url":"https://github.com/moritzschaefer","followers_url":"https://api.github.com/users/moritzschaefer/followers","following_url":"https://api.github.com/users/moritzschaefer/following{/other_user}","gists_url":"https://api.github.com/users/moritzschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/moritzschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moritzschaefer/subscriptions","organizations_url":"https://api.github.com/users/moritzschaefer/orgs","repos_url":"https://api.github.com/users/moritzschaefer/repos","events_url":"https://api.github.com/users/moritzschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/moritzschaefer/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T02:22:08Z","updated_at":"2016-01-15T02:22:08Z","body":"From Jabber Chat:\r\num die details aller szenen zu bekommen mach lieber noch einen AJAX request auf GET /scenes. Der Login sollte nicht alle szenen im detail zurück geben(good practice weil das return objekt des logins sonst zu groß wird und manchmal will man eventuell einfach nur den login ohne szenen herunterladen zu müssen.\r\n\r\nPasword fix: [develop b30efb5]\r\nTests for the other stuff: 6c0e148328705a0fc684e68914c9b36bf8e7e3cf, a1171fe11cf23de09d1c802faa59877864b046c7"}}