Returns camera properties of cameras on the current stage
GET /api/session/mixedreality/cameras
{
"status": {
"code": 0,
"message": "",
"details": [
{
"type_url": "",
"value": ""
}
]
},
"result": [
{
"uid": "",
"name": "",
"spatialCalibration": {
"uid": "",
"name": ""
}
}
]
}
Capture an observation on the given camera
POST /api/session/mixedreality/captureobservation
{
"camera": {
"uid": "",
"name": ""
},
"spatialCalibration": {
"uid": "",
"name": ""
}
}
{
"status": {
"code": 0,
"message": "",
"details": [
{
"type_url": "",
"value": ""
}
]
}
}
Gets the current capture progress, only one capture can run at once
GET /api/session/mixedreality/captureprogress
{
"status": {
"code": 0,
"message": "",
"details": [
{
"type_url": "",
"value": ""
}
]
},
"result": false
}
Delete all observations for a given spatial calibration
POST /api/session/mixedreality/deleteallobservations
{
"spatialCalibration": {
"uid": "",
"name": ""
}
}
{
"status": {
"code": 0,
"message": "",
"details": [
{
"type_url": "",
"value": ""
}
]
}
}
Pass a list of observation identifiers to delete
POST /api/session/mixedreality/deleteobservations
{
"observations": [
""
]
}
{
"status": {
"code": 0,
"message": "",
"details": [
{
"type_url": "",
"value": ""
}
]
}
}
Pass a list of observation identifiers to enable/disable
POST /api/session/mixedreality/enableobservations
{
"observations": [
{
"uid": "",
"enable": false
}
]
}
{
"status": {
"code": 0,
"message": "",
"details": [
{
"type_url": "",
"value": ""
}
]
}
}
Returns mixed reality sets on the current stage
GET /api/session/mixedreality/mrsets
{
"status": {
"code": 0,
"message": "",
"details": [
{
"type_url": "",
"value": ""
}
]
},
"result": [
{
"uid": "",
"name": "",
"currentCamera": {
"uid": "",
"name": ""
},
"isCameraOverride": false
}
]
}
Sets the current camera of an MR Set
POST /api/session/mixedreality/selectcamera
{
"mrSet": {
"uid": "",
"name": ""
},
"cameraOverride": {
"uid": "",
"name": ""
}
}
{
"status": {
"code": 0,
"message": "",
"details": [
{
"type_url": "",
"value": ""
}
]
}
}
Sets the spatial calibration currently in use by a camera
POST /api/session/mixedreality/selectspatialcalibration
{
"camera": {
"uid": "",
"name": ""
},
"spatialCalibration": {
"uid": "",
"name": ""
}
}
{
"status": {
"code": 0,
"message": "",
"details": [
{
"type_url": "",
"value": ""
}
]
}
}
Returns a list of all spatial calibrations
GET /api/session/mixedreality/spatialcalibrations
{
"status": {
"code": 0,
"message": "",
"details": [
{
"type_url": "",
"value": ""
}
]
},
"result": [
{
"uid": "",
"name": "",
"mrsets": [
{
"uid": "",
"name": ""
}
],
"observations": [
{
"uid": "",
"name": "",
"trackedPose": {
"position": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 0,
"y": 0,
"z": 0
}
},
"solvedPose": {
"position": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": {
"x": 0,
"y": 0,
"z": 0
}
},
"isEnabled": false,
"zoom": 0,
"focus": 0,
"type": "",
"rmsError": 0
}
]
}
]
}