Skip to content

Can't access swagger on docker instance of MediaCMS #1469

@ramonecungcodes

Description

@ramonecungcodes

Describe the issue
I cannot access swagger when accessing my MedaCMS install as described in the docs: c27e3ca#diff-34d26967f6a7d3a9c643420a0069ba45ae2664e362a5f0b007926c81558343c5R19

I go to https://mediacms.mydomain.com/swagger and I get a 404 response with "you are lost!" text in the normal MediaCMS theme. I'm trying to troubleshoot an issue with the API where I'm GETting /media/{friendly_token}/ but getting the same 404/'you are lost!' message (I've verified the token is correct). It seems odd both of these actions are getting the 404 so I wonder if I'm doing something wrong. I can get other API endpoints to work but not this one and not the swagger UI. The title of the 404 page is '- error'.

The only changes I've made to MediaCMS are to the settings in the settings script.

Could something be setup incorrectly on my system or has something changed and I need to access swagger another way?

To Reproduce
Steps to reproduce the issue:

  1. Go to your instance url slash swagger
  2. Perform action try to load the page in a browser
  3. See error 404, 'you are lost!'

Expected behavior
I expect to see the swagger interface like seen at https://demo.mediacms.io/swagger/

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. Ubuntu Linux]
  • Installation method: [Docker install, or single server install]
  • Browser, if applicable

Additional context
I've tried being logged in and not logged in.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions