openapi: 3.0.2 info: version: 1.0.0 title: PEVA Connector API servers: - url: 'https://localhost:3000' tags: - name: PevaConnector description: Stav subsystémů pro stahování z PEvA a odesílání do Elzy paths: /status/queues: get: tags: - PevaConnector summary: Vrátí stav subsystémů pro příjem a vysílání dat description: Vrátí stav subsystémů pro příjem a vysílání dat operationId: getStatuses parameters: - $ref: '#/components/parameters/acceptHeader' responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/StateSystems' text/plain: schema: type: array items: type: string components: parameters: acceptHeader: in: header name: Accept required: true description: The desired response format (e.g., application/json, text/plain) schema: type: string schemas: StateSystem: type: object required: - name - state - lastCheck properties: name: type: string state: type: string lastCheck: type: long errorAt: type: long detail: type: string count: type: long StateSystems: type: object properties: items: type: array items: $ref: '#/components/schemas/StateSystem'