docs: add note to link shortening endpoint swagger doc
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user