Get Action Script Execution Detail

Hi,

Is there a way to pull the output for an action script dialogue window from the console using curl and the rest api? I’ve searched this site and the net for an example of how to do this but came up empty If someone can give me an example on how to do this, if possible or point me in the right direction that would be great! I’ve attached a screenshot in case I am not explaining what I’m looking to accomplish correctly.

Thanks

Action-Script-Execution-Detail

1 Like

You can get good parts of this with a base REST API method

https://brollytest:52311/api/action/443/status

Where brollytest is the name of my server and 443 is the ID of the action I am querying.

image

To get all of it, I think you would have to go all the way to session relevance

https://brollytest:52311/api/query?relevance="session relevance to get the stuff"
1 Like

Thanks Brolly…I did try /api/action//status like you suggested and yes it does return some useful info… guess I’ll have to did deeper into session relevance.

cheers

That LineNumber element is the line from the Action Script Detail that you see in the console. Every line before that one was “completed” and every line after will not have any status.

You would need a separate call to pull the raw lines of the Action Script and then map the LineNumber over it.

Try /api/action/{action id} to get the raw lines of the action script