Dear friends,
I am trying to list all tasks related with "resource_id = 3" (package
management) via API, but I am having the following error:
curl -k -u admin:xxxx -X POST -H 'Accept: application/json' -H
'Content-Type: application/json' -d '{"searches": ["resource_id: 3"]}'
https://satellite.info.net/foreman_tasks/api/tasks/bulk_search
{
"error": {"message":"can't convert Symbol into Integer"}
}
What I am doing wrong ?
Many thanks in advance for your help
Benja.