ops

ops displays the structured XML of a stored query or live QuickApp.

URL

https://[host]/[1010-version]/api/ops/[quickapp_name]

Use the syntax /api/ops/path.to.query to retrieve the XML for a stored query, /api/ops/tag to retrieve the XML for a running QuickApp, and /api/ops/tag/widget_name to retrieve the XML for an individual widget.

Methods

POST

Parameters

@xml
A string containing a stored query or QuickApp.

Response

ops returns the XML of the stored query or live QuickApp.
Note: The ops endpoint contains a value widget that "pretty-prints" the XML, rather than showing the raw k structure.

User Interface Example: Display the XML of a stored query

In https://[host]/[1010-version]/api/ops, click the example api/ops/default.test.bigtimes. The following XML code appears:

User Interface Example: Display the XML of a live QuickApp

To display the XML of a live QuickApp, enter the tag number of the live QuickApp.

In this example, we spawned a new instance of default.api.run. The instance has a tag of 24. You can then enter https://[host]/[1010-version]/api/ops/24 to view the XML of the run QuickApp.