Add tags
This commit is contained in:
parent
7bf9347b95
commit
4a113505ba
33
docs.yml
33
docs.yml
|
@ -7,9 +7,20 @@ info:
|
||||||
servers:
|
servers:
|
||||||
- url: "https://api.questable.webionite.com/"
|
- url: "https://api.questable.webionite.com/"
|
||||||
|
|
||||||
|
tags:
|
||||||
|
- name: Authentication
|
||||||
|
description: Endpoints related to authentication
|
||||||
|
- name: Player
|
||||||
|
description: Endpoints related to player
|
||||||
|
- name: Quests
|
||||||
|
description: Endpoints related to quests
|
||||||
|
- name: Side Quests
|
||||||
|
description: Endpoints related to side quests
|
||||||
paths:
|
paths:
|
||||||
/auth:
|
/auth:
|
||||||
get:
|
get:
|
||||||
|
tags:
|
||||||
|
- Authentication
|
||||||
summary: auth
|
summary: auth
|
||||||
description: Check whether the token is valid or not
|
description: Check whether the token is valid or not
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -23,6 +34,8 @@ paths:
|
||||||
|
|
||||||
/player:
|
/player:
|
||||||
get:
|
get:
|
||||||
|
tags:
|
||||||
|
- Player
|
||||||
summary: player
|
summary: player
|
||||||
description: Get info about the user
|
description: Get info about the user
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -60,6 +73,8 @@ paths:
|
||||||
|
|
||||||
/get_quests:
|
/get_quests:
|
||||||
get:
|
get:
|
||||||
|
tags:
|
||||||
|
- Quests
|
||||||
summary: get_quests
|
summary: get_quests
|
||||||
description: Get an array of incomplete quests
|
description: Get an array of incomplete quests
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -78,6 +93,8 @@ paths:
|
||||||
|
|
||||||
/get_side_quests:
|
/get_side_quests:
|
||||||
get:
|
get:
|
||||||
|
tags:
|
||||||
|
- Side Quests
|
||||||
summary: get_side_quests
|
summary: get_side_quests
|
||||||
description: Get an array of incomplete side quests
|
description: Get an array of incomplete side quests
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -96,6 +113,8 @@ paths:
|
||||||
|
|
||||||
/get_quest:
|
/get_quest:
|
||||||
get:
|
get:
|
||||||
|
tags:
|
||||||
|
- Quests
|
||||||
summary: get_quest
|
summary: get_quest
|
||||||
description: Get a Quest
|
description: Get a Quest
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -117,6 +136,8 @@ paths:
|
||||||
|
|
||||||
/get_side_quest:
|
/get_side_quest:
|
||||||
get:
|
get:
|
||||||
|
tags:
|
||||||
|
- Side Quests
|
||||||
summary: get_side_quest
|
summary: get_side_quest
|
||||||
description: Get a Side Quest
|
description: Get a Side Quest
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -138,6 +159,8 @@ paths:
|
||||||
|
|
||||||
/add_quest:
|
/add_quest:
|
||||||
post:
|
post:
|
||||||
|
tags:
|
||||||
|
- Quests
|
||||||
summary: add_quest
|
summary: add_quest
|
||||||
description: Add a quest
|
description: Add a quest
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -159,6 +182,8 @@ paths:
|
||||||
|
|
||||||
/add_side_quest:
|
/add_side_quest:
|
||||||
post:
|
post:
|
||||||
|
tags:
|
||||||
|
- Side Quests
|
||||||
summary: add_side_quest
|
summary: add_side_quest
|
||||||
description: Add a side quest
|
description: Add a side quest
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -180,6 +205,8 @@ paths:
|
||||||
|
|
||||||
/update_quest:
|
/update_quest:
|
||||||
post:
|
post:
|
||||||
|
tags:
|
||||||
|
- Quests
|
||||||
summary: update_quest
|
summary: update_quest
|
||||||
description: To change any of the parameters of a quest. (Pass atleast one of optional parameters)
|
description: To change any of the parameters of a quest. (Pass atleast one of optional parameters)
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -205,6 +232,8 @@ paths:
|
||||||
|
|
||||||
/update_side_quest:
|
/update_side_quest:
|
||||||
post:
|
post:
|
||||||
|
tags:
|
||||||
|
- Side Quests
|
||||||
summary: update_side_quest
|
summary: update_side_quest
|
||||||
description: To change any of the parameters of a side quest. (Pass atleast one of optional parameters)
|
description: To change any of the parameters of a side quest. (Pass atleast one of optional parameters)
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -230,6 +259,8 @@ paths:
|
||||||
|
|
||||||
/delete_quest:
|
/delete_quest:
|
||||||
delete:
|
delete:
|
||||||
|
tags:
|
||||||
|
- Quests
|
||||||
summary: delete_quest
|
summary: delete_quest
|
||||||
description: Delete a Quest
|
description: Delete a Quest
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -247,6 +278,8 @@ paths:
|
||||||
|
|
||||||
/delete_side_quest:
|
/delete_side_quest:
|
||||||
delete:
|
delete:
|
||||||
|
tags:
|
||||||
|
- Side Quests
|
||||||
summary: delete_side_quest
|
summary: delete_side_quest
|
||||||
description: Delete a Side Quest
|
description: Delete a Side Quest
|
||||||
parameters:
|
parameters:
|
||||||
|
|
Loading…
Reference in New Issue