Skip to content

Commit

Permalink
[DOCS] Add links to SLM and snapshot APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Dec 31, 2024
1 parent 4da0180 commit 478eb8c
Show file tree
Hide file tree
Showing 25 changed files with 150 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/reference/slm/apis/slm-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
[[snapshot-lifecycle-management-api]]
== {slm-cap} APIs

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
--

You use the following APIs to set up policies to automatically take snapshots and
control how long they are retained.

Expand Down
6 changes: 6 additions & 0 deletions docs/reference/slm/apis/slm-delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<titleabbrev>Delete policy</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
--

Deletes an existing snapshot lifecycle policy.

[[slm-api-delete-lifecycle-request]]
Expand Down
6 changes: 6 additions & 0 deletions docs/reference/slm/apis/slm-execute-retention.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<titleabbrev>Execute snapshot retention policy</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
--

Deletes any snapshots that are expired according to the policy's retention rules.

[[slm-api-execute-retention-request]]
Expand Down
6 changes: 6 additions & 0 deletions docs/reference/slm/apis/slm-execute.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<titleabbrev>Execute snapshot lifecycle policy</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
--

Immediately creates a snapshot according to the lifecycle policy,
without waiting for the scheduled time.

Expand Down
6 changes: 6 additions & 0 deletions docs/reference/slm/apis/slm-get-status.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<titleabbrev>Get {slm} status</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
--

Retrieves the status of {slm} ({slm-init}).

[[slm-api-get-status-request]]
Expand Down
6 changes: 6 additions & 0 deletions docs/reference/slm/apis/slm-get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<titleabbrev>Get policy</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
--

Retrieves one or more snapshot lifecycle policy definitions and
information about the latest snapshot attempts.

Expand Down
7 changes: 6 additions & 1 deletion docs/reference/slm/apis/slm-put.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
<titleabbrev>Create or update policy</titleabbrev>
++++

Creates or updates a snapshot lifecycle policy.
.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
--

Creates or updates a snapshot lifecycle policy.

[[slm-api-put-request]]
==== {api-request-title}
Expand Down
7 changes: 6 additions & 1 deletion docs/reference/slm/apis/slm-start.asciidoc
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
[role="xpack"]
[[slm-api-start]]
=== Start {slm} API

[subs="attributes"]
++++
<titleabbrev>Start {slm}</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
--

Turns on {slm} ({slm-init}).

[[slm-api-start-request]]
Expand Down
6 changes: 6 additions & 0 deletions docs/reference/slm/apis/slm-stats.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<titleabbrev>Get snapshot lifecycle stats</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
--

Returns global and policy-level statistics about actions taken by {slm}.

[[slm-api-stats-request]]
Expand Down
7 changes: 6 additions & 1 deletion docs/reference/slm/apis/slm-stop.asciidoc
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
[role="xpack"]
[[slm-api-stop]]
=== Stop {slm} API

[subs="attributes"]
++++
<titleabbrev>Stop {slm}</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-slm[{slm-cap} APIs].
--

Turn off {slm} ({slm-init}).

[[slm-api-stop-request]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Clean up snapshot repository</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Triggers the review of a snapshot repository's contents and deletes any stale
data that is not referenced by existing snapshots. See
<<snapshots-repository-cleanup>>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Clone snapshot</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Clones part or all of a snapshot into a new snapshot.

[source,console]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Create snapshot</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

<<snapshots-take-snapshot,Takes a snapshot>> of a cluster or specified data
streams and indices.

Expand Down
6 changes: 6 additions & 0 deletions docs/reference/snapshot-restore/apis/delete-repo-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Delete snapshot repository</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Unregisters one or more <<snapshots-register-repository,snapshot repositories>>.

When a repository is unregistered, {es} only removes the reference to the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Delete snapshot</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Deletes a <<snapshot-restore,snapshot>>.

////
Expand Down
6 changes: 6 additions & 0 deletions docs/reference/snapshot-restore/apis/get-repo-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Get snapshot repository</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Gets information about one or more registered
<<snapshots-register-repository,snapshot repositories>>.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Get snapshot</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Retrieves information about one or more snapshots.

////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Get snapshot status</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Retrieves a detailed description of the current state for each shard participating in the snapshot. Note that this API should only be used to obtain detailed shard-level information for ongoing snapshots. If this detail is not needed, or you want to obtain information about one or more existing snapshots, use the <<get-snapshot-api,get snapshot API>>.

////
Expand Down
6 changes: 6 additions & 0 deletions docs/reference/snapshot-restore/apis/put-repo-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Create or update snapshot repository</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Registers or updates a <<snapshots-register-repository,snapshot repository>>.

[source,console]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<titleabbrev>Repository analysis</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Analyzes a repository, reporting its performance characteristics and any
incorrect behaviour found.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Restore snapshot</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Restores a <<snapshot-restore,snapshot>> of a cluster or specified data streams and indices.

////
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
[[snapshot-restore-apis]]
== Snapshot and restore APIs

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

You can use the following APIs to set up snapshot repositories, manage snapshot
backups, and restore snapshots to a running cluster.

Expand Down
6 changes: 6 additions & 0 deletions docs/reference/snapshot-restore/apis/verify-repo-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<titleabbrev>Verify snapshot repository</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Checks for common misconfigurations in a snapshot repository. See
<<snapshots-repository-verification>>.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<titleabbrev>Verify repository integrity</titleabbrev>
++++

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-snapshot[Snapshot and restore APIs].
--

Verifies the integrity of the contents of a snapshot repository.

////
Expand Down
6 changes: 6 additions & 0 deletions docs/reference/sql/apis/sql-apis.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
[[sql-apis]]
== SQL APIs

.New API reference
[sidebar]
--
For the most up-to-date API details, refer to {api-es}/group/endpoint-sql[SQL APIs].
--

{es}'s SQL APIs let you run SQL queries on {es} indices and data streams.
For an overview of {es}'s SQL features and related tutorials, see <<xpack-sql>>.

Expand Down

0 comments on commit 478eb8c

Please sign in to comment.