Stellar ControlMission control · by Stellar Systems v0.1.0

API Reference

Modes

Modes of the targets and the values of their parameters in each mode.

GET/v1/targets/{target}/mode

Get mode#

Current mode of a target

The mode the target is in (stellar_modes), else the default mode of the topology, with the modes of the topology and who set it last: an operator, or a run at the end of a configure.

Path parameters

targetrequired

string

Target, as named in the topology (sim-1).

Responses

200The mode of the target.application/json
targetrequired

string

Target.

mode

string

Mode the target is in; None when the topology declares no modes.

default

string

Default mode of the topology.

modesrequired

array of string

Modes of the topology, in their order.

since

string · date-time

When the mode was last set; None for the default mode never set.

by

string

Who set it.

run

string

Run that set it, at the end of a configure.

404Unknown target: api::unknown-target.application/json
errorsrequired

array of ErrorItem

Every error found.

ErrorItem · 3 fields
coderequired

string

Stable code.

messagerequired

string

Message for the operator.

help

string

Suggested fix.

503The MCS bus (NATS) is unavailable: api::unavailable.application/json
errorsrequired

array of ErrorItem

Every error found.

ErrorItem · 3 fields
coderequired

string

Stable code.

messagerequired

string

Message for the operator.

help

string

Suggested fix.

Request

curl "http://localhost:8080/v1/targets/<target>/mode"

Response

{
  "target": "string",
  "mode": "string",
  "default": "string",
  "modes": [
    "string"
  ],
  "since": "2026-09-29T08:30:00Z",
  "by": "string",
  "run": "string"
}
PUT/v1/targets/{target}/mode

Set mode#

Declare the mode of a target

Says which mode the target is in, as the operator of the request, without sending anything: after a manual reconfiguration, for instance. A configure of a run sets it by itself. Refused while a run holds the target.

Path parameters

targetrequired

string

Target, as named in the topology (sim-1).

Request body application/jsonrequired

moderequired

string

Mode to set.

Responses

200The mode, as recorded.application/json
targetrequired

string

Target.

mode

string

Mode the target is in; None when the topology declares no modes.

default

string

Default mode of the topology.

modesrequired

array of string

Modes of the topology, in their order.

since

string · date-time

When the mode was last set; None for the default mode never set.

by

string

Who set it.

run

string

Run that set it, at the end of a configure.

400Invalid body, or no identity: api::invalid-body, api::anonymous.application/json
errorsrequired

array of ErrorItem

Every error found.

ErrorItem · 3 fields
coderequired

string

Stable code.

messagerequired

string

Message for the operator.

help

string

Suggested fix.

404Unknown target: api::unknown-target.application/json
errorsrequired

array of ErrorItem

Every error found.

ErrorItem · 3 fields
coderequired

string

Stable code.

messagerequired

string

Message for the operator.

help

string

Suggested fix.

409A run holds the target: mode::target-held.application/json
errorsrequired

array of ErrorItem

Every error found.

ErrorItem · 3 fields
coderequired

string

Stable code.

messagerequired

string

Message for the operator.

help

string

Suggested fix.

422Not a mode of the topology: mode::unknown.application/json
errorsrequired

array of ErrorItem

Every error found.

ErrorItem · 3 fields
coderequired

string

Stable code.

messagerequired

string

Message for the operator.

help

string

Suggested fix.

503The MCS bus (NATS) is unavailable: api::unavailable.application/json
errorsrequired

array of ErrorItem

Every error found.

ErrorItem · 3 fields
coderequired

string

Stable code.

messagerequired

string

Message for the operator.

help

string

Suggested fix.

Request

curl -X PUT "http://localhost:8080/v1/targets/<target>/mode" \
  -H "Content-Type: application/json" \
  -d '{
  "mode": "string"
}'

Response

{
  "target": "string",
  "mode": "string",
  "default": "string",
  "modes": [
    "string"
  ],
  "since": "2026-09-29T08:30:00Z",
  "by": "string",
  "run": "string"
}
GET/v1/targets/{target}/parameters

Get parameters#

Parameters of a target

The parameters of the components of the target, in the order of the catalogue: their value in each mode (per-target values of the topology, with the overrides of the environment), the value of the current mode, the telecommand that sets it, and its readback with the current sample and whether it matches within the tolerance.

Path parameters

targetrequired

string

Target, as named in the topology (sim-1).

Query parameters

environment

string

Environment of the overrides; by default the only environment of the target, else none.

Responses

200The parameters.application/json
targetrequired

string

Target.

mode

string

Mode the target is in.

environment

string

Environment of the values; None: without overrides.

parametersrequired

array of ParameterView

Parameters of its components, in the order of the catalogue.

ParameterView · 9 fields
namerequired

string

Written in full: rf.tx_baudrate, tcu[TCU1].anode_voltage.

componentrequired

string

Component.

instance

string

Instance of a multi-instance component.

parameterrequired

string

Parameter.

unit

string

Unit of its values.

value

any

Value in the mode of the target; None without one.

valuesrequired

map of any

Values by mode.

set

string

Telecommand setting it, configure sends.

readback

one of Readback | null

404Unknown target: api::unknown-target.application/json
errorsrequired

array of ErrorItem

Every error found.

ErrorItem · 3 fields
coderequired

string

Stable code.

messagerequired

string

Message for the operator.

help

string

Suggested fix.

422The target is not engaged in the environment: api::unknown-environment.application/json
errorsrequired

array of ErrorItem

Every error found.

ErrorItem · 3 fields
coderequired

string

Stable code.

messagerequired

string

Message for the operator.

help

string

Suggested fix.

503The catalogue of the target is missing (api::no-catalogue), or the MCS bus is unavailable.application/json
errorsrequired

array of ErrorItem

Every error found.

ErrorItem · 3 fields
coderequired

string

Stable code.

messagerequired

string

Message for the operator.

help

string

Suggested fix.

Request

curl "http://localhost:8080/v1/targets/<target>/parameters"

Response

{
  "target": "string",
  "mode": "string",
  "environment": "string",
  "parameters": [
    {
      "name": "string",
      "component": "string",
      "instance": "string",
      "parameter": "string",
      "unit": "string",
      "value": null,
      "values": {
        "key": null
      },
      "set": "string",
      "readback": {
        "measure": "string",
        "sample": null,
        "matches": true
      }
    }
  ]
}

↑↓ to moveEnter to open