Cannot adapt BaseUrl when serving Content at a custom URL using a custom aiohttp handler
Assume that A plugin writer is adding custom routes to serve their content. They likely require this because they need more control when serving an Artifact, e.g. response headers. When their Distribution serializes the base_path it will serve all Pulp content at /pulp/content/. This is correct for most Content, but not for this type which serves it at a custom route in the content app, e.g. /mycustomurl/.
The Distributor Serializer/Viewset is also not part of the plugin API which prevents the reuse of that serializer/viewset.
This was originally identified by @gmbnomis in this comment
Make the Serializer and Viewset part of the plugin API
The DockerDistributionSerializer is here for examaple: https://github.com/pulp/pulp_docker/blob/master/pulp_docker/app/serializers.py#L199
Please register to edit this issue