API

PUT /api/v1/can/connect

Can Connect

Connect to a CAN network

If no network is given, the default network is used (or else the first network that was found).

Status Codes:
PUT /api/v1/can/disconnect

Can Disconnect

Disconnect from the CAN network

Status Codes:
  • 200 OK – Successful Response

GET /api/v1/can/networks

Can Networks

Search for available CAN networks

Status Codes:
  • 200 OK – Successful Response

GET /api/v1/cloud

Get Cloud Files

Get files from cloud

Status Codes:
  • 200 OK – Successful Response

POST /api/v1/cloud/authenticate

Authenticate

Authenticate to cloud storage

Status Codes:
  • 200 OK – Successful Response

POST /api/v1/cloud/update

Update File

Update file in cloud storage

Status Codes:
POST /api/v1/cloud/upload

Upload File

Upload file to cloud storage

Status Codes:
GET /api/v1/config/backup

Get Config Backups

Get configuration backup files

Status Codes:
POST /api/v1/config/dataspace

Upload Dataspace File

Upload dataspace configuration file

Status Codes:
GET /api/v1/config/meta

Get Metadata File

Get metadata file information

Status Codes:
  • 200 OK – File was found and returned.

  • 404 Not Found – File not found. Check your measurement directory.

POST /api/v1/config/meta

Upload Metadata File

Upload YAML metadata file

Status Codes:
PUT /api/v1/config/restore

Restore Config File

Restore configuration file from backup

Status Codes:
GET /api/v1/config/sensors

Get Sensors File

Get sensor configuration file information

Status Codes:
  • 200 OK – File was found and returned.

  • 404 Not Found – File not found. Check your measurement directory.

POST /api/v1/config/sensors

Upload Sensors File

Upload sensor configuration file

Status Codes:
GET /api/v1/files

List Files And Capacity

Get file list and storage capacity information

Status Codes:
  • 200 OK – Successful Response

POST /api/v1/files/analyze

Post Analyzed File

Upload file for analysis

Status Codes:
GET /api/v1/files/analyze/meta/{name}

Get File Meta

Get measurement file metadata

Parameters:
  • name (string)

Status Codes:
GET /api/v1/files/analyze/{name}

Get Analyzed File

Analyze measurement file

Parameters:
  • name (string)

Status Codes:
DELETE /api/v1/files/post_meta/{name}

Delete Post Meta

Delete post metadata from measurement file, if any exists

Parameters:
  • name (string)

Status Codes:
POST /api/v1/files/post_meta/{name}

Overwrite Post Meta

Add or overwrite post metadata in measurement file

This also works for files that do not have any post metadata yet, and for a metadata.profile that differs from whatever profile the file previously had (any picture arrays belonging to the old metadata are removed first).

Parameters:
  • name (string)

Status Codes:
DELETE /api/v1/files/pre_meta/{name}

Delete Pre Meta

Delete pre metadata from measurement file, if any exists

Parameters:
  • name (string)

Status Codes:
POST /api/v1/files/pre_meta/{name}

Overwrite Pre Meta

Add or overwrite pre metadata in measurement file

This also works for files that do not have any pre metadata yet, and for a metadata.profile that differs from whatever profile the file previously had (any picture arrays belonging to the old metadata are removed first).

Parameters:
  • name (string)

Status Codes:
DELETE /api/v1/files/{name}

Delete File

Delete measurement file

Parameters:
  • name (string)

Status Codes:
GET /api/v1/files/{name}

Download File

Download measurement files

Parameters:
  • name (string)

Status Codes:
POST /api/v1/files/{name}/embedded

Upload Embedded File

Append uploaded files below the embedded_files group

Parameters:
  • name (string)

Status Codes:
DELETE /api/v1/files/{name}/embedded/{dataset_name}

Delete Embedded File

Delete an embedded file from an HDF5 file

Parameters:
  • name (string)

  • dataset_name (string)

Status Codes:
GET /api/v1/files/{name}/embedded/{dataset_name}

Download Embedded File

Download an embedded file from an HDF5 file

Parameters:
  • name (string)

  • dataset_name (string)

Status Codes:
GET /api/v1/logs

List Logs

List log files

Status Codes:
  • 200 OK – Successful Response

GET /api/v1/logs/all

Download Logs Zip

Download log files as zipped file

Query Parameters:
  • include_system_info (boolean)

Status Codes:
GET /api/v1/logs/download/{file}

Download Log File

Download log file

Parameters:
  • file (string)

Status Codes:
GET /api/v1/logs/view

View Log File

View log file

Query Parameters:
  • file (string) – (Required)

  • limit (integer)

Status Codes:
GET /api/v1/measurement

Measurement Status

Get measurement status

Status Codes:
  • 200 OK – Successful Response

POST /api/v1/measurement/execute

Execute Measurement

Connect, configure and start a measurement in one call, for headless orchestration.

All-or-nothing: on any failure, the STH is disconnected rather than left connected with a half-applied configuration. Idempotent with respect to an already-connected STH at the requested MAC address - the existing connection is reused rather than being torn down and re-established.

Status Codes:
POST /api/v1/measurement/start

Start Measurement

Start measurement

Status Codes:
POST /api/v1/measurement/stop

Stop Measurement

Stop measurement

Status Codes:
PUT /api/v1/reset-can

Reset Can

Reset CAN connection

Disconnects and searches for CAN networks again. The API reconnects to the network it was connected to before, if that network is still available. If it was not connected, it only reconnects if autoconnect is enabled.

Status Codes:
  • 200 OK – Successful Response

GET /api/v1/sensor

Query Sensors

Get available sensors

Status Codes:
  • 200 OK – Successful Response

GET /api/v1/state

State

Get system state

Status Codes:
  • 200 OK – Successful Response

GET /api/v1/sth

Sth

Get a list of available sensor devices

Status Codes:
PUT /api/v1/sth/connect

Sth Connect

Connect to sensor node

Status Codes:
PUT /api/v1/sth/disconnect

Sth Disconnect

Disconnect from sensor node

Status Codes:
GET /api/v1/sth/read-adc

Read Adc

Read ADC configuration

Status Codes:
PUT /api/v1/sth/rename

Sth Rename

Rename sensor node

Status Codes:
GET /api/v1/sth/supply-voltage

Get Supply Voltage

Get supply voltage of connected STH.

Status Codes:
PUT /api/v1/sth/write-adc

Write Adc

Write ADC configuration

Status Codes:
GET /api/v1/stu

Stu

Get available STU

Status Codes:
GET /api/v1/stu/connected

Stu Connected

Check if the STU is connected to a sensor device

Status Codes:
PUT /api/v1/stu/reset

Stu Reset

Reset STU

Status Codes: