V-Spark Online Help

Sample /status JSON and CSV Output for a Company

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

{
    "DocTestCo-DocTesting1": {},
    "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-DocTesting2","folder2","active","{""srvr1"":""OK""}",0,\
,,,"0",,"0",
"DocTestCo","DocTestCo-DocTesting3","folder3","active","{""srvr1"":""OK""}",0,\
"2019-06-18T18:58:30.000Z",,,"0","2019-06-18T18:59:29.000Z","0",
"DocTestCo","DocTestCo-DocTesting3","folder33","active","{""srvr1"":""OK""}",0,\
"2019-06-18T19:01:12.000Z",,,"0","2019-06-18T19:14:44.000Z","2","2019-06-18T19:14:00.000Z"