{"openapi":"3.1.0","info":{"title":"API Lince EuroNET Sicura + WebSockets","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Root","description":"Healthcheck endpoint per sonde e proxy.","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/status":{"get":{"summary":"Get Status","description":"Endpoint REST di lettura stato con fallback in threadpool.","operationId":"get_status_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/set":{"post":{"summary":"Set Status","description":"Endpoint REST di scrittura stato con notifica immediata via WebSocket.","operationId":"set_status_set_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurazioneZone"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}}},"components":{"schemas":{"ConfigurazioneZone":{"properties":{"pin":{"type":"string","maxLength":6,"minLength":1,"pattern":"^[0-9]+$","title":"Pin"},"g1":{"type":"boolean","title":"G1","default":false},"g2":{"type":"boolean","title":"G2","default":false},"g3":{"type":"boolean","title":"G3","default":false},"gext":{"type":"boolean","title":"Gext","default":false}},"type":"object","required":["pin"],"title":"ConfigurazioneZone"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}}}}