We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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'
The text was updated successfully, but these errors were encountered:
the default api version used is 29 currently, and json format requires API version 44+. Can you try specifying the API version in your RD_URL , e.g:
29
export RD_URL=https://localhost:4443/api/47
Sorry, something went wrong.
No branches or pull requests
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'
The text was updated successfully, but these errors were encountered: