Project

Profile

Help

Story #3061

closed

As a user, I can list all tasks without progress reports included

Added by dkliban@redhat.com about 7 years ago. Updated over 5 years ago.

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

0%

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

Description

A GET request to api/v3/tasks endpoint currently returns a list of all tasks with their progress reports included in the response. This can be too verbose.

The Task viewset needs to be broken up into two viewsets. One will handle GET requests to api/v3/tasks/. The other will handle GET requests for a specific Task api/v3/tasks/<task-id>/.

A new Task serializer needs to be added. This serializer should be associated with the ViewSet that handles listing Tasks. This serializer needs to omit the progress reports.


Related issues

Related to Pulp - Story #3546: As a user, when I list all tasks, then I see a minimal representation.CLOSED - CURRENTRELEASEdalley

Actions

Also available in: Atom PDF