get_scenario_bundle
Retrieve all scenario descriptions in a single response. Use a cached hash to check for changes: if hash matches, returns no data; otherwise, returns full bundle. Reduces round-trips from multiple calls to one request.
Instructions
Return ALL scenario descriptions in a single response.
The bundle includes every scenario's full describe_scenario
output plus a content hash. The client caches the bundle
locally; on the next login it sends cached_hash — if it
matches, the server returns {ok, match: true} (no data
transfer). If it doesn't match (scenarios changed), the
full bundle is returned.
This replaces 30+ sequential describe_scenario calls with one round-trip (~200ms vs ~7s).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | ||
| cached_hash | No |