V-Spark Online Help

Sample /status JSON and CSV Output for a Folder

The following is sample JSON output from a /status/CO_SHORT/ORG_SHORT/FOLDERNAME/ API call for one folder of in a V‑Spark installation. This shows the status of all that folder alone.

{
    "mode": "active",
    "servers": {
        "srvr1": "OK"
    },
    "jobmgr": {
        "192.168.150.71": {
            "numerrs": 0,
            "timestamp": "2019-06-24_18:45:58",
            "hostname": "srvr2",
            "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",      

The figure in this section shows the CSV output for a folder being previewed in the Libre Office spreadsheet application, Calc.

Figure 1. Previewing /status information in a spreadsheet
Previewing /status information in a spreadsheet