summary refs log tree commit diff
path: root/api/assets/schemas.json
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-06 02:33:12 +0200
committerGitHub <noreply@github.com>2022-08-06 02:33:12 +0200
commit88916865eec7812029ce9a150f6a7646ff09aea3 (patch)
treeb9cf427d3c173cbe4029e5230eda6acc4fd61cf0 /api/assets/schemas.json
parentMerge branch 'master' into 2fa (diff)
parentMerge pull request #804 from MaddyUnderStars/feat/notesTable (diff)
downloadserver-88916865eec7812029ce9a150f6a7646ff09aea3.tar.xz
Merge branch 'master' into 2fa
Diffstat (limited to 'api/assets/schemas.json')
-rw-r--r--api/assets/schemas.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/api/assets/schemas.json b/api/assets/schemas.json
index 8f0f31be..c7aadd98 100644
--- a/api/assets/schemas.json
+++ b/api/assets/schemas.json
@@ -13828,6 +13828,33 @@
     "TotpEnableSchema": {
         "type": "object",
         "properties": {
+            "username": {
+                "minLength": 1,
+                "maxLength": 100,
+                "type": "string"
+            },
+            "discriminator": {
+                "type": "string"
+            },
+            "avatar": {
+                "type": [
+                    "null",
+                    "string"
+                ]
+            },
+            "bio": {
+                "maxLength": 1024,
+                "type": "string"
+            },
+            "accent_color": {
+                "type": "integer"
+            },
+            "banner": {
+                "type": [
+                    "null",
+                    "string"
+                ]
+            },
             "password": {
                 "type": "string"
             },