Update encounter
Partial update of encounter fields. Accepts description, difficulty, party_level, party_size, game_system, project_context, environment. Generated data JSONB is preserved - re-generate the encounter if you want fresh content.
Path Parameters
Body
PATCH /v1/projects/{project_id}/encounters/{encounter_id}.
Every field is optional - caller sends only the keys they intend to
change. Generated data JSONB is preserved across the update; to
refresh content, re-issue POST /encounters/{id}/generate.
1 - 500^(easy|medium|hard|deadly)$1 <= x <= 201 <= x <= 105050000100Response
Encounter updated
Encounter resource representation.
Unique encounter identifier
Brief description of the encounter scenario
Project this encounter belongs to
Human-readable slug for the URL (/projects/<slug>/encounters/<external_id>). Derived from description at create time and immutable. May be null on rows that pre-date migration 102 backfill - frontend falls back to id. See docs/conventions/dashboard-slug-urls.md.
Lifecycle status: brainstorm | draft | final
Encounter difficulty level
Active generation session ID, if any
ISO 8601 creation timestamp
URL of a generated battle-map / token image when generate_token=true was passed and image generation succeeded. Null otherwise.