I remember something similar that was an issue when using Ceph RadosGW for Swift API
when interaction through Horizon. This was solved directly in python-swiftclient which
Horizon was using [1], perhaps not any help but I just recalled it when reading this.

[1] https://review.opendev.org/c/openstack/python-swiftclient/+/722395

On 4 Aug 2023, at 13:52, Christian Rohmann <christian.rohmann@inovex.de> wrote:

On 04/08/2023 11:59, Artem Goncharov wrote:
Precisely. I always strongly disliked cases where REST methods are exposed under non service catalog provided base. This is an ugly grave full of corpses.
Idea with regex sounds like a least bad for me. Eventually finding /v1 and getting one level above.

You mean using the path up until "v1" or "v[1-9]+"?
But is v1 (or any version) always part of the endpoint url so it's possible to use this as a definitive delimiter?


In any case, could you then craft a patch for this one?
Regards and thanks again,


Christian