summaryrefslogtreecommitdiffstats
path: root/openapi-bots.json
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-03-06 16:37:10 +0100
committerJoas Schilling <coding@schilljs.com>2024-03-06 20:33:12 +0100
commitfb4ef079280960d1f14958c01703dfb86ec33b59 (patch)
tree3eb4050f84ac6356e12636f2021701f5867edc7e /openapi-bots.json
parentb57567526893538f15f24c0bcc58b1f293ac9309 (diff)
feat(federation): Add capabilities for the federation feature and configs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'openapi-bots.json')
-rw-r--r--openapi-bots.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/openapi-bots.json b/openapi-bots.json
index 67aa5a260..c7f0942f0 100644
--- a/openapi-bots.json
+++ b/openapi-bots.json
@@ -41,6 +41,7 @@
"call",
"chat",
"conversations",
+ "federation",
"previews",
"signaling"
],
@@ -150,6 +151,29 @@
}
}
},
+ "federation": {
+ "type": "object",
+ "required": [
+ "enabled",
+ "incoming-enabled",
+ "outgoing-enabled",
+ "only-trusted-servers"
+ ],
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "incoming-enabled": {
+ "type": "boolean"
+ },
+ "outgoing-enabled": {
+ "type": "boolean"
+ },
+ "only-trusted-servers": {
+ "type": "boolean"
+ }
+ }
+ },
"previews": {
"type": "object",
"required": [