Files
NodeBB/public/openapi/components/schemas/admin/relays.yaml
2025-08-27 14:16:42 -04:00

18 lines
470 B
YAML

RelayObject:
type: object
properties:
url:
type: string
description: The relay actor endpoint
example: https://example.org/actor
state:
type: number
description: "The established state of the relay(0: pending; 1: one way receive; 2: bidirectional)"
enum: [0, 1, 2]
label:
type: string
description: A language key pertaining to the `state` value
RelaysArray:
type: array
items:
$ref: '#/RelayObject'