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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.