Replies: 1 comment 2 replies
-
Hi, maybe you already solved this, but I noticed that it's available the GET {task_id}/raw_output resource that might be helpful. Hope this helps. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's the best way of using the Semaphore API to get the output of a task from each remote host?
I'm building an internal tool that pulls a bunch of tools into one webUI for us to cross-reference them. I'm trying to display the output of the latest completed task from a particular template in a table of the remote hosts, along with the information collected from each remote host by other tools.
Getting the last completed task of that template is simple enough using GET project_id/tasks but it's looking like I'd have to do a lot of string parsing of the response from GET {task_id}/output to get what I need..
Is there a better way?
Beta Was this translation helpful? Give feedback.
All reactions