Update Progress Quest
The Update Quest Progress API allows applications to update the completion status of a specific quest.
Request
POST /v1/quest/updateProgress?taskId=COLECT_OUTFIT&taskParams=4 HTTP/1.1
Host: quest-dev.api.mimiland.io
Accept: application/json
mm-client-id: mml
mm-user-id: 65326348d995b4f348456dce
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQIconst myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("mm-client-id", "mml");
myHeaders.append("mm-user-id", "65326348d995b4f348456dce");
myHeaders.append("Authorization", "bearer v4.public.eyJhZC*****5xTtpdbQI");
const requestOptions = {
method: "POST",
headers: myHeaders,
redirect: "follow"
};
fetch("https://quest-dev.api.mimiland.io/v1/quest/updateProgress?taskId=COLECT_OUTFIT&taskParams=4", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));Parameter
Key
Type
Description
TaskId *required
String
Id of the task
taskParams *required
Int
Value is updated
Last updated