inspect
inspect
inspects the state of currently running
QuickApps.
Description
Use inspect
and a widget name to inspect various aspects of running
QuickApps.
The following widgets are available:
@qatable
- A table of all running QuickApps, in order of tag number. It is the
equivalent of
<do inspect_="qatable"/>
@widgetstates
- A table consisting of a subset of columns from the
<dynamic tag_="[tag_number]"/>
@dynamic
- The full widget state table for a given tag. It is the equivalent of
<dynamic tag_="[tag_number]"/>
@inspect
- A table containing expansion states for each widget. It is the
equivalent of
<do inspect_="dynamic" tag_=[tag_number]"/>
@scope
URL
https://[host]/[1010-version]/api/inspect/[widget_name]?tag=[tag_number]
If you do not specify a tag number, inspect
displays the contents of
tag 1 as the default value.
curl Example
The following curl command displays a table of all running QuickApps, in tag order:
$ curl -s -b cookie.txt 'https://www2.1010data.com/beta-latest/api/inspect/@qatable:text'
The resulting JSON displays the tag numbers and details about every currently running QuickApp.
{"tag": [1,2,3,4,5,6], "instid": ["0","HMnest_1_gui20_wsmeter","HMnest_1_dashboard","HMnest_3_hmnonce_1_2__1", "HMnest_3_hmnonce_1_3__1",""], "base": ["default.lonely","default.lonely","default.lonely","default.lonely", "default.lonely","default.lonely"], "target": ["web","web","web","web","web",""], "qaid": ["MEAL1","MEAL2","MEAL3","MEAL11","MEAL5",""], "topqaid": ["","MEAL1","MEAL1","MEAL1","MEAL1",""], "entry": ["standalone","","","","",""], "path": ["default.gui.workspace","","","","",""], "title": ["GUI Default Workspace","","","","",""]}