repair_building
Repair a damaged building in a Crowns territory by specifying its type and territory ID.
Instructions
Repair a building damaged by raids/assaults back up one tier. Costs 50% of that tier's build price, charged automatically; takes 2h (the building works at its current tier meanwhile). checkin.kingdom.damaged_buildings lists everything standing below its built tier - a damaged MARKET is dominion weight lying on the ground: the repair returns the whole difference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your Crowns API key | |
| territory_id | Yes | Territory UUID or polygon_id with the damaged building | |
| building_type | Yes | Which building to repair: market / barracks / watchtower / walls / castle |