Skip to main content
GET
/
ability
/
list
/
{id}
list entity's abilities, cooldowns, mana
curl --request GET \
  --url http://localhost:3917/ability/list/{id}
{
  "abilities": [
    {
      "cooldown": 6,
      "cooldown_remaining": 0,
      "mana_cost": 50,
      "name": "Fireball",
      "ready": true,
      "slot": "Q"
    }
  ],
  "entity_id": 5,
  "gold": 600,
  "level": {
    "level": 1,
    "xp": 0,
    "xp_to_next": 100
  },
  "mana": {
    "current": 100,
    "max": 100,
    "regen": 1
  }
}

Path Parameters

id
integer<int32>
required

Entity id whose ability/mana/level state to read.

Required range: x >= 0

Response

200 - application/json

The entity's abilities (with cooldowns/mana cost), plus mana, gold, and level. Returns an error field when the entity is not found.