Project

Profile

Help

Issue #6196

closed

Package list on modulemd endpoint should have hrefs instead of UUIDs

Added by sajha almost 5 years ago. Updated over 4 years ago.

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

Description

Today the package list from the modulemd endpoint looks like:

{
    "arch": "noarch", 
    "artifact": "/pulp/api/v3/artifacts/4afb1dd9-b801-4b81-b18a-10050fd03d21/", 
    "artifacts": "[\"pteradactyl-0:4.1-1.noarch\"]", 
    "context": "deadbeef", 
    "dependencies": "{}", 
    "name": "pteradactyl", 
    "packages": [
        "b8046dd7-4a4f-4345-a401-bf7645a9fee4"
    ], 
    "pulp_created": "2020-02-19T17:14:43.145644Z", 
    "pulp_href": "/pulp/api/v3/content/rpm/modulemds/e888df59-6220-4a68-9648-3f863808c5dc/", 
    "stream": "4", 
    "version": "20180740444408"
}

It would make sense to return hrefs for the packages instead of the UUIDs.

Also available in: Atom PDF