Browse Source

[DOCS] Change 'X-Pack APIs' section to 'REST APIs' (#43451)

James Rodewig 6 years ago
parent
commit
1594892312

+ 2 - 2
client/rest-high-level/src/main/java/org/elasticsearch/client/XPackClient.java

@@ -35,8 +35,8 @@ import static java.util.Collections.emptySet;
  * default distribution of Elasticsearch. All of these APIs will 404 if run
  * against the OSS distribution of Elasticsearch.
  * <p>
- * See the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-api.html">
- * X-Pack APIs on elastic.co</a> for more information.
+ * See the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/rest-apis.html">
+ * REST APIs on elastic.co</a> for more information.
  */
 public final class XPackClient {
 

+ 2 - 2
docs/reference/index.asciidoc

@@ -65,8 +65,6 @@ include::frozen-indices.asciidoc[]
 
 include::administering.asciidoc[]
 
-include::rest-api/index.asciidoc[]
-
 include::commands/index.asciidoc[]
 
 :edit_url:
@@ -76,6 +74,8 @@ include::testing.asciidoc[]
 
 include::glossary.asciidoc[]
 
+include::rest-api/index.asciidoc[]
+
 include::release-notes/highlights.asciidoc[]
 
 include::migration/index.asciidoc[]

+ 6 - 1
docs/reference/redirects.asciidoc

@@ -615,4 +615,9 @@ the steps needed to migrate.
 
 The `common` terms query is deprecated. Use the <<query-dsl-match-query, `match`
 query>> instead. The `match` query skips blocks of documents efficiently,
-without any configuration, if the total number of hits is not tracked.
+without any configuration, if the total number of hits is not tracked.
+
+[role="exclude",id="xpack-api"]
+=== X-Pack APIs
+
+{es} {xpack} APIs are now documented in <<rest-apis, REST APIs>>. 

+ 8 - 5
docs/reference/rest-api/index.asciidoc

@@ -1,11 +1,14 @@
-[role="xpack"]
-[[xpack-api]]
-= {xpack} APIs
+[[rest-apis]]
+= REST APIs
 
 [partintro]
 --
-{xpack} exposes REST APIs that are used by the UI components and can be called
-directly to configure and access {xpack} features.
+{es} exposes REST APIs that are used by the UI components and can be called
+directly to configure and access {es} features.
+
+[NOTE]
+We are working on including more {es} APIs in this section. Some content might
+not be included yet.
 
 * <<info-api,Info API>>
 * <<ccr-apis,{ccr-cap} APIs>>