Project

Profile

Help

Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.

Issue #9220

closed

content_ansible_collection_versions_create endpoint requires a lot of fields from inside uploaded artifact

Added by sajha about 3 years ago. Updated about 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 103
Quarter:

Description

The https://docs.pulpproject.org/pulp_ansible/restapi.html#operation/upload_collection endpoint allows you to upload a Collection tarball. This operation results in an artifact which can then be used to create a new collection content.

However, the endpoint to do so https://docs.pulpproject.org/pulp_ansible/restapi.html#operation/content_ansible_collection_versions_create seems to have a lot of required fields which are presumably avaialble on the uploaded tarball itself. Is there a way to modify the flow so that associating an artifact from an uploaded collection tarball doesn't need to have all the other information passed.

I am assuming the flow would be to upload tarball, create a collection content using the artifact, add content created to a collection repository.

Also available in: Atom PDF