Skip to content

Commit

Permalink
[8.15] [DOCS] Remove saved object and data view API pages (#190654) (#…
Browse files Browse the repository at this point in the history
…190842)

# Backport

This will backport the following commits from `main` to `8.15`:
- [[DOCS] Remove saved object and data view API pages
(#190654)](#190654)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2024-08-20T17:29:06Z","message":"[DOCS]
Remove saved object and data view API pages (#190654)\n\nCo-authored-by:
florent-leborgne
<florent.leborgne@elastic.co>","sha":"cf43ba2f2702bdcb857d19290931ba6bfc84ff5a","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Saved
Objects","release_note:skip","docs","backport:prev-minor","v8.16.0"],"title":"[DOCS]
Remove saved object and data view API
pages","number":190654,"url":"https://github.com/elastic/kibana/pull/190654","mergeCommit":{"message":"[DOCS]
Remove saved object and data view API pages (#190654)\n\nCo-authored-by:
florent-leborgne
<florent.leborgne@elastic.co>","sha":"cf43ba2f2702bdcb857d19290931ba6bfc84ff5a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/190654","number":190654,"mergeCommit":{"message":"[DOCS]
Remove saved object and data view API pages (#190654)\n\nCo-authored-by:
florent-leborgne
<florent.leborgne@elastic.co>","sha":"cf43ba2f2702bdcb857d19290931ba6bfc84ff5a"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
  • Loading branch information
kibanamachine and lcawl authored Aug 20, 2024
1 parent 45e2284 commit 870c333
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 870c333

Please sign in to comment.