Download OpenAPI specification:Download
API specification for an AoS REST API (Unofficial)
Get all allegiances
limit | integer number of allegiances to return |
offset | integer number of allegiances to skip |
name | string name of allegiance to filter by |
grand_alliance | string id of grand alliance to filter by |
[- {
- "_id": "string",
- "name": "string",
- "description": "string",
- "grand_alliance": "string",
- "mortal_realm": "string"
}
]
[- {
- "_id": "string",
- "name": "string",
- "units": [
- {
- "_id": "string",
- "name": "string",
- "allegiance": "string",
- "grand_alliance": "string",
- "champion": "string",
- "size": "string",
- "move": "string",
- "description": "string",
- "save": 0,
- "bravery": 0,
- "models": 0,
- "points": 0,
- "wounds": 0,
- "abilities": [
- {
- "name": "string",
- "description": "string"
}
], - "keywords": [
- "string"
], - "command_abilities": [
- {
- "name": "string",
- "description": "string"
}
], - "magic": [
- {
- "name": "string",
- "description": "string"
}
], - "damage_table": [
- {
- "_id": "string",
- "wound_track_position": 0,
- "move": "string",
- "min_wounds_suffered": 0
}
], - "missile_weapons": [
- {
- "_id": "string",
- "name": "Lance and Sword",
- "range": "string",
- "attacks": "string",
- "to_hit": "string",
- "to_wound": "string",
- "rend": "string",
- "damage": "string"
}
], - "melee_weapons": [
- {
- "_id": "string",
- "name": "Lance and Sword",
- "range": "string",
- "attacks": "string",
- "to_hit": "string",
- "to_wound": "string",
- "rend": "string",
- "damage": "string"
}
]
}
]
}
]
{- "_id": "string",
- "name": "string",
- "units": [
- {
- "_id": "string",
- "name": "string",
- "allegiance": "string",
- "grand_alliance": "string",
- "champion": "string",
- "size": "string",
- "move": "string",
- "description": "string",
- "save": 0,
- "bravery": 0,
- "models": 0,
- "points": 0,
- "wounds": 0,
- "abilities": [
- {
- "name": "string",
- "description": "string"
}
], - "keywords": [
- "string"
], - "command_abilities": [
- {
- "name": "string",
- "description": "string"
}
], - "magic": [
- {
- "name": "string",
- "description": "string"
}
], - "damage_table": [
- {
- "_id": "string",
- "wound_track_position": 0,
- "move": "string",
- "min_wounds_suffered": 0
}
], - "missile_weapons": [
- {
- "_id": "string",
- "name": "Lance and Sword",
- "range": "string",
- "attacks": "string",
- "to_hit": "string",
- "to_wound": "string",
- "rend": "string",
- "damage": "string"
}
], - "melee_weapons": [
- {
- "_id": "string",
- "name": "Lance and Sword",
- "range": "string",
- "attacks": "string",
- "to_hit": "string",
- "to_wound": "string",
- "rend": "string",
- "damage": "string"
}
]
}
]
}
Get all units
limit | integer number of units to return |
offset | integer number of units to skip |
name | string name of unit to filter by |
allegiance | string allegiance of unit to filter by |
grand_alliance | string grand alliance of unit to filter by |
grand_strategy | string grand strategy of unit to filter by |
points | integer points of unit to filter by |
[- {
- "_id": "string",
- "name": "string",
- "allegiance": "string",
- "grand_alliance": "string",
- "champion": "string",
- "size": "string",
- "move": "string",
- "description": "string",
- "save": 0,
- "bravery": 0,
- "models": 0,
- "points": 0,
- "wounds": 0,
- "abilities": [
- {
- "name": "string",
- "description": "string"
}
], - "keywords": [
- "string"
], - "command_abilities": [
- {
- "name": "string",
- "description": "string"
}
], - "magic": [
- {
- "name": "string",
- "description": "string"
}
], - "damage_table": [
- {
- "_id": "string",
- "wound_track_position": 0,
- "move": "string",
- "min_wounds_suffered": 0
}
], - "missile_weapons": [
- {
- "_id": "string",
- "name": "Lance and Sword",
- "range": "string",
- "attacks": "string",
- "to_hit": "string",
- "to_wound": "string",
- "rend": "string",
- "damage": "string"
}
], - "melee_weapons": [
- {
- "_id": "string",
- "name": "Lance and Sword",
- "range": "string",
- "attacks": "string",
- "to_hit": "string",
- "to_wound": "string",
- "rend": "string",
- "damage": "string"
}
]
}
]
{- "_id": "string",
- "name": "string",
- "allegiance": "string",
- "grand_alliance": "string",
- "champion": "string",
- "size": "string",
- "move": "string",
- "description": "string",
- "save": 0,
- "bravery": 0,
- "models": 0,
- "points": 0,
- "wounds": 0,
- "abilities": [
- {
- "name": "string",
- "description": "string"
}
], - "keywords": [
- "string"
], - "command_abilities": [
- {
- "name": "string",
- "description": "string"
}
], - "magic": [
- {
- "name": "string",
- "description": "string"
}
], - "damage_table": [
- {
- "_id": "string",
- "wound_track_position": 0,
- "move": "string",
- "min_wounds_suffered": 0
}
], - "missile_weapons": [
- {
- "_id": "string",
- "name": "Lance and Sword",
- "range": "string",
- "attacks": "string",
- "to_hit": "string",
- "to_wound": "string",
- "rend": "string",
- "damage": "string"
}
], - "melee_weapons": [
- {
- "_id": "string",
- "name": "Lance and Sword",
- "range": "string",
- "attacks": "string",
- "to_hit": "string",
- "to_wound": "string",
- "rend": "string",
- "damage": "string"
}
]
}
Get weapons for unit by id
id required | string id of unit to return weapons for |
{- "melee_weapons": [
- {
- "_id": "string",
- "name": "Lance and Sword",
- "range": "string",
- "attacks": "string",
- "to_hit": "string",
- "to_wound": "string",
- "rend": "string",
- "damage": "string"
}
], - "missile_weapons": [
- {
- "_id": "string",
- "name": "Lance and Sword",
- "range": "string",
- "attacks": "string",
- "to_hit": "string",
- "to_wound": "string",
- "rend": "string",
- "damage": "string"
}
]
}
Get all warscrolls
limit | integer number of warscrolls to return |
offset | integer number of warscrolls to skip |
name | string name of warscroll to filter by |
points | integer points of warscroll to filter by |
battlefield_role | string battlefield_role of warscroll to filter by |
size | string size of warscroll to filter by |
notes | string notes of warscroll to filter by |
[- {
- "_id": "string",
- "name": "string",
- "allegiance_id": "string",
- "allegiance": {
- "_id": "string",
- "name": "string",
- "description": "string",
- "grand_alliance": "string",
- "mortal_realm": "string"
}, - "grand_alliance_id": "string",
- "grand_alliance": {
- "_id": "string",
- "name": "string",
- "description": "string"
}, - "size": 0,
- "points": 0,
- "battlefield_role": "string",
- "notes": "string"
}
]
Get warscroll by id
id required | string id of warscroll to return |
{- "_id": "string",
- "name": "string",
- "allegiance_id": "string",
- "allegiance": {
- "_id": "string",
- "name": "string",
- "description": "string",
- "grand_alliance": "string",
- "mortal_realm": "string"
}, - "grand_alliance_id": "string",
- "grand_alliance": {
- "_id": "string",
- "name": "string",
- "description": "string"
}, - "size": 0,
- "points": 0,
- "battlefield_role": "string",
- "notes": "string"
}