Project

Profile

Help

Issue #4053

closed

Creating a publication does not seem to return the publication in the 'created_resources' field

Added by jsherril@redhat.com about 6 years ago. Updated almost 5 years ago.

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

Description

POST /pulp/api/v3/publishers/file/7/publish/

When publishing a publisher, the task returned looks like this:

{"_href":"/pulp/api/v3/tasks/8b0b7411-fa73-4ac3-8bfe-947cd4b33cce/","created":"2018-10-01T19:23:57+00:00","state":"completed","started_at":"2018-10-01T19:23:57+00:00","finished_at":"2018-10-01T19:23:58+00:00","non_fatal_errors":"[]","worker":"/pulp/api/v3/workers/5/","spawned_tasks":[],"progress_reports":[],"created_resources":[]}

Because of this, the user cannot get any reference to the publication they just created.

Also available in: Atom PDF