Project

General

Profile

Actions

Feature #11162

closed

API: Support task search by parent_task_id

Added by Brad Buckingham almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Update foreman-tasks so that a user can search for tasks associated with a given parent_task_id.

E.g.

curl -k -u admin:password -H "Content-Type:application/json" -H "Accept:application/json,version=2" -X GET -d "{\"search\": \"parent_task_id=e3d1bd0e-652b-43f6-bb26-a9d389e7b466\"}" https://sat61fusor.example.com/foreman_tasks/api/tasks | json_reformat

Actions

Also available in: Atom PDF