Config Schemas
List
List config schemas.
get/config_schemas
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_byConfigSchemaOrderBy[]
Sort order for the config schema results.
[ "created_at:desc" ]
expandConfigSchemaListExpansion[]
Fields to expand on each config schema in the list.
[ "documents" ]
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 schemas.
Example response
{
"object": "list",
"data": [
{
"object": "config_schema",
"id": "cfg_sch_123",
"digest": "sha256:1234567890",
"config_type_name": "Motion Control",
"instance_filepath": "/srv/miru/configs/v1/motion-control.json",
"created_at": "2021-01-01T00:00:00Z",
"updated_at": "2021-01-01T00:00:00Z",
"config_type_id": "cfg_typ_123",
"language": "jsonschema",
"format": "json"
}
]
}