Currently, an action in a build contains an output_url
attribute that needs to be dereferenced to fetch the log of that action. Is there a separate API that fetches the logs for all the actions in a particular build in a single call?
Welcome to the CircleCI community forum!
You can use API v1.1 endpoint Single Job which returns the full details for a single job.
Regards,
Pawan Bahuguna
Right, currently I am using the same. However, it requires me to call the output_url
for each action inside the nested steps of a build. I was looking for alternatives that could fetch logs for all actions in a build, in a single call.
Sorry, but we don’t have any other alternative API for that.
Thanks for letting me know