Files
dwroller/database/npcs-api.json
Alex caf8a03553 feat: Add scripts for upserting and validating bestiary data
- Implemented `upsert-allewis-from-5001.js` to fetch and update Allewis data from API.
- Created `upsert-missing-movement-from-5001.js` to fill missing movement and wounds data from API.
- Developed `upsert-missing-movement-from-pdfs.js` to extract movement and wounds from PDF text.
- Added `upsert-missing-profiles-from-pdfs.js` to fill missing profiles from PDF data.
- Introduced `upsert-missing-wounds-from-pdfs.js` to update wounds data from PDF sources.
- Created `validate-bestiary.js` to validate the structure of the bestiary JSON.
- Updated `BestiaryTab.jsx` component to display bestiary data with improved structure and search functionality.
- Added tests for `BestiaryTab` to ensure proper rendering and functionality.
2025-08-17 16:21:00 +02:00

2 lines
513 B
JSON

{"cors":"Enabled for dwroller.alw.dk","description":"REST API providing Warhammer 40k Deathwatch NPCs for dwroller.alw.dk","endpoints":{"GET /api/factions":"Get all available factions","GET /api/npcs":"Get all NPCs","GET /api/npcs/random":"Get random NPC","GET /api/npcs/search?q=query":"Search NPCs by name/description","GET /api/npcs/{id}":"Get specific NPC by ID","GET /api/types":"Get all NPC types"},"name":"Deathwatch NPC API","source":"Deathwatch: The Emperor Protects PDF","total_npcs":6,"version":"1.0"}