summaryrefslogtreecommitdiffstats
path: root/openapi.json
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-12-01 17:09:21 +0100
committerJoas Schilling <coding@schilljs.com>2023-12-12 07:07:41 +0100
commitf4ba35d820936fe8c34a92022fefde9845709947 (patch)
tree033d88ca5d4dd9dd8221db46c688276f9a5090e1 /openapi.json
parent67070c90d327d2a5ebd2d40515d2448a51a38b70 (diff)
feat(chat): Rate limit guests when mentioning others
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'openapi.json')
-rw-r--r--openapi.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/openapi.json b/openapi.json
index 4cdc351ee..1269ba60e 100644
--- a/openapi.json
+++ b/openapi.json
@@ -5360,6 +5360,34 @@
}
}
}
+ },
+ "429": {
+ "description": "Mention rate limit exceeded (guests only)",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "required": [
+ "ocs"
+ ],
+ "properties": {
+ "ocs": {
+ "type": "object",
+ "required": [
+ "meta",
+ "data"
+ ],
+ "properties": {
+ "meta": {
+ "$ref": "#/components/schemas/OCSMeta"
+ },
+ "data": {}
+ }
+ }
+ }
+ }
+ }
+ }
}
}
},