Project

Profile

Help

Issue #3978

closed

Operation postponed response contains too much information

Added by dkliban@redhat.com over 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
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:
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 #1

Updated by CodeHeeler over 6 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by vdusek about 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to vdusek
Actions #3

Updated by vdusek about 6 years ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by vdusek about 6 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #6

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)
Actions #7

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF