AddTechByBot

POST /bot/{discordid}/tech

Adds the list of learned technologies to that user.

Query parameters

  • tech string Required

    Item name

  • tree string Required

    Technology tree of the item

    Values are Vitamins, Equipment, Construction, Crafting, or Walkers.

Responses

POST /bot/{discordid}/tech
curl \
 --request POST 'http://api.example.com/bot/{discordid}/tech?tech=string&tree=Vitamins' \
 --header "apiKey: $API_KEY"
Response examples (200)
{
  "discordtag": "string",
  "Vitamins": [
    "string"
  ],
  "Equipment": [
    "string"
  ],
  "Crafting": [
    "string"
  ],
  "Construction": [
    "string"
  ],
  "Walkers": [
    "string"
  ]
}
Response examples (400)
string
Response examples (401)
string
Response examples (404)
string
Response examples (503)
string