docs: add note to link shortening endpoint swagger doc

This commit is contained in:
2026-01-07 23:04:35 +01:00
parent 355338e397
commit 109f22c231

View File

@@ -104,9 +104,11 @@ linkRouter.get('/api/v1/link/fromWordlist', validateSchema(ls.sentenceLinkReques
* post: * post:
* description: * description:
* Register a new shortened URL. <br/> * Register a new shortened URL. <br/>
* See linkSchema.ts for constraints. * See linkSchema.ts for constraints. <br/>
* <b>Note:</b> This endpoint's functionality differs depending on the user info,
* which means guests will be treated differently from authenticated users.
* tags: [Link] * tags: [Link]
* summary: Shorten a link * summary: "[AUTHED?] Shorten a link"
* requestBody: * requestBody:
* required: true * required: true
* content: * content: