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
  2. Device [Content API]

Marker manipulations

Last updated 10 months ago

Was this helpful?

Moving nodes

Update record

Attach snapshot

1. Upload file to storage

2. Update record attachments with uploaded file data

  • Moving nodes
  • PATCH/api/markers/{markerIndex}/nodes/{nodeIndex}
  • Update record
  • PATCH/api/records/{recordIndex}
  • Attach snapshot
  • 1. Upload file to storage
  • 2. Update record attachments with uploaded file data
  • PATCH/api/records/{recordIndex}
patch
Authorizations
Path parameters
markerIndexstringRequired
nodeIndexstringRequired
Body
ordernumberRequired
nodeIndexstringRequired
Responses
202Success
application/json
Responseobject
patch
PATCH /api/markers/{markerIndex}/nodes/{nodeIndex} HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 61

{
  "location": {
    "x": 1,
    "y": 1,
    "z": 1
  },
  "order": 1,
  "nodeIndex": "text"
}
202Success
{}
patch
Authorizations
Path parameters
recordIndexstringRequired
Body
valuestringRequired
valuesstring[]Required
namestringRequired
titlestringRequired
attachmentsstring[]Required
Responses
202Success
application/json
patch
PATCH /api/records/{recordIndex} HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 86

{
  "value": "text",
  "values": [
    "text"
  ],
  "name": "text",
  "title": "text",
  "attachments": [
    "text"
  ]
}
202Success
{
  "values": [
    "text"
  ],
  "value": "text",
  "routineId": "text",
  "name": "text",
  "title": "text",
  "defaultValue": "text",
  "recordIndex": "text",
  "enabled": true,
  "routineIndex": "text",
  "type": "text",
  "attachments": [
    "text"
  ]
}
patch
Authorizations
Path parameters
recordIndexstringRequired
Body
valuestringRequired
valuesstring[]Required
namestringRequired
titlestringRequired
attachmentsstring[]Required
Responses
202Success
application/json
patch
PATCH /api/records/{recordIndex} HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 86

{
  "value": "text",
  "values": [
    "text"
  ],
  "name": "text",
  "title": "text",
  "attachments": [
    "text"
  ]
}
202Success
{
  "values": [
    "text"
  ],
  "value": "text",
  "routineId": "text",
  "name": "text",
  "title": "text",
  "defaultValue": "text",
  "recordIndex": "text",
  "enabled": true,
  "routineIndex": "text",
  "type": "text",
  "attachments": [
    "text"
  ]
}