Get an adventure
imagine_get_adventureFetch one adventure by id with its settings, ruleset, recommended level, and any user-linked play campaigns. The campaign link is informational only and is set by the user; imagine and play do not auto-sync state between them. If the adventure is one part of a series, parent is populated as { _id, name, link, active } — use imagine_list_adventure_parts on the parent id to see the sibling parts. Caller must have at least 'view' access, with one exception: on a PRIVATE adventure with linked play campaigns, a caller who is a member (owner or accepted player) of one of those campaigns gets a minimal recaps-only shape instead of a 403 — { _id, name, link, image, recapsOnly: true, hasLinkedCampaigns: true }, enough to call imagine_get_adventure_recaps, none of the adventure content. Non-owner viewers of public adventures get a hasLinkedCampaigns boolean in place of the stripped playCampaignIds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Mongo `_id` of the adventure. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||