DtConfigureController — REST endpoints for configuring the webserver itself.
Routes: GET /api/configure/command-specs — list all RW command types PUT /api/configure/command-specs/{commandType} — update one entry GET /api/configure/icons — list icon filenames in public/icons/ GET /api/configure/filters — list entity filters in public/filters/ DELETE /api/configure/sessions/{sessionId} — forcibly close a session by integer ID
|
| | DtConfigureController (const std::shared_ptr< ObjectMapper > &objectMapper, const std::string &publicDir) |
| |
| | ENDPOINT_INFO (getRwCommandSpecs) |
| |
| | ENDPOINT ("GET","/api/configure/command-specs", getRwCommandSpecs, REQUEST(std::shared_ptr< IncomingRequest >, request)) |
| |
| | ENDPOINT_INFO (updateRwCommandSpec) |
| |
| | ENDPOINT ("PUT","/api/configure/command-specs/{commandType}", updateRwCommandSpec, PATH(String, commandType), REQUEST(std::shared_ptr< IncomingRequest >, request)) |
| |
| | ENDPOINT_INFO (getIcons) |
| |
| | ENDPOINT ("GET","/api/configure/icons", getIcons, REQUEST(std::shared_ptr< IncomingRequest >, request)) |
| |
| | ENDPOINT_INFO (getFilters) |
| |
| | ENDPOINT_INFO (deleteSession) |
| |
| | ENDPOINT ("DELETE","/api/configure/sessions/{sessionId}", deleteSession, PATH(String, sessionId), REQUEST(std::shared_ptr< IncomingRequest >, request)) |
| |
|
| std::shared_ptr< OutgoingResponse > | handleGetRwCommandSpecs (const std::shared_ptr< IncomingRequest > &req) |
| |
| std::shared_ptr< OutgoingResponse > | handleUpdateRwCommandSpec (const std::shared_ptr< IncomingRequest > &req, const String &commandType) |
| |
| std::shared_ptr< OutgoingResponse > | handleGetIcons (const std::shared_ptr< IncomingRequest > &req) |
| |
| std::shared_ptr< OutgoingResponse > | handleGetFilters (const std::shared_ptr< IncomingRequest > &req) |
| |
| std::shared_ptr< OutgoingResponse > | handleDeleteSession (const std::shared_ptr< IncomingRequest > &req, const String &sessionId) |
| |