Skip to content

Commit 612618f

Browse files
graylikemeclaude
andcommitted
docs: add roster building example to llms.txt
Show bvMin, bvMax, and unitType filter usage in a new example query for LLM consumers building roster generation features. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5d872d2 commit 612618f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

crates/api/src/handlers/llms_txt.rs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,26 @@ To paginate: pass `endCursor` from the previous response as `after` in the next
143143
}}
144144
```
145145
146+
### Filter units by BV range and unit type (roster building)
147+
```graphql
148+
{{
149+
units(first: 20, bvMin: 1000, bvMax: 2000, unitType: "mech", eraSlug: "clan-invasion", factionSlug: "clan-wolf") {{
150+
edges {{
151+
node {{
152+
slug
153+
fullName
154+
tonnage
155+
bv
156+
role
157+
}}
158+
}}
159+
pageInfo {{
160+
totalCount
161+
}}
162+
}}
163+
}}
164+
```
165+
146166
### Filter units by faction and era
147167
```graphql
148168
{{

0 commit comments

Comments
 (0)