Config Instances
Create
Create a new config instance.
post/config_instances
Query parameters
expandConfigInstanceExpansion[]
Fields to expand on the config instance resource.
[ "content" ]
Request body
Example request
{
"config_schema_id": "cfg_sch_123",
"content": {
"format": "json",
"data": "{\n \"enable_autonomy\": true,\n \"enable_remote_control\": true,\n \"max_payload_kg\": 10.0\n}\n"
}
}Response
Successfully created the config instance.
Example response
{
"object": "config_instance",
"id": "cfg_inst_123",
"config_type_name": "Motion Control",
"filepath": "/srv/miru/configs/v1/motion-control.json",
"created_at": "2021-01-01T00:00:00Z",
"config_schema_id": "cfg_sch_123",
"config_type_id": "cfg_typ_123"
}