Browse Source

[DOCS] Add redirects for missing data stream API docs (#53866)

The following API spec files contain a link to a not-yet-created
docs page for the data stream APIs:

* [indices.create_data_stream.json][0]
* [indices.delete_data_stream.jsonn][1]
* [indices.get_data_streams.json][2]

The Elaticsearch-JS client uses these spec files to create their docs.
This created a broken link in the Elaticsearch-JS, which has broken
the docs build.

This PR adds a temporary redirect for the docs page. This redirect
should be removed when the actual API docs are added.

[0]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create_data_stream.json
[1]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_data_stream.json
[2]: https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_data_streams.json

Relates to #53558.

CC @martijnvg
James Rodewig 5 years ago
parent
commit
a8c501b5a1
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docs/reference/redirects.asciidoc

+ 5 - 0
docs/reference/redirects.asciidoc

@@ -381,6 +381,11 @@ See <<ccs-gateway-seed-nodes>> and <<ccs-min-roundtrips>>.
 
 
 coming::[7.x]
 coming::[7.x]
 
 
+[role="exclude",id="data-streams"]
+=== Data stream APIs
+
+coming::[7.x]
+
 [role="exclude",id="cat-transform"]
 [role="exclude",id="cat-transform"]
 === cat transform API
 === cat transform API