Actions
Feature #13284
closedUpdate applicable errata regeneration code handling
Description
This protocol has changed for pulp 2.8.
Updated by Dennis Kliban over 9 years ago
A request made to
/v2/repositories/actions/content/regenerate_applicability/now returns a group call report that looks like this:
{ "_href": "/pulp/api/v2/task_groups/16412fcb-06fa-4caa-818b-b103e2a9bf44/", "group_id": "16412fcb-06fa-4caa-818b-b103e2a9bf44" }
The `_href` from the above group call report, does not currently return anything. However, you can append '/state-summary/' to the URL and perform a GET request to retrieve a `task_group_summary`. The request to
/pulp/api/v2/task_groups/16412fcb-06fa-4caa-818b-b103e2a9bf44/state-summary/will return task group summary that will look like this:
{ "accepted": 0, "finished": 100, "running": 4, "canceled": 0, "waiting": 2, "skipped": 0, "suspended": 0, "error": 0, "total": 106 }
Documentation related to this can be found here[0-1]
[0] https://github.com/pulp/pulp/blob/master/docs/dev-guide/integration/rest-api/consumer/applicability.rst#generate-content-applicability-for-updated-repositories
[1] https://github.com/pulp/pulp/blob/master/docs/dev-guide/integration/rest-api/tasks.rst#task-group-management
Actions