Config Instances
List
List config instances.
get/config_instances
Query parameters
offsetinteger
The offset of the items to return. An offset of 10 with a limit of 10 returns items 11-20.
limitinteger
Example:10
The maximum number of items to return. A limit of 15 with an offset of 0 returns items 1-15.
order_byConfigInstanceOrderBy[]
Sort order for the config instance results.
[ "created_at:desc" ]
expandConfigInstanceListExpansion[]
Fields to expand on each config instance in the list.
[ "content" ]
idstring[]
The config instance IDs to filter by.
[ "cfg_inst_123" ]
config_schema_idstring[]
The config schema IDs to filter by.
[ "cfg_sch_123" ]
config_type_idstring[]
The config type IDs to filter by.
[ "cfg_typ_123" ]
Response
Successfully listed the config instances.
Example response
{
"object": "list",
"data": [
{
"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"
}
]
}