Project

Profile

Help

Issue #3978

Operation postponed response contains too much information

Added by dkliban@redhat.com about 1 year ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

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/" 
}

History

#1 Updated by CodeHeeler about 1 year ago

  • Triaged changed from No to Yes

#2 Updated by vdusek about 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to vdusek

#3 Updated by vdusek about 1 year ago

  • Status changed from ASSIGNED to POST

#4 Updated by vdusek about 1 year ago

  • Status changed from POST to MODIFIED

#5 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#6 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)

Please register to edit this issue

Also available in: Atom PDF