open5e/open5e-api

v2 documents substats

augustjohnson opened this issue · 2 comments

The idea is to add a summary of the game content objects that have been added by this document.

Basically at the /document endpoint, add this, based on a calculation done at runtime (possibly could be precalced if there's a performance issue?)

"counts":{"creature":35, "items":203, "spells":40}

Managed here:
#370