API Docs
GET

/api/v1/lineups

List all lineups. Supports filtering and pagination.

Query Parameters

agentstringFilter by agent name (case-insensitive)
mapstringFilter by map name (case-insensitive)
sideattack | defense | bothFilter by side
abilitystringFilter by ability name (partial match)
limitnumberMax results to return (default 50, max 200)
offsetnumberNumber of results to skip for pagination

Example Request

curl "https://battlerecap.ziadhussein.com/api/v1/lineups?agent=sova&map=bind&side=attack"

Example Response

{
  "total": 3,
  "lineups": [
    {
      "id": "...",
      "agent": "Sova",
      "map": "Bind",
      "side": "attack",
      "ability": ["Recon Bolt"],
      "title": "A site post-plant recon",
      "videoUrl": "https://cdn.example.com/videos/sova-bind-attack.mp4",
      "description": "Reveals enemies holding A site..."
    }
  ]
}