Actions
Issue #3978
closedOperation postponed response contains too much information
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
When a user performs a sync, repository_version creation, or a publish she is presented with a 202 response with the following schema:
{
"_href": "/pulp/api/v3/some-task-id/",
"task_id": "some-task-id"
}
The `task_id` is not necessary because users are supposed to use resource HREFs as identifiers. The `_href` field is not descriptive enough on it's own. A better response would look like
{
"task": "/pulp/api/v3/some-task-id/"
}
Actions
Required PR: https://github.com/PulpQE/pulp-smash/pull/1137
Required PR: https://github.com/PulpQE/pulp-smash/pull/1137
closes #3978 https://pulp.plan.io/issues/3978