You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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..
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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