Quests
Get All Quests
Query for all the quests that are currently active in game.
POST
https://api.kibotu.ai/quests/eligible
Request Body
- Empty
Response Body
Start Quest
Start the quest participation for the current player.
POST
https://api.kibotu.ai/quests/:questId/start
Request parameters
questId - The _id of a quest is returned in the list of quests from the Get All Quests endpoint.
Request Body
Response Body
- Empty on Success (http 200)
Get Player's Active Quest
Gets the quest that the current player is currently participating in.
POST
https://api.kibotu.ai/quests/active
Request Body
Response Body
- Identical to the Quest object listed in the Get All Quests response, with an additional property
Add Progress in Quest
Tracks the current player's progress in a specific quest.
POST
https://api.kibotu.ai/quests/:questId/trigger
Request parameters
questId - The _id of a quest is returned from the Get Player's Active Quest endpoint.
Request Body
Response Body
- on Success (http 200)
Finish Quest
Calculates whether the current player has won or lost this quest.
POST
https://api.kibotu.ai/quests/:questId/finish
Request parameters
questId - The _id of a quest is returned from the Get Player's Active Quest endpoint.
Request Body
Response Body
- Returns the latest milestone the player has achieved in this quest.
Dismiss Quest
Removes the quest from the current player's Active Quests list (at the moment list is limited to 1).
POST
https://api.kibotu.ai/quests/:questId/finalize
Request parameters
questId - The _id of a quest is returned from the Get Player's Active Quest endpoint.
Request Body
Response Body
- Empty on Success (http 200)
Verify Quest Prize
You will find this useful for server to server integration, when you want to verify the eligible prize of a finished quest (before committing the transaction of giving the prize)
POST
https://api.kibotu.ai/quests/:questId/verify-prize
Request parameters
questId - The _id of a quest is returned from the Get Player's Active Quest endpoint.
Request Body
Response Body
- Returns the eligible prize for the player (http 200)
Last updated