{"action":"created","issue":{"url":"https://api.github.com/repos/CanalTP/navitia/issues/1546","repository_url":"https://api.github.com/repos/CanalTP/navitia","labels_url":"https://api.github.com/repos/CanalTP/navitia/issues/1546/labels{/name}","comments_url":"https://api.github.com/repos/CanalTP/navitia/issues/1546/comments","events_url":"https://api.github.com/repos/CanalTP/navitia/issues/1546/events","html_url":"https://github.com/CanalTP/navitia/pull/1546","id":149718350,"number":1546,"title":"[TYR] update login (User model)","user":{"login":"lrocheWB","id":10560073,"avatar_url":"https://avatars.githubusercontent.com/u/10560073?v=3","gravatar_id":"","url":"https://api.github.com/users/lrocheWB","html_url":"https://github.com/lrocheWB","followers_url":"https://api.github.com/users/lrocheWB/followers","following_url":"https://api.github.com/users/lrocheWB/following{/other_user}","gists_url":"https://api.github.com/users/lrocheWB/gists{/gist_id}","starred_url":"https://api.github.com/users/lrocheWB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrocheWB/subscriptions","organizations_url":"https://api.github.com/users/lrocheWB/orgs","repos_url":"https://api.github.com/users/lrocheWB/repos","events_url":"https://api.github.com/users/lrocheWB/events{/privacy}","received_events_url":"https://api.github.com/users/lrocheWB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-20T09:49:46Z","updated_at":"2016-04-20T12:40:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CanalTP/navitia/pulls/1546","html_url":"https://github.com/CanalTP/navitia/pull/1546","diff_url":"https://github.com/CanalTP/navitia/pull/1546.diff","patch_url":"https://github.com/CanalTP/navitia/pull/1546.patch"},"body":"See with @kinnou02, we can change user login, as:\r\n- [PUT] v0/users/<ID>?login=newValue"},"comment":{"url":"https://api.github.com/repos/CanalTP/navitia/issues/comments/212407705","html_url":"https://github.com/CanalTP/navitia/pull/1546#issuecomment-212407705","issue_url":"https://api.github.com/repos/CanalTP/navitia/issues/1546","id":212407705,"user":{"login":"alcalyn","id":1588144,"avatar_url":"https://avatars.githubusercontent.com/u/1588144?v=3","gravatar_id":"","url":"https://api.github.com/users/alcalyn","html_url":"https://github.com/alcalyn","followers_url":"https://api.github.com/users/alcalyn/followers","following_url":"https://api.github.com/users/alcalyn/following{/other_user}","gists_url":"https://api.github.com/users/alcalyn/gists{/gist_id}","starred_url":"https://api.github.com/users/alcalyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcalyn/subscriptions","organizations_url":"https://api.github.com/users/alcalyn/orgs","repos_url":"https://api.github.com/users/alcalyn/repos","events_url":"https://api.github.com/users/alcalyn/events{/privacy}","received_events_url":"https://api.github.com/users/alcalyn/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T12:40:26Z","updated_at":"2016-04-20T12:40:26Z","body":"PATCH should be most pertinent\r\nPUT: http://restcookbook.com/HTTP%20Methods/put-vs-post/,\r\nPATCH: http://restcookbook.com/HTTP%20Methods/patch/"}}