[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-18 Thread Jasper Boonstra (via Magnolia Forums)
I reinstalled Magnolia, hoping that did the trick. I have the same issues, though. superuser has the "GET&POST" for swagger, so that can't be it either. Truly a msytery issue. Here is the full backlog, hope it helps: INFO info.magnolia.init.MagnoliaServletContextListener 18.07.2017 10:59:52

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-17 Thread Christoph Meier (via Magnolia Forums)
Make sure you understand all tabs of a role how it is defined. (maybe i should improve the docs concerning this point.) You may want to screen-shot all the tabs of your rest role and send me links to this screen-shots. E.g. the role "demo-rest-role" as described here => https://goo.gl/GdYafb wou

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-17 Thread Jasper Boonstra (via Magnolia Forums)
All other ACLs are empty. As for my setup: I'm working on windows via Netbeans as IDE. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=8505230d-4db2-4e3b-a4e0-2ae479290f9a For list details, see

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-17 Thread Jasper Boonstra (via Magnolia Forums)
My account has the rest role, which under the Access Control Lists->userroles has read-only, selected, /rest. So it seems it should have access to view the rest tools, right? -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=8505230d-4db2-4e3b-a4e0-2ae479290f9a

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-17 Thread Christoph Meier (via Magnolia Forums)
As Tomáš already mentioned. Make sure you avoid the "double slash" (see your URL above). Plus: Check your security settings! Make sure, that the user, which you are using, is granted access to /.rest/swagger* Check https://goo.gl/GdYafb and or https://goo.gl/a3nz5d and maybe https://goo.gl/y5v

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-17 Thread Jasper Boonstra (via Magnolia Forums)
Yes, I made these changes before I posted my question, but I still get the error shown above. Good to check tho -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=8505230d-4db2-4e3b-a4e0-2ae479290f9a -

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-17 Thread Christoph Meier (via Magnolia Forums)
Caesar I don't know your setup. ¯\_(ツ)_/¯ But if you have a locally installed bundle from of our downloads, typically the apiBasepath is indeed http://localhost:8080/magnoliaAuthor/.rest . Check the URL you are using to access the admin UI. If it is localhost:8080/magnoliaAuthor/ ... yep, then

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-17 Thread Jasper Boonstra (via Magnolia Forums)
My apiBasepath is http://localhost:8080/magnoliaAuthor/.rest This is correct, right? -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=8505230d-4db2-4e3b-a4e0-2ae479290f9a For list details, see h

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-17 Thread Christoph Meier (via Magnolia Forums)
Caesar Also make sure that the property [i]/modules/rest-tools/config/apiBasepath[/i] is set correct. Its value must be [i]://://.rest[/i] Here is a section of a new doc page dealing with REST which explains what to take care for if you want use the swagger tools: => https://documentation.magno

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-17 Thread Jasper Boonstra (via Magnolia Forums)
Does "magnoliaAuthor" need to be a username? Or is that literally what has to be noted down? -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=8505230d-4db2-4e3b-a4e0-2ae479290f9a For list detail

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-17 Thread Jasper Boonstra (via Magnolia Forums)
Thanks for the help tgregovsky, this did not solve the problem yet. I get the same error message: Can't read swagger JSON from http://localhost:8080/.rest/swagger.json -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=8505230d-4db2-4e3b-a4e0-2ae479290f9a

[magnolia-user] Re: REST module: Can't read swagger JSON

2017-07-14 Thread via Magnolia Forums
In message "Can't read swagger JSON from http://localhost:8080/magnoliaAuthor/.rest//swagger.json"; you may notice two slashes "//" before swagger.json... my bet that this is the issue, try to fix in config and restart Magnolia before opening Rest tools app again. Tomas -- Context is everythi