-
Notifications
You must be signed in to change notification settings - Fork 2
Resource BattleOrderResource
GitHub Action Wiki Bot 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.battle_order.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 |
|---|---|---|
_id |
string |
Optional |
__v |
integer |
Optional |
battleId |
string |
Optional |
side |
string |
Optional |
muId |
string |
Optional |
muName |
string |
Optional |
countryId |
string |
Optional |
details |
object |
Optional |
Clear the SWR cache for all resources.
await client.battle_order.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