[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
This commit is contained in:
James Rodewig 2020-03-20 09:40:51 -04:00
parent 8eacb153df
commit 6c57681446
1 changed files with 5 additions and 0 deletions

View File

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