mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 01:27:01 +02:00
18 lines
470 B
YAML
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' |