{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/1515","repository_url":"https://api.github.com/repos/eclipse/smarthome","labels_url":"https://api.github.com/repos/eclipse/smarthome/issues/1515/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/1515/comments","events_url":"https://api.github.com/repos/eclipse/smarthome/issues/1515/events","html_url":"https://github.com/eclipse/smarthome/issues/1515","id":154852938,"number":1515,"title":"REST API ui missing /rest from uri","user":{"login":"xsnrg","id":1186921,"avatar_url":"https://avatars.githubusercontent.com/u/1186921?v=3","gravatar_id":"","url":"https://api.github.com/users/xsnrg","html_url":"https://github.com/xsnrg","followers_url":"https://api.github.com/users/xsnrg/followers","following_url":"https://api.github.com/users/xsnrg/following{/other_user}","gists_url":"https://api.github.com/users/xsnrg/gists{/gist_id}","starred_url":"https://api.github.com/users/xsnrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xsnrg/subscriptions","organizations_url":"https://api.github.com/users/xsnrg/orgs","repos_url":"https://api.github.com/users/xsnrg/repos","events_url":"https://api.github.com/users/xsnrg/events{/privacy}","received_events_url":"https://api.github.com/users/xsnrg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-14T13:08:27Z","updated_at":"2016-05-15T02:45:39Z","closed_at":"2016-05-15T02:45:39Z","body":"In the last few builds, the UI for the REST interface has been missing /rest from any of the \"try it\" samples.  This can be seen by going to any of the endpoints in a browser, and looking at the request.  If you execute using the button, you will get a 404.  \r\n\r\nThe REST API itself appears to be okay.  Hitting the proper URL manually works.\r\n\r\nAdditionally, if you do this test from localhost, you will only see /rest missing, and everything else appears normal.  If you hit the URL remotely however, the landing page has an error button at the bottom of the page that when expanded looks like the below, mentioning unable to open swagger.json.\r\n\r\n```\r\n{\r\n    \"schemaValidationMessages\": \r\n[\r\n        {\r\n            \"level\": \"error\",\r\n            \"message\": \"Can't read from file https://<hostname>:8443/rest/swagger.json\"\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\nDiscussion here:  https://community.openhab.org/t/rest-api-not-running/10618"},"comment":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/comments/219262992","html_url":"https://github.com/eclipse/smarthome/issues/1515#issuecomment-219262992","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/1515","id":219262992,"user":{"login":"xsnrg","id":1186921,"avatar_url":"https://avatars.githubusercontent.com/u/1186921?v=3","gravatar_id":"","url":"https://api.github.com/users/xsnrg","html_url":"https://github.com/xsnrg","followers_url":"https://api.github.com/users/xsnrg/followers","following_url":"https://api.github.com/users/xsnrg/following{/other_user}","gists_url":"https://api.github.com/users/xsnrg/gists{/gist_id}","starred_url":"https://api.github.com/users/xsnrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xsnrg/subscriptions","organizations_url":"https://api.github.com/users/xsnrg/orgs","repos_url":"https://api.github.com/users/xsnrg/repos","events_url":"https://api.github.com/users/xsnrg/events{/privacy}","received_events_url":"https://api.github.com/users/xsnrg/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T02:45:39Z","updated_at":"2016-05-15T02:45:39Z","body":"Looks much better, thanks!"}}