Groups
Groups
Sign in
Groups
Groups
rundeck-discuss
Conversations
About
Send feedback
Help
JSON unavailable for an API endpoint ?
28 views
Skip to first unread message
Xavier Humbert
unread,
Feb 24, 2023, 7:51:46 AM
2/24/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rundeck-discuss
Hi,
Strange Error with the API
[xavier@imladris ~]$ export instance=https://<SERVER>/api/42/
[xavier@imladris ~]$ export token=********
[xavier@imladris ~]$ curl -H "X-Rundeck-Auth-Token: $token" -H "Accept:
application/json" -X GET $instance/job/4477<UUID>
<result error='true' apiversion='43'>
<error code='api.error.item.unsupported-format'>
<message>The format is not valid: json</message>
</error>
</result>
Is JSON unavailable for this particular endpoint ?
Cheers
Xavier
--
Xavier Humbert
CRT Supervision et Exploitation de Niveau 1
Rectorat de Nancy-Metz
03 83 86 27 39
rac...@rundeck.com
unread,
Feb 24, 2023, 8:06:19 AM
2/24/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rundeck-discuss
Hi Xavier,
Right, Rundeck job definitions support only two formats: YAML and XML, take a look at the endpoint doc
entry
.
Regards!
Reply all
Reply to author
Forward
0 new messages