Skip to content
Snippets Groups Projects

Custom register configuration file endpoint

Merged Marianna Glazewska requested to merge mglazews-config-dumping into master
5 files
+ 144
2
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -476,6 +476,40 @@ paths:
allOf:
- $ref: "#/components/schemas/standard_model"
/dumpCustomRegConfig:
post:
summary: Dump a custom register configuration file (JSON)
description: Read all lpGBT and GBCR registers in the default configuration file and dump the results into a new register configuration file (JSON)
x-openapi-router-controller: itk_demo_optoboard.api.routes
operationId: dumpCustomRegConfig
requestBody:
description: JSON serialised object containing optoboard position and filename for the new JSON file
content:
application/json:
schema:
type: object
properties:
optoboardPosition:
type: string
example: "OB0"
description: Optoboard position
filename:
type: string
example: "custom_config"
description: The name to be given to the new JSON file
responses:
200:
description: Response that configuration file was created, or creation was not possible
content:
application/json:
schema:
type: object
allOf:
- $ref: "#/components/schemas/standard_model"
/readLog:
get:
tags:
Loading