Node.js based forum software built for the modern web
docs: schema update for activitypub acp route
Julian Lam3a05171f3c50
diff --git a/public/openapi/read.yaml b/public/openapi/read.yamlindex 63293c80f0..2b558b823a 100644--- a/public/openapi/read.yaml+++ b/public/openapi/read.yaml@@ -92,6 +92,8 @@ paths:$ref: 'read/admin/settings/user.yaml'/api/admin/settings/post:$ref: 'read/admin/settings/post.yaml'+ /api/admin/settings/activitypub:+ $ref: 'read/admin/settings/activitypub.yaml'/api/admin/settings/advanced:$ref: 'read/admin/settings/advanced.yaml'/api/admin/manage/categories:diff --git a/public/openapi/read/admin/settings/activitypub.yaml b/public/openapi/read/admin/settings/activitypub.yamlnew file mode 100644index 0000000000..b0871999b6--- /dev/null+++ b/public/openapi/read/admin/settings/activitypub.yaml@@ -0,0 +1,19 @@+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.+ - $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps\ No newline at end of file