Skip to content

Commit dfd9642

Browse files
committed
document hot threads deprecated paths
1 parent 98deb76 commit dfd9642

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,39 @@
44
"methods": ["GET"],
55
"url": {
66
"path": "/_nodes/hot_threads",
7-
"paths": ["/_cluster/nodes/hotthreads", "/_cluster/nodes/hot_threads", "/_cluster/nodes/{node_id}/hotthreads", "/_cluster/nodes/{node_id}/hot_threads", "/_nodes/hotthreads", "/_nodes/hot_threads", "/_nodes/{node_id}/hotthreads", "/_nodes/{node_id}/hot_threads"],
7+
"paths": ["/_nodes/hot_threads", "/_nodes/{node_id}/hot_threads"],
8+
"deprecated_paths" : [
9+
{
10+
"version" : "7.0",
11+
"path" : "/_cluster/nodes/hotthreads",
12+
"description" : "The hot threads API accepts `hotthreads` but only `hot_threads` is documented"
13+
},
14+
{
15+
"version" : "7.0",
16+
"path" : "/_cluster/nodes/{node_id}/hotthreads",
17+
"description" : "The hot threads API accepts `hotthreads` but only `hot_threads` is documented"
18+
},
19+
{
20+
"version" : "7.0",
21+
"path" : "/_nodes/hotthreads",
22+
"description" : "The hot threads API accepts `hotthreads` but only `hot_threads` is documented"
23+
},
24+
{
25+
"version" : "7.0",
26+
"path" : "/_nodes/{node_id}/hotthreads",
27+
"description" : "The hot threads API accepts `hotthreads` but only `hot_threads` is documented"
28+
},
29+
{
30+
"version" : "7.0",
31+
"path" : "/_cluster/nodes/hot_threads",
32+
"description" : "The hot accepts /_cluster/nodes as prefix for backwards compatibility reasons"
33+
},
34+
{
35+
"version" : "7.0",
36+
"path" :"/_cluster/nodes/{node_id}/hot_threads",
37+
"description" : "The hot accepts /_cluster/nodes as prefix for backwards compatibility reasons"
38+
}
39+
],
840
"parts": {
941
"node_id": {
1042
"type" : "list",

0 commit comments

Comments
 (0)