Retrieve a config instance by ID.
| Scope | Required |
|---|---|
config_instances:read | Yes |
The API key to use for authentication. Retrieve your API key from the Miru dashboard.
The unique identifier of the config instance.
"cfg_inst_123"
The fields to expand in the config instance.
content, config_schema, device, config_type Successfully retrieved the config instance.
config_instance "config_instance"
ID of the config instance.
"cfg_inst_123"
Desired state of the config instance.
created, deployed, removed Last known activity state of the config instance.
created, queued, deployed, removed Last known error state of the config instance deployment.
none, failed, retrying This status merges the 'activity_status' and 'error_status' fields, with error states taking precedence over activity states when errors are present. For example, if the activity status is 'deployed' but the error status is 'failed', the status is 'failed'. However, if the error status is 'none' and the activity status is 'deployed', the status is 'deployed'.
created, queued, deployed, removed, failed, retrying The file path to deploy the config instance relative to /srv/miru/config_instances. v1/motion-control.json would deploy to /srv/miru/config_instances/v1/motion-control.json.
"/v1/motion-control.json"
The timestamp of when the config instance was created.
"2021-01-01T00:00:00Z"
The timestamp of when the config instance was last updated.
"2021-01-01T00:00:00Z"
ID of the device which the config instance is deployed to.
"dvc_123"
ID of the config schema which the config instance must adhere to.
"cfg_sch_123"
ID of the config type which the config instance (and its schema) is a part of.
"cfg_type_123"
null
Expand the config schema using 'expand[]=config_schema' in the query string.
null
The configuration values associated with the config instance. Expand the content using 'expand[]=content' in the query string.
{
"enable_autonomy": true,
"enable_remote_control": false,
"max_payload_kg": 8.5,
"preferred_speed_mode": "normal",
"emergency_stop_sensitivity": 0.9,
"telemetry": {
"upload_interval_sec": 45,
"heartbeat_interval_sec": 15
}
}Expand the config type using 'expand[]=config_type' in the query string.
null