V-Spark Online Help

Sample /status JSON and CSV Output for an Organization

The following is sample JSON output from a /status/CO_SHORT/ORG_SHORT/ API call for one organization of a company in a V‑Spark installation. This shows the status of all of the folders that have been defined within that organization of that company:

{
    "DocTestCo-DocTesting2": {
        "folder2": {
            "mode": "active",
            "servers": {
                "srvr1": "OK"
            },
            "jobmgr": {
                "192.168.150.71": {
                    "numerrs": 0,
                    "timestamp": "2019-06-24_18:40:28",
                    "hostname": "srvr1",
                    "numtranscoding": 0,
                    "version": "2.4.0-0",
                    "starttime": "2019-06-21_20:25:07",
                    "numdecoding": 0
                }
            },
            "queued": {
                "count": 0,
                "lastactive": "2019-06-24T18:36:15.000Z"
            },
            "analyzing": {
                "lastactive": "2019-06-24T18:45:58.000Z",
                "count": "2"
            },
            "error": {
                "lastactive": null,
                "count": "0"
            }
        },...
    }
}      

The CSV equivalent of this data is the following:

"company","organization","folder","mode","servers","queued.count",\
"queued.lastactive","decoding.count","decoding.lastactive","analyzing.count",
"analyzing.lastactive","error.count","error.lastactive"
"DocTestCo","DocTestCo-DocTesting","Test01","active","{""asrsrvr1"":""OK""}",0,\
"2017-06-16 09:06:45.584507060 -0400",0,"2017-06-16 09:05:45.451651713 -0400",0,\
"2017-06-16 09:15:24.235266461 -0400",1,"2017-05-18 12:46:55.780155897 -0400"