Skip to content

Commit 84d77b6

Browse files
committed
Generate APIs from 6.4 branch
This commit re-runs the API generation against the 6.4 branch. Ignore the new nodes.reload_secure_settings.json endpoint for now
1 parent 4cb05c0 commit 84d77b6

File tree

4 files changed

+725
-362
lines changed

4 files changed

+725
-362
lines changed

src/CodeGeneration/ApiGenerator/ApiGenerator.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public static void Generate(string downloadBranch, params string[] folders)
5959
"xpack.ml.get_filters.json",
6060
"xpack.ml.put_filter.json",
6161
"rank_eval.json",
62+
6263
// these API's are new and need to be mapped
6364
"xpack.license.get_basic_status.json",
6465
"xpack.license.post_start_basic.json",
@@ -72,20 +73,16 @@ public static void Generate(string downloadBranch, params string[] folders)
7273
"xpack.ml.put_calendar.json",
7374
"xpack.ml.put_calendar_job.json",
7475
"xpack.ml.get_calendar_job.json",
75-
76-
"xpack.sql.clear_cursor.json",
77-
"xpack.sql.query.json",
78-
"xpack.sql.translate.json",
7976
"xpack.ssl.certificates.json",
8077

8178
// 6.4 new API's
82-
8379
"xpack.ml.update_filter.json",
8480
"xpack.security.delete_privileges.json",
8581
"xpack.security.get_privileges.json",
8682
"xpack.security.has_privileges.json",
8783
"xpack.security.put_privilege.json",
8884
"xpack.security.put_privileges.json",
85+
"nodes.reload_secure_settings.json"
8986
};
9087

9188
private static RestApiSpec CreateRestApiSpecModel(string downloadBranch, string[] folders)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"nodes.reload_secure_settings": {
3+
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-reload-secure-settings.html",
4+
"methods": ["POST"],
5+
"url": {
6+
"path": "/_nodes/reload_secure_settings",
7+
"paths": ["/_nodes/reload_secure_settings", "/_nodes/{node_id}/reload_secure_settings"],
8+
"parts": {
9+
"node_id": {
10+
"type": "list",
11+
"description": "A comma-separated list of node IDs to span the reload/reinit call. Should stay empty because reloading usually involves all cluster nodes."
12+
}
13+
},
14+
"params": {
15+
"timeout": {
16+
"type" : "time",
17+
"description" : "Explicit operation timeout"
18+
}
19+
}
20+
},
21+
"body": null
22+
}
23+
}

0 commit comments

Comments
 (0)