mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 21:27:56 +02:00
docs: added new ACP routes
This commit is contained in:
16
public/openapi/read/admin/federation/content.yaml
Normal file
16
public/openapi/read/admin/federation/content.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get federation settings pertaining to content
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
16
public/openapi/read/admin/federation/general.yaml
Normal file
16
public/openapi/read/admin/federation/general.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get general federation settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
16
public/openapi/read/admin/federation/pruning.yaml
Normal file
16
public/openapi/read/admin/federation/pruning.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get federation content pruning settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
@@ -1,7 +1,7 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get federation (ActivityPub) settings
|
||||
summary: Get federation settings pertaining to relays
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
@@ -13,11 +13,9 @@ get:
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
instanceCount:
|
||||
type: number
|
||||
description: The number of ActivityPub-enabled instances that this forum knows about.
|
||||
rules:
|
||||
$ref: ../../../components/schemas/admin/rules.yaml#/RulesArray
|
||||
relays:
|
||||
$ref: ../../../components/schemas/admin/relays.yaml#/RelaysArray
|
||||
hideSave:
|
||||
type: boolean
|
||||
description: A flag to instruct the template engine to hide the save button
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
21
public/openapi/read/admin/federation/rules.yaml
Normal file
21
public/openapi/read/admin/federation/rules.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get federation settings pertaining to auto-categorization rules
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
rules:
|
||||
$ref: ../../../components/schemas/admin/rules.yaml#/RulesArray
|
||||
hideSave:
|
||||
type: boolean
|
||||
description: A flag to instruct the template engine to hide the save button
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
18
public/openapi/read/admin/federation/safety.yaml
Normal file
18
public/openapi/read/admin/federation/safety.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get federation settings pertaining to trust and safety
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
instanceCount:
|
||||
type: number
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
Reference in New Issue
Block a user