Project

Profile

Help

Issue #9051

closed

Issue #9049: API V3 Refactor

Issue #9050: Implement new V3 endpoints

Implement collection version search endpoint

Added by newswangerd over 2 years ago. Updated over 2 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/739":https://github.com/pulp/pulp_ansible/issues/739


API Spec

This API allows searching all collection versions in hub across all repositories. It would replace the current functionality _ui/v1/repo/{base_path} and _ui/v1/collection-versions endpoints by providing a flag to return all collection versions or just the latest version in each collection.

This endpoint addresses a couple of important problems in galaxy_ng.

  • Repository discovery: provides a mechnisim to find what repositories a collection is in
  • Content discovery: provides a way to search which collections have a specific piece of content (such as a role or a module)
  • UX Issues: right now, all collection views in the UI have to be scoped to a single repository and it’s an awful user experience.

The following related fields can be included:

  • namespace: includes summary of the namespace the version is in
  • metadata: includes the collection version metadata
  • distributions: includes a list of the distributions that content is in.

By default this endpoint will only search content that are in distributions that are labelled with content=public. Other sets of distributions can be queried using ?distribution_labels=<label> and a specific repository can be selected using ?distribution=<base_path>

Actions #1

Updated by pulpbot over 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF