Skip to content

API namespacing #6462

@dralley

Description

@dralley

Is your feature request related to a problem? Please describe.

We want to support a v4 API in parallel with the existing v3 APIs to enable easier transition to Pulp 4.

I did a little experiment with this in main...dralley:pulpcore:v4-api and noticed (not that you need the experiment to notice) that all of the API slugs used internally by Django are unversioned / unnamespaced, and therefore all the various endpoints conflict if you set up a parallel v4 API.

We need to sort that out, otherwise we won't be able to have an independent v4 API. Additionally we have to figure out how to generate namespaces in the bindings.

Describe alternatives you've considered

There was a long debate about which approach to choose, this was mostly sorted and we decided this was definitely the best approach to avoiding disruption.

Additional context

https://hackmd.io/@ggainey/pulp4_proposal

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions