Przeglądaj źródła

[DOCS] Creates rest-api folder in docs

lcawl 7 lat temu
rodzic
commit
7c05f69c39

+ 1 - 1
docs/reference/index.asciidoc

@@ -63,7 +63,7 @@ include::{xes-repo-dir}/monitoring/index.asciidoc[]
 
 include::{xes-repo-dir}/rollup/index.asciidoc[]
 
-include::{xes-repo-dir}/rest-api/index.asciidoc[]
+include::rest-api/index.asciidoc[]
 
 include::{xes-repo-dir}/commands/index.asciidoc[]
 

+ 29 - 0
docs/reference/rest-api/index.asciidoc

@@ -0,0 +1,29 @@
+[role="xpack"]
+[[xpack-api]]
+= {xpack} APIs
+
+[partintro]
+--
+{xpack} exposes REST APIs that are used by the UI components and can be called
+directly to configure and access {xpack} features.
+
+* <<info-api,Info API>>
+* <<graph-explore-api,Graph Explore API>>
+* <<licensing-apis,Licensing APIs>>
+* <<ml-apis,Machine Learning APIs>>
+* <<security-api,Security APIs>>
+* <<watcher-api,Watcher APIs>>
+* <<rollup-apis,Rollup APIs>>
+* <<migration-api,Migration APIs>>
+--
+
+
+include::{xes-repo-dir}/rest-api/info.asciidoc[]
+include::{xes-repo-dir}/rest-api/graph/explore.asciidoc[]
+include::{xes-repo-dir}/rest-api/licensing.asciidoc[]
+include::{xes-repo-dir}/rest-api/migration.asciidoc[]
+include::{xes-repo-dir}/rest-api/ml-api.asciidoc[]
+include::{xes-repo-dir}/rest-api/rollup-api.asciidoc[]
+include::{xes-repo-dir}/rest-api/security.asciidoc[]
+include::{xes-repo-dir}/rest-api/watcher.asciidoc[]
+include::{xes-repo-dir}/rest-api/defs.asciidoc[]

+ 0 - 29
x-pack/docs/en/rest-api/index.asciidoc

@@ -1,29 +0,0 @@
-[role="xpack"]
-[[xpack-api]]
-= {xpack} APIs
-
-[partintro]
---
-{xpack} exposes REST APIs that are used by the UI components and can be called
-directly to configure and access {xpack} features.
-
-* <<info-api,Info API>>
-* <<graph-explore-api,Graph Explore API>>
-* <<licensing-apis,Licensing APIs>>
-* <<ml-apis,Machine Learning APIs>>
-* <<security-api,Security APIs>>
-* <<watcher-api,Watcher APIs>>
-* <<rollup-apis,Rollup APIs>>
-* <<migration-api,Migration APIs>>
---
-
-
-include::info.asciidoc[]
-include::graph/explore.asciidoc[]
-include::licensing.asciidoc[]
-include::migration.asciidoc[]
-include::ml-api.asciidoc[]
-include::rollup-api.asciidoc[]
-include::security.asciidoc[]
-include::watcher.asciidoc[]
-include::defs.asciidoc[]