Project

Profile

Help

Task #3185

closed

Add a field to Distribution serializer for fully constructed URL to consume content.

Added by jortel@redhat.com almost 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 31
Quarter:

Description

Add a base_url field to the Distribution serializer that contains the fully constructed base URL used to consume distributed content. It is not added to the model. The URL is constructed as: <host>/content/<base_path>/. This work was originally planned on #3102 but seemed hard to do and did not want to hold up that work getting merged.


Related issues

Has duplicate Pulp - Story #3677: As a plugin writer, I can easily obtain a distribution's base urlCLOSED - DUPLICATE

Actions

Also available in: Atom PDF