mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Add deprecation notice to dashboard import/export docs. (#108826)
This commit is contained in:
parent
8c8dca6ad2
commit
49ba7e746c
6 changed files with 11 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
[[dashboard-api]]
|
||||
== Import and export dashboard APIs
|
||||
|
||||
deprecated::[7.15.0,Both of these APIs have been deprecated in favor of <<saved-objects-api-import>> and <<saved-objects-api-export>>.]
|
||||
|
||||
Import and export dashboards with the corresponding saved objects, such as visualizations, saved
|
||||
searches, and index patterns.
|
||||
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
<titleabbrev>Export dashboard</titleabbrev>
|
||||
++++
|
||||
|
||||
experimental[] Export dashboards and corresponding saved objects.
|
||||
deprecated::[7.15.0,Use <<saved-objects-api-export>> instead.]
|
||||
|
||||
Export dashboards and corresponding saved objects.
|
||||
|
||||
[[dashboard-api-export-request]]
|
||||
==== Request
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
<titleabbrev>Import dashboard</titleabbrev>
|
||||
++++
|
||||
|
||||
experimental[] Import dashboards and corresponding saved objects.
|
||||
deprecated::[7.15.0,Use <<saved-objects-api-import>> instead.]
|
||||
|
||||
Import dashboards and corresponding saved objects.
|
||||
|
||||
[[dashboard-api-import-request]]
|
||||
==== Request
|
||||
|
|
|
@ -345,7 +345,7 @@ To share the dashboard with a larger audience, click *Share* in the toolbar. For
|
|||
[[import-dashboards]]
|
||||
== Export dashboards
|
||||
|
||||
To automate {kib}, you can export dashboards as JSON using the <<dashboard-api,import and export dashboard APIs>>. It is important to export dashboards with all necessary references.
|
||||
To automate {kib}, you can export dashboards as NDJSON using the <<saved-objects-api-export, Export objects API>>. It is important to export dashboards with all necessary references.
|
||||
|
||||
--
|
||||
include::tutorial-create-a-dashboard-of-lens-panels.asciidoc[]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# `legacyExport` plugin
|
||||
# `legacyExport` plugin [deprecated]
|
||||
|
||||
The `legacyExport` plugin adds support for the legacy saved objects export format.
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
import { Plugin, CoreSetup, PluginInitializerContext } from 'kibana/server';
|
||||
import { registerRoutes } from './routes';
|
||||
|
||||
/** @deprecated */
|
||||
export class LegacyExportPlugin implements Plugin<{}, {}> {
|
||||
constructor(private readonly initContext: PluginInitializerContext) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue