Spector Vision
  • Home
  • Getting started
    • Install
    • Device pairing
  • Features
    • 🔬NDT
      • Measurement mesh
      • Measurement display
    • 🗜️Laminate repair tool
    • 📐Space aware positioning
      • Origin manipulation
    • 📹Video capture
    • 🪄Detection
      • Streaming
    • Advanced use
      • Changing API Environment in Spector
  • UI elements
    • 🎛️Defect panel
    • 📍Origin handler
  • API
    • Overview
    • Startup [Admin API]
    • Device [Content API]
      • Main
      • Marker manipulations
    • Documents [Content API]
      • View documents
    • LRT [Detection API]
    • Defect dimensions [Detection API]
    • Space settings
      • Endpoints
  • Releases
    • 1.2
    • 1.1
    • 1.0
    • Pilot 1.8
      • 🥽Fixes
      • 🥽Alignment marker along z-axis
      • 🥽Nodes rotation
    • Pilot 1.7
      • 🥽Status bar and header
      • 🥽Defect description
      • 🥽Defect codes relations
      • 🥽Disposition: select number of plies
      • 🥽Disposition: all plies table
      • 📡Disposition API: get all plies
      • 📡Disposition API: get selected plies
      • 🥽Disposition: selected plies table
      • 🥽Disposition: display layup image
      • 📡Disposition API: Get image layup
      • 📡Disposition API: Update LRT data
      • 🥽Handler (Scene Origin) Rotation
      • 🖥️Portal laminate repair tool
      • 📡Detection API: Defect dimensions
    • Pilot 1.6
    • Pilot 1.5
    • Pilot 1.4
    • Pilot 1.3
    • Pilot 1.1-2
    • 🔵Pilot 1.0
    • Pilot 0.3
    • Pilot 0.2
    • Pilot 0.1
    • 🟢Demo 1.0
    • Demo 0.3
    • Demo 0.2
    • Demo 0.1
  • Identity
    • Spector logo
Powered by GitBook
On this page

Was this helpful?

  1. API

Startup [Admin API]

Last updated 10 months ago

Was this helpful?

Login with dev and get env

Get envs

Set device env

get
Responses
200Success
get
GET /api/v1/envs HTTP/1.1
Host: 
Accept: */*
200Success

No content

put
Path parameters
deviceIdstringRequired
Responses
200Success
put
PUT /api/v1/devices/{deviceId}/envs HTTP/1.1
Host: 
Accept: */*
200Success

No content

  • Login with dev and get env
  • POST/api/v1/devices/login
  • Get envs
  • GET/api/v1/envs
  • Set device env
  • PUT/api/v1/devices/{deviceId}/envs
post
Body
deviceIdstringRequired
Responses
200Success
application/json
Responseall of
and
post
POST /api/v1/devices/login HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "deviceId": "text"
}
200Success
{
  "meta": {
    "page": 1,
    "perPage": 10,
    "totalItems": 1,
    "totalPages": 1,
    "hasNextPage": true,
    "hasPreviousPage": true,
    "nextPage": "text",
    "previousPage": "text"
  },
  "data": [
    {
      "id": "text",
      "createdAt": "2025-05-28T20:35:55.664Z",
      "updatedAt": "2025-05-28T20:35:55.664Z",
      "deletedAt": "2025-05-28T20:35:55.664Z",
      "deviceName": "text",
      "deviceId": "text",
      "apiUrls": {},
      "totalEntriesCount": 1,
      "lastLogin": "2025-05-28T20:35:55.664Z"
    }
  ]
}