diff options
Diffstat (limited to 'src/api/routes/auth/generate-registration-tokens.ts')
-rw-r--r-- | src/api/routes/auth/generate-registration-tokens.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/api/routes/auth/generate-registration-tokens.ts b/src/api/routes/auth/generate-registration-tokens.ts index 48fe6421..80fdaed1 100644 --- a/src/api/routes/auth/generate-registration-tokens.ts +++ b/src/api/routes/auth/generate-registration-tokens.ts @@ -26,6 +26,18 @@ export default router; router.get( "/", route({ + query: { + count: { + type: "number", + description: + "The number of registration tokens to generate. Defaults to 1.", + }, + length: { + type: "number", + description: + "The length of each registration token. Defaults to 255.", + }, + }, right: "OPERATOR", responses: { 200: { body: "GenerateRegistrationTokensResponse" } }, }), |