-
Notifications
You must be signed in to change notification settings - Fork 2
Resource BattleOrderResource
CrucifiedPain edited this page Jun 26, 2026
·
10 revisions
Endpoints: • battleOrder.getByBattle
Get active battle orders for a specific battle and side.
Args: battle_id: The unique identifier of the battle. side: Which side — attacker or defender.
await client.battleorder.get_by_battle(battle_id: 'str', side: 'BattleOrderSide | str') -> 'list[BattleOrder]'| Name | Type | Default |
|---|---|---|
battle_id |
str |
*Required* |
side |
BattleOrderSide | str |
*Required* |
A battle order placed by a military unit for a specific battle and side.
| Field | Type | Required | Description |
|---|---|---|---|
_id |
string \| null |
❌ | |
__v |
integer \| null |
❌ | |
battleId |
string \| null |
❌ | |
side |
string \| null |
❌ | |
muId |
string \| null |
❌ | |
muName |
string \| null |
❌ | |
countryId |
string \| null |
❌ | |
details |
object \| null |
❌ |
Clear the SWR cache for all resources.
await client.battleorder.invalidate_cache() -> 'None'- action_log
- alliance
- article
- battle
- battle_loot_summary
- battle_order
- battle_ranking
- company
- country
- donation
- election
- event
- game_config
- game_stat
- government
- inventory
- item_trading
- mercenary_contract_auction
- mu
- mu_member
- party
- ranking
- region
- round
- search
- tournament
- transaction
- upgrade
- user
- work
- work_offer
- worker