Actions
Issue #7196
closedpulpcore.app.response.OperationPostponedResponse docstring is slightly wrong (no 'task' field in response)
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Easy Fix
Sprint:
Sprint 78
Quarter:
Description
The docstring is:
An HTTP response class for returning 202 and a spawned task.
This response object should be used by views that dispatch asynchronous tasks. The most common
use case is for sync and publish operations. When JSON is requested, the response will look
like the following::
{
"pulp_href": "https://example.com/pulp/api/v3/tasks/adlfk-bala-23k5l7-lslser",
"task_id": "adlfk-bala-23k5l7-lslser"
}
But the response is only the 'pulp_href':
{
"task": "/pulp/api/v3/tasks/3f40df5c-985e-4817-a605-4e5fabb6ff7d/"
}
Updated by fao89 over 4 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 78
Updated by lmjachky over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to lmjachky
Updated by pulpbot over 4 years ago
- Status changed from ASSIGNED to POST
Added by Lubos Mjachky over 4 years ago
Updated by Anonymous over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|5da4995dc0ea88e679487ce8934a6b95288d7251.
Added by Lubos Mjachky over 4 years ago
Revision 23cd1292 | View on GitHub
Fix the response's structure returned by OperationPostponedResponse
closes #7196
(cherry picked from commit 5da4995dc0ea88e679487ce8934a6b95288d7251)
Updated by pulpbot over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Fix the response's structure returned by OperationPostponedResponse
closes #7196