Skip to content

Commit

Permalink
[DOCS] Add redirects, update JSON spec to fix docs build (#51747)
Browse files Browse the repository at this point in the history
Docs build [#11556][0] broke due to several outdated or incorrect links
in the JSON REST spec.

This fixes those links where possible and adds redirects.

[0]: https://elasticsearch-ci.elastic.co/job/elastic+docs+master+build/11556/
  • Loading branch information
jrodewig authored Jan 31, 2020
1 parent dd41358 commit 445655f
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 5 deletions.
25 changes: 25 additions & 0 deletions docs/reference/redirects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ See <<slm-api-delete-policy>>.

See <<slm-api-execute-lifecycle>>.

[role="exclude",id="slm-api-execute-policy"]
=== {slm-init} execute lifecycle API

See <<slm-api-execute-lifecycle>>.

[role="exclude",id="slm-api-get"]
=== {slm-init} get policy API

Expand All @@ -341,7 +346,27 @@ See <<slm-api-get-policy>>.

See <<slm-api-get-stats>>.

[role="exclude",id="slm-get-status"]
=== {slm-init} status API

See <<slm-api-get-status>>.

[role="exclude",id="slm-api-put"]
=== {slm-init} put policy API

See <<slm-api-put-policy>>.

[role="exclude",id="slm-start"]
=== Start {slm} API

See <<slm-api-start>>.

[role="exclude",id="slm-stop"]
=== Stop {slm} API

See <<slm-api-stop>>.

[role="exclude",id="eql-search"]
=== EQL search API

See <<eql>>.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"eql.search":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search.html"
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/eql.html"
},
"stability": "beta",
"url":{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"slm.execute_lifecycle":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-policy.html"
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-lifecycle.html"
},
"stability":"stable",
"url":{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"slm.get_status":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-get-status.html"
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-status.html"
},
"stability":"stable",
"url":{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"slm.start":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-start.html"
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-start.html"
},
"stability":"stable",
"url":{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"slm.stop":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-stop.html"
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html"
},
"stability":"stable",
"url":{
Expand Down

0 comments on commit 445655f

Please sign in to comment.