mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
feat: check if a quest is unlocked before creating session
This commit is contained in:
1 parent
c2dac8d385
commit
92181d960f
4 files changed
+32
-8
No files matched your search
@@ -79,6 +79,8 @@ paths:
|
||||
properties:
|
||||
message:
|
||||
type: string
|
||||
'403':
|
||||
description: This quest is locked.
|
||||
|
||||
/sessions/active:
|
||||
post:
|
||||
@@ -108,6 +110,8 @@ paths:
|
||||
$ref: '#/components/schemas/Session'
|
||||
400:
|
||||
description: 'Bad Request. The request is invalid or malformed.'
|
||||
403:
|
||||
description: This quest is locked.
|
||||
500:
|
||||
description: 'Internal Server Error.'
|
||||
|
||||
|
||||
Reference in new issue
Block a user