Skip to content

Commit

Permalink
[DOCS] Add redirects for missing data stream API docs (#53866)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jrodewig committed Mar 20, 2020
1 parent 8eacb15 commit 6c57681
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/reference/redirects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6c57681

Please sign in to comment.