Skip to content

Commit

Permalink
[DOCS] Remove saved object and data view API pages (elastic#190654)
Browse files Browse the repository at this point in the history
Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
  • Loading branch information
lcawl and florent-leborgne committed Aug 20, 2024
1 parent 845d275 commit cf43ba2
Show file tree
Hide file tree
Showing 51 changed files with 175 additions and 3,586 deletions.
2 changes: 1 addition & 1 deletion docs/api/dashboard-api.asciidoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[[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>>.]
deprecated::[7.15.0,Both of these APIs have been deprecated in favor of the {api-kibana}/group/endpoint-saved-objects[saved objects API].]

Import and export dashboards with the corresponding saved objects, such as visualizations, saved
searches, and data views.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/dashboard/export-dashboard.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<titleabbrev>Export dashboard</titleabbrev>
++++

deprecated::[7.15.0,Use <<saved-objects-api-export>> instead.]
deprecated::[7.15.0,Use the {api-kibana}/group/endpoint-saved-objects[saved objects API] instead.]

Export dashboards and corresponding saved objects.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/dashboard/import-dashboard.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<titleabbrev>Import dashboard</titleabbrev>
++++

deprecated::[7.15.0,Use <<saved-objects-api-import>> instead.]
deprecated::[7.15.0,Use the {api-kibana}/group/endpoint-saved-objects[saved objects API] instead.]

Import dashboards and corresponding saved objects.

Expand Down
18 changes: 1 addition & 17 deletions docs/api/data-views.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,10 @@

Manage data views, formerly known as {kib} index patterns.

NOTE: For the latest details, refer to {api-kibana}/group/endpoint-data-views[data view APIs].
For the latest details, refer to {api-kibana}/group/endpoint-data-views[data view APIs].

WARNING: Do not write documents directly to the `.kibana` index. When you write directly
to the `.kibana` index, the data becomes corrupted and permanently breaks future {kib} versions.

WARNING: Use the data views APIs for managing data views instead of lower-level <<saved-objects-api, saved objects API>>.

include::data-views/get-all.asciidoc[]
include::data-views/get.asciidoc[]
include::data-views/create.asciidoc[]
include::data-views/update.asciidoc[]
include::data-views/delete.asciidoc[]
include::data-views/swap_references_preview.asciidoc[]
include::data-views/swap_references.asciidoc[]
include::data-views/default-get.asciidoc[]
include::data-views/default-set.asciidoc[]
include::data-views/update-fields.asciidoc[]
include::data-views/runtime-fields/get.asciidoc[]
include::data-views/runtime-fields/create.asciidoc[]
include::data-views/runtime-fields/upsert.asciidoc[]
include::data-views/runtime-fields/update.asciidoc[]
include::data-views/runtime-fields/delete.asciidoc[]

260 changes: 0 additions & 260 deletions docs/api/data-views/create.asciidoc

This file was deleted.

61 changes: 0 additions & 61 deletions docs/api/data-views/default-get.asciidoc

This file was deleted.

Loading

0 comments on commit cf43ba2

Please sign in to comment.