2025-08-27 14:16:24 -04:00
|
|
|
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:
|
2025-08-28 00:03:07 -04:00
|
|
|
type: string
|
|
|
|
|
description: The relay actor endpoint
|
|
|
|
|
example: https://example.org/actor
|
2025-08-27 14:16:24 -04:00
|
|
|
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
|