{"action":"created","issue":{"url":"https://api.github.com/repos/tananaev/traccar-web/issues/614","repository_url":"https://api.github.com/repos/tananaev/traccar-web","labels_url":"https://api.github.com/repos/tananaev/traccar-web/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/tananaev/traccar-web/issues/614/comments","events_url":"https://api.github.com/repos/tananaev/traccar-web/issues/614/events","html_url":"https://github.com/tananaev/traccar-web/issues/614","id":269935746,"number":614,"title":"REST API works partly (w/o sessions)","user":{"login":"philomatic","id":1078945,"avatar_url":"https://avatars2.githubusercontent.com/u/1078945?v=4","gravatar_id":"","url":"https://api.github.com/users/philomatic","html_url":"https://github.com/philomatic","followers_url":"https://api.github.com/users/philomatic/followers","following_url":"https://api.github.com/users/philomatic/following{/other_user}","gists_url":"https://api.github.com/users/philomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/philomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philomatic/subscriptions","organizations_url":"https://api.github.com/users/philomatic/orgs","repos_url":"https://api.github.com/users/philomatic/repos","events_url":"https://api.github.com/users/philomatic/events{/privacy}","received_events_url":"https://api.github.com/users/philomatic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-31T12:12:04Z","updated_at":"2017-10-31T12:25:53Z","closed_at":"2017-10-31T12:25:53Z","author_association":"NONE","body":"Thanks for the great work of traccar!\r\n\r\nFor the REST API, I assume that everything should also work w/o session initiation (as REST'ly)?\r\nIn my installation (3.14-SNAPSHOT Docker) I have the current behavior:\r\n\r\nGET calls to /api/devices, /api/groups, /api/server and so on are working nicely with basic http authentication.\r\n\r\nBut GET calls (haven't tried POST/PUT yet) to /api/commands are always returning:\r\n\r\n`HTTP 404 Not Found - NotFoundException (...)`\r\nor\r\n`HTTP 405 Method Not Allowed - NotAllowedException (...)`\r\n\r\nWhy this? Am I assuming correct that this should not require sessions?\r\nFurthermore, trying to open a sessions by POST via swagger ui I get:\r\n\r\n`\"token\": null,`\r\n\r\nIs this intended?"},"comment":{"url":"https://api.github.com/repos/tananaev/traccar-web/issues/comments/340746673","html_url":"https://github.com/tananaev/traccar-web/issues/614#issuecomment-340746673","issue_url":"https://api.github.com/repos/tananaev/traccar-web/issues/614","id":340746673,"user":{"login":"philomatic","id":1078945,"avatar_url":"https://avatars2.githubusercontent.com/u/1078945?v=4","gravatar_id":"","url":"https://api.github.com/users/philomatic","html_url":"https://github.com/philomatic","followers_url":"https://api.github.com/users/philomatic/followers","following_url":"https://api.github.com/users/philomatic/following{/other_user}","gists_url":"https://api.github.com/users/philomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/philomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philomatic/subscriptions","organizations_url":"https://api.github.com/users/philomatic/orgs","repos_url":"https://api.github.com/users/philomatic/repos","events_url":"https://api.github.com/users/philomatic/events{/privacy}","received_events_url":"https://api.github.com/users/philomatic/received_events","type":"User","site_admin":false},"created_at":"2017-10-31T12:25:53Z","updated_at":"2017-10-31T12:25:53Z","author_association":"NONE","body":"Sorry, accidentally posted this issue to traccar-web. Reposted at tananaev/traccar."}}
{"actor":{"display_login":"philomatic"}}