PST SDK 7.0.0.0-ebe6e713
Loading...
Searching...
No Matches
SetMarkerDetectionRegion

Sets the region of the tracking working space where markers are reported.

Endpoint
POST /PSTapi/SetMarkerDetectionRegion HTTP/1.1
Host: address:port
DetectionRegion Object
Key Value Type Description
DetectionRegion string The marker detection region to set. Possible values: "Optimal", "Full".
POST Payload: Request body parameters example
{"DetectionRegion": "Optimal"}
Response

Returns a status message.

Verification table
Status Code Content Example Meaning
200 {"message": "Detection Region set successfully"} Success message
400 {"message":"JSON_ERROR: <...>"} An error occurred when parsing a JSON object
400 {"message":"TrackerException:MSG_NOT_SUPPORTED <...>"} The connected PST tracker does not support tracking region based pruning. Detection region has been set to FULL.
400 {"message":"TrackerException:MSG_NOT_SUPPORTED <...>"} This endpoint is not supported by your tracker.
500 {"message":"TrackerException: <...>"} An other type of internal error