Add /delete_quest, /delete_side_quest
This commit is contained in:
parent
cf0a7144d9
commit
5d519f7d5c
35
docs.yml
35
docs.yml
|
@ -71,6 +71,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/quests'
|
$ref: '#/components/schemas/quests'
|
||||||
|
400:
|
||||||
|
$ref: "#/components/responses/bad_request"
|
||||||
401:
|
401:
|
||||||
$ref: "#/components/responses/bad_auth"
|
$ref: "#/components/responses/bad_auth"
|
||||||
|
|
||||||
|
@ -88,6 +90,8 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/quests'
|
$ref: '#/components/schemas/quests'
|
||||||
|
400:
|
||||||
|
$ref: "#/components/responses/bad_request"
|
||||||
401:
|
401:
|
||||||
$ref: "#/components/responses/bad_auth"
|
$ref: "#/components/responses/bad_auth"
|
||||||
|
|
||||||
|
@ -137,6 +141,27 @@ paths:
|
||||||
400:
|
400:
|
||||||
$ref: "#/components/responses/bad_request"
|
$ref: "#/components/responses/bad_request"
|
||||||
|
|
||||||
|
/delete_quest:
|
||||||
|
delete:
|
||||||
|
summary: delete_quest
|
||||||
|
description: Delete a Quest
|
||||||
|
parameters:
|
||||||
|
- $ref: '#/components/schemas/token'
|
||||||
|
- $ref: '#/components/schemas/id'
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
$ref: '#/components/responses/success'
|
||||||
|
|
||||||
|
/delete_side_quest:
|
||||||
|
delete:
|
||||||
|
summary: delete_side_quest
|
||||||
|
description: Delete a Side Quest
|
||||||
|
parameters:
|
||||||
|
- $ref: '#/components/schemas/token'
|
||||||
|
- $ref: '#/components/schemas/id'
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
$ref: '#/components/responses/success'
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
@ -230,3 +255,13 @@ components:
|
||||||
error:
|
error:
|
||||||
type: string
|
type: string
|
||||||
description: The token is invalid
|
description: The token is invalid
|
||||||
|
success:
|
||||||
|
description: Returns the success / failure
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
required:
|
||||||
|
- success
|
||||||
|
properties:
|
||||||
|
success:
|
||||||
|
type: boolean
|
||||||
|
|
Loading…
Reference in New Issue