summary refs log tree commit diff
path: root/assets/openapi.json
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-03-24 19:36:28 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 15:24:38 -0400
commit10e1eb95ae5f514f55adada282402897135aab73 (patch)
treeed7a200a97f540cb2c094db444d89da511273db4 /assets/openapi.json
parentbackfill missing query params (diff)
downloadserver-10e1eb95ae5f514f55adada282402897135aab73.tar.xz
Update openapi.json
Diffstat (limited to 'assets/openapi.json')
-rw-r--r--assets/openapi.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/assets/openapi.json b/assets/openapi.json
index e95e46e6..bc379d16 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -9651,6 +9651,24 @@
                         }
                     }
                 },
+                "parameters": [
+                    {
+                        "name": "count",
+                        "in": "query",
+                        "schema": {
+                            "type": "number"
+                        },
+                        "description": "The number of registration tokens to generate. Defaults to 1."
+                    },
+                    {
+                        "name": "length",
+                        "in": "query",
+                        "schema": {
+                            "type": "number"
+                        },
+                        "description": "The length of each registration token. Defaults to 255."
+                    }
+                ],
                 "tags": [
                     "auth"
                 ]