Skip to content

Conversation

dralley
Copy link
Contributor

@dralley dralley commented May 13, 2025

closes #6462

@dralley dralley force-pushed the api-v4-new branch 2 times, most recently from 0e10ec5 to 536f8e4 Compare May 13, 2025 19:23
@dralley dralley changed the title Create a parallel v4 API [PULP-501] Create a parallel v4 API May 13, 2025
@dralley dralley force-pushed the api-v4-new branch 2 times, most recently from 4df2122 to 1c02cd7 Compare May 14, 2025 03:57
@dralley
Copy link
Contributor Author

dralley commented May 14, 2025

TODO:

  • requesting v4 APIs doesn't seem to work for most of them, e.g. /v4/status/ works but /v4/tasks/ doesn't
  • reversing namespaced endpoint names is more complicated and probably broken in a number of locations
  • ensure that adding names to endpoints which previously did not have names specified does not break the bindings

@dralley dralley force-pushed the api-v4-new branch 3 times, most recently from df30c51 to 0c6d349 Compare August 6, 2025 05:22
Comment on lines +479 to +480
if "pulp_href" in representation:
representation.pop("pulp_href")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pop(..., None) would work too, and I would call it resilient, not hacky. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API namespacing
2 participants