[Foundry P1] Install & validate foundryvtt-rest-api on the production Foundry instance #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Do this first, before any adapter code. The REST module is documented as version-sensitive, so confirm it works on the actual target instance before sinking adapter time.
Scope
docs/, the required module version, API key setup steps, and the Foundry core version the integration is tested against.Notes
Done when
Roadmap: FoundryVTT Bidirectional Integration, Phase 1 step 1.
Approach change: dev Foundry instance first (2026-07-27)
Decision from today's session: the Foundry pillar will be built against a dedicated dev Foundry instance, which does not exist yet. Standing one up is now the real first step of v4.0.0 — ahead of everything in this issue.
That partially supersedes this issue's "validate against the real instance, not a throwaway" instruction, so worth being precise about what still holds and what changes:
Still holds — and is now the thing to get right. The module is version-sensitive; that was the whole reason for insisting on the real instance. A dev instance is a perfectly good validation target provided it matches production's Foundry core version and module version. So the deliverable sharpens rather than weakens: record the tested (Foundry core version,
foundryvtt-rest-apiversion) pair, and treat a drift between dev and prod on either as the compatibility risk to watch. A dev instance on a different core version would give false confidence — exactly what the original wording was guarding against.Changes. Installing the module on production is no longer step one. Prod becomes a later verification step, once the adapter work is proven against dev.
Why a dev instance is worth the setup cost: this pillar writes into Foundry — actors, tokens, journal entries, live scenes (v4.2.0). Developing that against a live game world risks corrupting real campaign data, and there is no undo for a bad actor push. The same gap exists on the Discord side, incidentally: the dev bot has no
DISCORD_BOT_TOKEN, so bot behaviour is currently only exercisable in production.Suggested revised order for v4.0.0:
foundryvtt-rest-apion it; confirm reachability from the backend. (this issue)docs/. (this issue)No code has been written for this pillar yet, so nothing is invalidated by the change.
🤖 Generated with Claude Code