[Discover Sessions as Code] Rename discover_session_id to ref_id#261186
Merged
lukasolson merged 9 commits intoApr 7, 2026
Conversation
…chema Aligns the Discover session embeddable by-reference field with other as-code schemas (e.g. Lens) that use ref_id for saved object references. Updates server schema, transform utilities, type guards, serialization, and tests. Made-with: Cursor
Contributor
|
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
AlexGPlay
approved these changes
Apr 6, 2026
5 tasks
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
cc @lukasolson |
nickpeihl
added a commit
that referenced
this pull request
Apr 8, 2026
…cal Preview (#256302) Fixes #256073 ## Summary Introduces the Dashboard API endpoints as Technical Preview Dashboard API documentation will be published as OpenAPI specifications and available in the [Kibana API Documentation](https://www.elastic.co/docs/api/doc/kibana/). Dashboard API create/update endpoints are initially limited to a select few types including Lens, markdown, synthetics, and SLO panels. Support for additional panel types will be available in future updates. ## OAS documentation To build documentation bundle for public route * Add `server.oas.enabled: true` to `config/kibana.dev.yml` * Run `node scripts/capture_oas_snapshot --include-path /api/dashboards --no-serverless --update` ### Blocked by - [x] #259670 - [x] #259461 - [x] #260040 - [x] #261186 - [x] #260945 --------- Co-authored-by: Nathan Reese <reese.nathan@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Nick Partridge <nicholas.partridge@elastic.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Renames the Discover session embeddable by-reference field from
discover_session_idtoref_idso it matches other as-code panel schemas (e.g. Lens) that useref_idfor saved object references.Changes
ref_idinstead ofdiscover_session_id