Skip to content

Commit

Permalink
[DOCS] Fix broken doc url values in JSON API spec (#75385) (#75389)
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.
# Conflicts:
#	docs/reference/redirects.asciidoc
#	rest-api-spec/src/main/resources/rest-api-spec/api/security.enroll_kibana.json
  • Loading branch information
jrodewig authored Jul 15, 2021
1 parent bf91b87 commit 02fc235
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/reference/indices.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,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 @@ -111,6 +112,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
5 changes: 5 additions & 0 deletions docs/reference/redirects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1579,3 +1579,8 @@ include::redirects.asciidoc[tag=frozen-index-redirect]
=== Glossary

See the {glossary}/terms.html[Elastic glossary].

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

See <<field-usage-stats>>.
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

0 comments on commit 02fc235

Please sign in to comment.