[* As Code] Use PUT for upserts#260318
Merged
nreese merged 21 commits intoelastic:mainfrom Apr 1, 2026
Merged
Conversation
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
nickofthyme
approved these changes
Mar 31, 2026
nickofthyme
reviewed
Mar 31, 2026
src/platform/plugins/shared/dashboard/server/api/update/register_update_route.ts
Show resolved
Hide resolved
src/platform/plugins/shared/dashboard_markdown/server/api/read/register_read_route.ts
Show resolved
Hide resolved
Contributor
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
History
|
jloleysens
approved these changes
Apr 1, 2026
nickpeihl
approved these changes
Apr 1, 2026
Contributor
nickpeihl
left a comment
There was a problem hiding this comment.
lgtm! presumably lens will update their apis in a separate PR?
Contributor
Author
Right. I am only fixing presentation owned APIs in this effort. |
mbondyra
added a commit
to mbondyra/kibana
that referenced
this pull request
Apr 1, 2026
…heck * commit '6f040b29a5220ce12886a9731f656613e50aff06': (34 commits) [Entity Analytics] Add entity resolution UI to service flyout (elastic#260504) [Dashboard] Fix setState in embeddables (elastic#260082) [EDR Workflows] Unskip FTR tests that failed due to transient Fleet service unavailability (elastic#260519) [Observability:Streams] Fix query streams error handling test (elastic#260777) [Alerting v2] Dispatcher grouping modes, throttle strategies, and matcher autosuggestion (elastic#260249) [Dashboard] State extraction as a consistent override (elastic#259839) [Alerting v2] [Rule authoring] Fix rule name validation and error visibility in create/edit flow (elastic#260337) [Fix] re-introduce sln breadcrumbs to unified rules (elastic#260289) [Security Solution][Endpoint] Updated kibana docs to include `xpack.securitySolution.maxEndpointScriptFileSize` as configurable in cloud (elastic#260568) [Alerting v2] updated the alerting-v2-constants package with artifacts constants, fix to the runbook max characters (elastic#260342) [Automatic Import V2] Provide user tooltips (elastic#260725) [One Workflow] Deduplicate step types by base type in workflow list (elastic#260763) [Security Solution] Execution results UI: Enable the feature flag (elastic#260711) [Metrics][Discover] internal/search/esql_async returns 200 but METRICS_INFO responds with error (elastic#260746) Collapse redundant anyOf/oneOf array unions in OAS query params (elastic#260585) [Unified rules] Hide stack rules from global search (elastic#260088) [Agent Builder] Sidebar navigation updates (elastic#260728) [* As Code] Use PUT for upserts (elastic#260318) Update EUI to v114.0.0 (elastic#259497) [Entity Resolution] Add contextual-security-apps as co-owner of resolution paths (elastic#260659) ... # Conflicts: # src/platform/plugins/shared/dashboard/public/index.ts
eokoneyo
pushed a commit
to davismcphee/kibana
that referenced
this pull request
Apr 2, 2026
Closes elastic#260047 Created elastic#260606 as a follow on to consolidate meta schemas and helper functions into a package. dashboard route changes: * Removes `id` URL parameter from POST route * Adds upsert to PUT route * Uses `asCodeIdSchema` for params.id in PUT route markdown route changes: * Removes `id` URL parameter from POST route * Adds upsert to PUT route * Uses `asCodeIdSchema` for params.id in PUT route * Replaces `markdown panel` copy with `markdown library item`. `Panel` is a dashboard concept. Markdown as code CRUD API deals with library items - not panels asCodeIdSchema changes: * removes `maybe` wrapper * removes derived type AsCodeId. Not used anywhere and just a string --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
paulinashakirova
pushed a commit
to paulinashakirova/kibana
that referenced
this pull request
Apr 2, 2026
Closes elastic#260047 Created elastic#260606 as a follow on to consolidate meta schemas and helper functions into a package. dashboard route changes: * Removes `id` URL parameter from POST route * Adds upsert to PUT route * Uses `asCodeIdSchema` for params.id in PUT route markdown route changes: * Removes `id` URL parameter from POST route * Adds upsert to PUT route * Uses `asCodeIdSchema` for params.id in PUT route * Replaces `markdown panel` copy with `markdown library item`. `Panel` is a dashboard concept. Markdown as code CRUD API deals with library items - not panels asCodeIdSchema changes: * removes `maybe` wrapper * removes derived type AsCodeId. Not used anywhere and just a string --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
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.
Closes #260047
Created #260606 as a follow on to consolidate meta schemas and helper functions into a package.
dashboard route changes:
idURL parameter from POST routeasCodeIdSchemafor params.id in PUT routemarkdown route changes:
idURL parameter from POST routeasCodeIdSchemafor params.id in PUT routemarkdown panelcopy withmarkdown library item.Panelis a dashboard concept. Markdown as code CRUD API deals with library items - not panelsasCodeIdSchema changes:
maybewrapper