34 lines
836 B
YAML
34 lines
836 B
YAML
---
|
|
# Copyright 2025 Joshua Rich <joshua.rich@gmail.com>.
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
components:
|
|
schemas:
|
|
WebSocketRequest:
|
|
description: >
|
|
is a request made over the Home Assistant websocket connection.
|
|
type: object
|
|
required:
|
|
- type
|
|
properties:
|
|
type:
|
|
$ref: 'rest.yaml#/components/schemas/RequestType'
|
|
webhook_id:
|
|
$ref: 'rest.yaml#/components/schemas/WebhookID'
|
|
access_token:
|
|
type: string
|
|
id:
|
|
type: string
|
|
support_confirm:
|
|
type: string
|
|
WebSocketResponse:
|
|
description: >
|
|
is a response from Home Assistant over the websocket connection.
|
|
type: object
|
|
required:
|
|
- type
|
|
properties:
|
|
type:
|
|
$ref: 'rest.yaml#/components/schemas/RequestType'
|
|
|