Taurec 60 Posted May 28, 2016 Share Posted May 28, 2016 Hi, i try to get via swagger Ui the Http adr. from: Reports Get /Reports/Items/Download Para: ReportView: Reportdata DisplayType: Screen Limit: 5 I get no response from the UI. It is only the activity bar displayed. is the only with me? Or someone has the same problem? Can someone please the HTTP address for this query type (for testing) cu Taurec Link to comment Share on other sites More sharing options...
Taurec 60 Posted May 29, 2016 Author Share Posted May 29, 2016 Hi, is there really nobody there can check if the swagger ui working with the request of the report/ Get Reports/Item/download It would be really nice if someone could check and can give me the address. cu Taurec Link to comment Share on other sites More sharing options...
Luke 37008 Posted May 29, 2016 Share Posted May 29, 2016 swagger works it just takes a really long time to respond. Link to comment Share on other sites More sharing options...
Taurec 60 Posted May 29, 2016 Author Share Posted May 29, 2016 Hello Like, i'm not sure what you mean with really long time. I try it, after request, about one hour and nothing is happen. I'm not sure is is working on my pc. can you give me please a working http adress with the request only for checking. cu Taurec Link to comment Share on other sites More sharing options...
Untoten 295 Posted July 3, 2016 Share Posted July 3, 2016 swagger works it just takes a really long time to respond. Is this being worked on or is it accepted? I would like to make the reports more accessible to users. Link to comment Share on other sites More sharing options...
Luke 37008 Posted July 3, 2016 Share Posted July 3, 2016 Swagger is api documentation, not user readable reports unless they have software development skills. Link to comment Share on other sites More sharing options...
Luke 37008 Posted July 6, 2018 Share Posted July 6, 2018 @@Taurec Swagger params are finally back and better then ever: https://emby.media/community/index.php?/topic/60520-34127-swagger-params/ Enjoy. Link to comment Share on other sites More sharing options...
Taurec 60 Posted July 6, 2018 Author Share Posted July 6, 2018 @ Luke thats great. thx Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 2, 2018 Share Posted October 2, 2018 (edited) Small question, I use a reverse proxy, so I understand why I have an issue with detecting the right address, but I am looking for a workaround. In Swagger, it shows the right address https://emby.mydomain.com/openapi But in the server selection box, it shows http://emby.mydomain.com:8096/emby How can I fix it to show my correct domain? I could not figure out how to manually add the correct server address in this spot, since it dictates the testing of the api... Edited October 2, 2018 by Angelblue05 Link to comment Share on other sites More sharing options...
Luke 37008 Posted October 3, 2018 Share Posted October 3, 2018 What server selection box? Link to comment Share on other sites More sharing options...
Happy2Play 8242 Posted October 3, 2018 Share Posted October 3, 2018 (edited) Small question, I use a reverse proxy, so I understand why I have an issue with detecting the right address, but I am looking for a workaround. In Swagger, it shows the right address https://emby.mydomain.com/openapi But in the server selection box, it shows http://emby.mydomain.com:8096/emby How can I fix it to show my correct domain? I could not figure out how to manually add the correct server address in this spot, since it dictates the testing of the api... What server selection box? So you are saying these don't match each other? Edited October 3, 2018 by Happy2Play 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 3, 2018 Share Posted October 3, 2018 That is correct @@Happy2Play Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 3, 2018 Share Posted October 3, 2018 @@Luke Link to comment Share on other sites More sharing options...
Luke 37008 Posted October 3, 2018 Share Posted October 3, 2018 Oh, I'm not sure, @@softworkz Link to comment Share on other sites More sharing options...
softworkz 3326 Posted October 3, 2018 Share Posted October 3, 2018 It works like this: When you click on the API link on the server dashboard page, that link takes you to the swagger-ui This link includes another link back to your server's OpenApi description This is the link you will see in the header of the Swagger UI When you enter this link in the browser directly, you'll get a lot of json formatted text. This is the description of your server's API And this text includes the external addresses - as the server thinks it is This is where the dropdown is populated from There's no simple workaround for this on our side, and I don't think it is worth the effort to address this because that whole thing is meant to allow you to browse and test the API for development but it's not meant for general public use. If you really need this for some reason, you can download the api text from your server (http://localhost:8096/emby/openapi) Modify it's content (the part with the server address) and tell your reverse proxy to statically serve this modified file when it's queried from external 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 3, 2018 Share Posted October 3, 2018 Thanks so much! I switched the server address at the top to my local address and it works now for testing. I was getting tired of copy pasting and editing the url in browser so I can see the result Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now