Files
NodeBB/public/openapi/read/admin/settings/activitypub.yaml

40 lines
1.5 KiB
YAML

get:
tags:
- admin
summary: Get federation (ActivityPub) settings
responses:
"200":
description: ""
content:
application/json:
schema:
allOf:
- type: object
properties:
title:
type: string
instanceCount:
type: number
description: The number of ActivityPub-enabled instances that this forum knows about.
rules:
type: array
items:
type: object
properties:
rid:
type: string
description: a valid rule ID
example: 4eb506f8-a173-4693-a41b-e23604bc973a
type:
type: string
description: The auto-categorization rule type
example: hashtag
value:
type: string
description: The value that incoming content will be matched against (used alongside `type`)
example: 'example'
cid:
type: number
description: The category ID of a local category
example: 1
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps