Bug 1017828
| Summary: | Accessing /task_groups/<task.task_group_id>/<task.task_id>/ gives a 404 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | mkovacik | ||||
| Component: | API/integration | Assignee: | pulp-bugs | ||||
| Status: | CLOSED WONTFIX | QA Contact: | pulp-qe-list | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 2.2 | CC: | austin, mmccune, rbarlow, skarmark | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-02-02 14:44:46 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
mkovacik
2013-10-10 15:03:42 UTC
The task group REST API only manipulates the task "group" resource. Individual tasks are available through the tasks REST API. https://pulp-dev-guide.readthedocs.org/en/pulp-2.2/integration/rest-api/dispatch/task.html https://pulp-dev-guide.readthedocs.org/en/pulp-2.2/integration/rest-api/dispatch/group.html The URL returns a 404 because it doesn't exist. Why does then the GET call data contain a _href field pointing me to a group then?: /pulp/api/v2/task_groups/d37e8d8d-59e1-4775-9549-b8084e40be93/ What's the point of grouping the tasks when I can't access them by their task_group_id/task_id attributes? The /v2/task_groups/ endpoints were removed in Pulp 2.4. http://pulp.readthedocs.org/en/latest/user-guide/release-notes/2.4.x.html#other-changes |