Main

Device login

post
Body
deviceIdstringRequired
Responses
200Success
post
POST /api/auth/device/login HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "deviceId": "text"
}
200Success

No content

Get device space

get
Authorizations
Path parameters
spaceIndexstringRequired
Responses
200Success
application/json
get
GET /api/spaces/{spaceIndex} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
200Success
{
  "name": "text",
  "spaceIndex": "text",
  "isPublic": true,
  "deviceSN": {},
  "originLocation": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "originRotation": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "floorLocation": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "pin": "text",
  "media": [
    "text"
  ],
  "markers": [
    "text"
  ],
  "modelUrl": "text",
  "canUpload": true,
  "routine": {},
  "cameraPosition": {
    "location": {
      "x": 1,
      "y": 1,
      "z": 1
    },
    "rotation": {
      "x": 1,
      "y": 1,
      "z": 1,
      "w": 1
    }
  },
  "defaultRoutineIndex": "text",
  "lrtUrl": "text"
}

Create marker

post
Authorizations
Body
markerIndexstringRequired
spaceIndexstringRequired
routineIndexstringRequired
nodesstring[]Required
recordsstring[]Required
Responses
201Success
application/json
post
POST /api/markers HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 313

{
  "markerIndex": "text",
  "location": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "scale": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "demensions": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "color": {
    "r": 1,
    "g": 1,
    "b": 1,
    "a": 1
  },
  "spaceIndex": "text",
  "routineIndex": "text",
  "nodes": [
    "text"
  ],
  "records": [
    "text"
  ],
  "cameraPosition": {
    "location": {
      "x": 1,
      "y": 1,
      "z": 1
    },
    "rotation": {
      "x": 1,
      "y": 1,
      "z": 1,
      "w": 1
    }
  }
}
201Success
{
  "markerIndex": "text",
  "location": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "rotation": {
    "x": 1,
    "y": 1,
    "z": 1,
    "w": 1
  },
  "scale": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "demensions": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "color": {
    "r": 1,
    "g": 1,
    "b": 1,
    "a": 1
  },
  "records": [
    "text"
  ],
  "nodes": [
    "text"
  ],
  "defectDimensions": {}
}

Delete marker

delete
Authorizations
Path parameters
markerIndexstringRequired
Responses
202Success
delete
DELETE /api/markers/{markerIndex} HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
202Success

No content

Last updated

Was this helpful?