Bug 1017275 - use id to identify a task rather than task_id
use id to identify a task rather than task_id
Product: Pulp
Classification: Community
Component: API/integration (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: pulp-bugs
Depends On:
  Show dependency treegraph
Reported: 2013-10-09 10:33 EDT by mkovacik
Modified: 2013-10-09 12:11 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-10-09 12:11:49 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description mkovacik 2013-10-09 10:33:56 EDT
Description of problem:
Tasks are identified with task_id field while e.g. repos are OK with just id field for the same purpose

Version-Release number of selected component (if applicable):
pulp 2.2

Actual results:
task_id field is used to identify a task

Expected results:
id field is used to identify a task

Additional info:
An example of a response-containing task details in docs: https://pulp-dev-guide.readthedocs.org/en/pulp-2.2/integration/rest-api/repo/sync.html
Comment 1 Sayli Karmarkar 2013-10-09 12:11:49 EDT
This is by design, since we have multiple ids in a lot of APIs.

Note You need to log in before you can comment on or make changes to this bug.