![]() |
PST SDK
6.0.0.0-272350a
|
Check if the tracker is running correctly.
GET /PSTapi/SystemCheck HTTP/1.1
Host: address:port
Returns one of the following status messages:
{"StatusMessage":"OK"}
{"StatusMessage":"NOT_INITIALIZED"}
{"StatusMessage":"DISCONNECTED"}
{"StatusMessage":"ERR_GENERAL"}
{"StatusMessage":"ERR_TIMEOUT"}
{"StatusMessage":"ERR_NOCAMS_FOUND"}
{"StatusMessage":"ERR_NOTENOUGHTCAMS_FOUND"}
{"StatusMessage":"ERR_INITERROR"}
{"StatusMessage":"ERR_CANNOT_START_CAMS"}
{"StatusMessage":"ERR_CANNOT_SETUP_CAMS"}
More information on the different status messages can be found in the PSTech::pstsdk::StatusMessage documentation.
| Key | Value Type | Description |
|---|---|---|
| StatusMessage | string | The status of the tracker as a string object. |
| StatusMessage | Description |
|---|---|
| OK | The system is running OK. |
| NOT_INITIALIZED | Tracker failed to initialize correctly. |
| DISCONNECTED | The grabber has been disconnected. |
| ERR_GENERAL | Unspecified grabber error. |
| ERR_TIMEOUT | Grabber timeout error. |
| ERR_NOCAMS_FOUND | Grabber could not detect any cameras. |
| ERR_NOTENOUGHTCAMS_FOUND | Grabber could not detect sufficient cameras. |
| ERR_INITERROR | Grabber did not initialize correctly. |
| ERR_CANNOT_START_CAMS | Grabber could not start cameras. |
| ERR_CANNOT_SETUP_CAMS | Grabber failed setting up cameras. |
{"StatusMessage":"OK"}
| Status Code | Content Example | Meaning |
|---|---|---|
| 200 | JSON payload | Success message |
| 500 | {"message":"TrackerException: <...>"} | An other type of internal error |