mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 15:42:52 +01:00
29 lines
802 B
YAML
29 lines
802 B
YAML
post:
|
|
tags:
|
|
- admin
|
|
summary: add relay
|
|
description: This operation establishes a connection to a remote relay for content discovery purposes
|
|
requestBody:
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
url:
|
|
type: string
|
|
description: The relay actor endpoint
|
|
example: https://example.org/actor
|
|
responses:
|
|
'200':
|
|
description: rule successfully created
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
$ref: ../../../components/schemas/Status.yaml#/Status
|
|
response:
|
|
$ref: ../../../components/schemas/admin/relays.yaml#/RelaysArray
|