I built a custom module with some API endpoints.
For some technical 3rd party requirements, I need to remove the /rest/V1/ from the URLs (only for my module routes).
e.g. - Instead of domain.com/rest/V1/my-endpoint, use domain.com/my-endpoint
Is there a standard way for doing that?
- I know that I can use controllers & routes instead, but I want to use the API.
- .htacces is also not a solution.