Skip to content

Commit 445655f

Browse files
authored
[DOCS] Add redirects, update JSON spec to fix docs build (#51747)
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/
1 parent dd41358 commit 445655f

File tree

6 files changed

+30
-5
lines changed

6 files changed

+30
-5
lines changed

docs/reference/redirects.asciidoc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,11 @@ See <<slm-api-delete-policy>>.
331331

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

334+
[role="exclude",id="slm-api-execute-policy"]
335+
=== {slm-init} execute lifecycle API
336+
337+
See <<slm-api-execute-lifecycle>>.
338+
334339
[role="exclude",id="slm-api-get"]
335340
=== {slm-init} get policy API
336341

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

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

349+
[role="exclude",id="slm-get-status"]
350+
=== {slm-init} status API
351+
352+
See <<slm-api-get-status>>.
353+
344354
[role="exclude",id="slm-api-put"]
345355
=== {slm-init} put policy API
346356

347357
See <<slm-api-put-policy>>.
358+
359+
[role="exclude",id="slm-start"]
360+
=== Start {slm} API
361+
362+
See <<slm-api-start>>.
363+
364+
[role="exclude",id="slm-stop"]
365+
=== Stop {slm} API
366+
367+
See <<slm-api-stop>>.
368+
369+
[role="exclude",id="eql-search"]
370+
=== EQL search API
371+
372+
See <<eql>>.

x-pack/plugin/src/test/resources/rest-api-spec/api/eql.search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"eql.search":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search.html"
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/eql.html"
55
},
66
"stability": "beta",
77
"url":{

x-pack/plugin/src/test/resources/rest-api-spec/api/slm.execute_lifecycle.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"slm.execute_lifecycle":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-policy.html"
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-lifecycle.html"
55
},
66
"stability":"stable",
77
"url":{

x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"slm.get_status":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-get-status.html"
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-status.html"
55
},
66
"stability":"stable",
77
"url":{

x-pack/plugin/src/test/resources/rest-api-spec/api/slm.start.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"slm.start":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-start.html"
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-start.html"
55
},
66
"stability":"stable",
77
"url":{

x-pack/plugin/src/test/resources/rest-api-spec/api/slm.stop.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"slm.stop":{
33
"documentation":{
4-
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-stop.html"
4+
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html"
55
},
66
"stability":"stable",
77
"url":{

0 commit comments

Comments
 (0)