Crafting
The crafting API allows you to craft item like scanner or worker upgrade.
Show all craft receipe
/craft
@GET
Allow you to craft item. THIS DOES NOT WORK FOR WORKER UPGRADE.
/craft
@POST
{
"craftName":"The name of the craft",
"quantity": Integer
}
Exemple:
{
"craftName":"Scanner",
"quantity": 3
}
Allow you to upgrade a worker.
/craft/worker
@POST
{
"craftName":"The name of the craft",
"workerID": "The id of the worker"
}
Exemple:
{
"craftName":"MinerT1",
"workerID": "dae29e6e-d522-4518-b1b3-049fa7e85a71"
}