Авторизация пользователя
ACTION: auth
METHOD: GET
QUERY: code
---
{
"t":string,
"links": [
{"list_quest": "string"}
]
}
Получения списка квестов
ACTION: list-quest
METHOD: GET
QUERY: t
---
{
"t":string,
"quests": [
{
"quest_id": "string",
"title": "string",
"description": "string",
"link": "string",
}
]
}
Создание игры
ACTION: create-game
METHOD: POST
TYPE: application/json
BODY: t, quest_id
Получения текущего задания
ACTION: task
METHOD: GET
QUERY: t
Отметка точки
ACTION: checkpont
METHOD: POST
TYPE: application/json
BODY: t, lat, lon
---
{
"t":"string",
"quest":{
"questId":"string",
"title":"string",
"description":"string",
"points":[
"string"
]
},
"point":{
"pointId":"string",
"title":"string",
"description":"string"
},
"total_points": int,
"finish": bool,
"links":{
"string":"string"
}
}
Завершение игры
ACTION: finish
METHOD: POST
TYPE: application/json
BODY: t