Project

Profile

Help

Issue #9040

closed

Issue #9049: API V3 Refactor

Move existing API endpoints under /plugin/ansible.

Added by newswangerd over 3 years ago. Updated about 3 years ago.

Status:
CLOSED - DUPLICATE
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

Ticket moved to GitHub: "pulp/pulp_ansible/728":https://github.com/pulp/pulp_ansible/issues/728


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.

Also available in: Atom PDF