瀏覽代碼

[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 年之前
父節點
當前提交
a8c501b5a1
共有 1 個文件被更改,包括 5 次插入0 次删除
  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]
 
+[role="exclude",id="data-streams"]
+=== Data stream APIs
+
+coming::[7.x]
+
 [role="exclude",id="cat-transform"]
 === cat transform API