Project

Profile

Help

Issue #9040

Issue #9049: API V3 Refactor

Move existing API endpoints under /plugin/ansible.

Added by newswangerd 3 months ago. Updated 3 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
GalaxyNG
Sprint:
Quarter:

Description

Add the new v3/plugin/ansible endpoints. Old v3/ endpoints will be redirected as following:

  • {base_path}/v3/collections/* -> v3/plugin/ansible/collections/{base_path}/index/*
  • {base_path}/v3/artifacts/* -> v3/plugin/ansible/collections/{base_path}/artifacts/*
  • {base_path}/v3/imports/* -> v3/plugin/ansible/imports/*
  • {base_path}/v3/collections/all -> v3/plugin/ansible/collections/{base_path}/all-collections
  • {base_path}/v3/collection_versions/ -> v3/plugin/ansible/collections/{base_path}/all-versions

Example:

pulp_ansible/galaxy/published/api/v3/collections/newswangerd/collection_demo will redirect to pulp_ansible/galaxy/published/api/v3/plugin/ansible/collections/published/index/newswangerd/collection_demo

The old endpoints should all be marked as deprecated.

History

#1 Updated by newswangerd 3 months ago

  • Tags GalaxyNG added

#2 Updated by newswangerd 3 months ago

  • Subject changed from [API Refactor] Move existing API endpoints under /plugin/ansible. to Move existing API endpoints under /plugin/ansible.
  • Parent task set to #9049

Please register to edit this issue

Also available in: Atom PDF