Is there any reason why "?format=rendered" of "Get file or directory contents"endpoit does not work with "yml" or Jenkinsfiles for instances? When I get the file content of a "md" or "csv" file it works properly but if I do it with yml or Jenkinsfile I get a 500 error code and that breaks all pipelines I have
Hi @mgnavarrete,
I looked into this and the ?format=rendered query is supported only with files of these extensions:
I created a request to update the documentation for this API endpoint and include this info.
You should be able to get the raw contents of a file by omitting the ?format=rendered query.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.