rd-cli 2.0.8
rd jobs list --project my-project -J < ...the job id... > -f ./bro.json -F json
Error: The format is not valid: json
[code: api.error.item.unsupported-format; APIv50]
Request failed: 406 Not Acceptable
yaml and of course xml no problem but not json
direct call to api via curl works fine:
https://docs.rundeck.com/docs/api/#getting-a-job-definition
curl --insecure -Ss -X GET https://localhost:4443/api/47/job/$job_id
--header 'X-Rundeck-Auth-Token:'"$TOKEN" --header 'Accept: application/json'