Skip to content

Commit

Permalink
[DOCS] Fix broken doc url values in JSON API spec (elastic#75385)
Browse files Browse the repository at this point in the history
Fixes a broken link in the `documentation.url` for the field usage stats API and
enroll Kibana API.

These broken links caused the build for the JS client docs to fail.
  • Loading branch information
jrodewig authored and ywangd committed Jul 30, 2021
1 parent 84d4709 commit 65116fa
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/reference/indices.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ For more information, see <<index-templates, Index Templates>>.
[[monitoring]]
=== Monitoring:
* <<indices-stats>>
* <<field-usage-stats>>
* <<indices-segments>>
* <<indices-recovery>>
* <<indices-shards-stores>>
Expand Down Expand Up @@ -109,6 +110,7 @@ include::indices/delete-index.asciidoc[]
include::indices/delete-index-template.asciidoc[]
include::indices/delete-index-template-v1.asciidoc[]
include::indices/indices-exists.asciidoc[]
include::indices/field-usage-stats.asciidoc[]
include::indices/flush.asciidoc[]
include::indices/forcemerge.asciidoc[]
include::indices/apis/freeze.asciidoc[]
Expand Down
12 changes: 11 additions & 1 deletion docs/reference/redirects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1622,4 +1622,14 @@ See <<api-cron-expressions>>.
[role="exclude",id="url-access-control"]
=== URL-based access control

See <<api-url-access-control>>.
See <<api-url-access-control>>.

[role="exclude",id="indices-field-usage-stats"]
=== Field usage stats API

See <<field-usage-stats>>.

[role="exclude",id="security-api-enroll-kibana"]
=== Enroll {kib} API

See <<security-api-kibana-enrollment>>.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"indices.field_usage_stats": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-field-usage-stats.html",
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/field-usage-stats.html",
"description": "Returns the field usage stats for each field of an index"
},
"stability": "experimental",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"security.enroll_kibana":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-enroll-kibana.html",
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-kibana-enrollment.html",
"description":"Allows a kibana instance to configure itself to communicate with a secured elasticsearch cluster."
},
"stability":"stable",
Expand Down

0 comments on commit 65116fa

Please sign in to comment.