Bug 1017275 - use id to identify a task rather than task_id
Summary: use id to identify a task rather than task_id
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: API/integration
Version: 2.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-09 14:33 UTC by mkovacik
Modified: 2013-10-09 16:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-09 16:11:49 UTC
Embargoed:


Attachments (Terms of Use)

Description mkovacik 2013-10-09 14:33:56 UTC
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 16:11:49 UTC
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.