Skip to main content
GET
/
shop
/
list
list all items from the ItemRegistry with their costs
curl --request GET \
  --url http://localhost:3917/shop/list
{
  "items": [
    {
      "cost": 50,
      "id": 1,
      "name": "Health Potion",
      "properties": {
        "cost": 50,
        "heal": 150
      }
    }
  ]
}

Response

200 - application/json

All registered items sorted by id, each with its cost (from the cost property, 0 if unset) and full properties map.