Skip to content

Commit fee93e3

Browse files
committed
Bump code generation to master
1 parent 4fedf1f commit fee93e3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3467
-552
lines changed

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/bulk.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
"fields": {
4141
"type": "list",
4242
"description" : "Default comma-separated list of fields to return in the response for updates"
43+
},
44+
"pipeline" : {
45+
"type" : "string",
46+
"description" : "The pipeline id to preprocess incoming documents with"
4347
}
4448
}
4549
},

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.aliases.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
}
1313
},
1414
"params": {
15+
"format": {
16+
"type" : "string",
17+
"description" : "a short version of the Accept header, e.g. json, yaml"
18+
},
1519
"local": {
1620
"type" : "boolean",
1721
"description" : "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.allocation.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
}
1313
},
1414
"params": {
15+
"format": {
16+
"type" : "string",
17+
"description" : "a short version of the Accept header, e.g. json, yaml"
18+
},
1519
"bytes": {
1620
"type": "enum",
1721
"description" : "The unit in which to display byte values",

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.count.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
}
1313
},
1414
"params": {
15+
"format": {
16+
"type" : "string",
17+
"description" : "a short version of the Accept header, e.g. json, yaml"
18+
},
1519
"local": {
1620
"type" : "boolean",
1721
"description" : "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.fielddata.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
}
1313
},
1414
"params": {
15+
"format": {
16+
"type" : "string",
17+
"description" : "a short version of the Accept header, e.g. json, yaml"
18+
},
1519
"bytes": {
1620
"type": "enum",
1721
"description" : "The unit in which to display byte values",

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.health.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"parts": {
99
},
1010
"params": {
11+
"format": {
12+
"type" : "string",
13+
"description" : "a short version of the Accept header, e.g. json, yaml"
14+
},
1115
"local": {
1216
"type" : "boolean",
1317
"description" : "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.indices.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
}
1313
},
1414
"params": {
15+
"format": {
16+
"type" : "string",
17+
"description" : "a short version of the Accept header, e.g. json, yaml"
18+
},
1519
"bytes": {
1620
"type": "enum",
1721
"description" : "The unit in which to display byte values",

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.master.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"parts": {
99
},
1010
"params": {
11+
"format": {
12+
"type" : "string",
13+
"description" : "a short version of the Accept header, e.g. json, yaml"
14+
},
1115
"local": {
1216
"type" : "boolean",
1317
"description" : "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.nodeattrs.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"parts": {
99
},
1010
"params": {
11+
"format": {
12+
"type" : "string",
13+
"description" : "a short version of the Accept header, e.g. json, yaml"
14+
},
1115
"local": {
1216
"type" : "boolean",
1317
"description" : "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.nodes.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"parts": {
99
},
1010
"params": {
11+
"format": {
12+
"type" : "string",
13+
"description" : "a short version of the Accept header, e.g. json, yaml"
14+
},
1115
"local": {
1216
"type" : "boolean",
1317
"description" : "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.pending_tasks.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"parts": {
99
},
1010
"params": {
11+
"format": {
12+
"type" : "string",
13+
"description" : "a short version of the Accept header, e.g. json, yaml"
14+
},
1115
"local": {
1216
"type" : "boolean",
1317
"description" : "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.plugins.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"path": "/_cat/plugins",
77
"paths": ["/_cat/plugins"],
88
"params": {
9+
"format": {
10+
"type" : "string",
11+
"description" : "a short version of the Accept header, e.g. json, yaml"
12+
},
913
"local": {
1014
"type" : "boolean",
1115
"description" : "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.recovery.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
}
1313
},
1414
"params": {
15+
"format": {
16+
"type" : "string",
17+
"description" : "a short version of the Accept header, e.g. json, yaml"
18+
},
1519
"bytes": {
1620
"type": "enum",
1721
"description" : "The unit in which to display byte values",

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.repositories.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"parts": {
99
},
1010
"params": {
11+
"format": {
12+
"type" : "string",
13+
"description" : "a short version of the Accept header, e.g. json, yaml"
14+
},
1115
"local": {
1216
"type" : "boolean",
1317
"description" : "Return local information, do not retrieve the state from master node",

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.segments.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
}
1313
},
1414
"params": {
15+
"format": {
16+
"type" : "string",
17+
"description" : "a short version of the Accept header, e.g. json, yaml"
18+
},
1519
"h": {
1620
"type": "list",
1721
"description" : "Comma-separated list of column names to display"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.shards.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
}
1313
},
1414
"params": {
15+
"format": {
16+
"type" : "string",
17+
"description" : "a short version of the Accept header, e.g. json, yaml"
18+
},
1519
"local": {
1620
"type" : "boolean",
1721
"description" : "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.snapshots.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
}
1313
},
1414
"params": {
15+
"format": {
16+
"type" : "string",
17+
"description" : "a short version of the Accept header, e.g. json, yaml"
18+
},
1519
"ignore_unavailable": {
1620
"type": "boolean",
1721
"description": "Set to true to ignore unavailable snapshots",

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cat.thread_pool.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"parts": {
99
},
1010
"params": {
11+
"format": {
12+
"type" : "string",
13+
"description" : "a short version of the Accept header, e.g. json, yaml"
14+
},
1115
"local": {
1216
"type" : "boolean",
1317
"description" : "Return local information, do not retrieve the state from master node (default: false)"

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/cluster.get_settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
"timeout": {
1919
"type" : "time",
2020
"description" : "Explicit operation timeout"
21+
},
22+
"include_defaults": {
23+
"type": "boolean",
24+
"description": "Whether to return all default clusters setting.",
25+
"default": false
2126
}
2227
}
2328
},

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/index.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@
6565
"type" : "enum",
6666
"options" : ["internal", "external", "external_gte", "force"],
6767
"description" : "Specific version type"
68+
},
69+
"pipeline" : {
70+
"type" : "string",
71+
"description" : "The pipeline id to preprocess incoming documents with"
6872
}
6973
}
7074
},

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.analyze.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@
4444
"type" : "string",
4545
"description" : "The name of the tokenizer to use for the analysis"
4646
},
47-
"detail": {
47+
"explain": {
4848
"type" : "boolean",
4949
"description" : "With `true`, outputs more advanced details. (default: false)"
5050
},
5151
"attributes": {
5252
"type" : "list",
53-
"description" : "A comma-separated list of token attributes to output, this parameter works only with `detail=true`"
53+
"description" : "A comma-separated list of token attributes to output, this parameter works only with `explain=true`"
5454
},
5555
"format": {
5656
"type": "enum",

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.forcemerge.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.forcemerge": {
33
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html",
4-
"methods": ["POST", "GET"],
4+
"methods": ["POST"],
55
"url": {
66
"path": "/_forcemerge",
77
"paths": ["/_forcemerge", "/{index}/_forcemerge"],

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.get.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"feature":{
1515
"type":"list",
1616
"description":"A comma-separated list of features",
17-
"options": ["_settings", "_mappings", "_warmers", "_aliases"]
17+
"options": ["_settings", "_mappings", "_aliases"]
1818
}
1919
},
2020
"params":{
@@ -44,6 +44,11 @@
4444
"type": "boolean",
4545
"description": "Whether to return version and creation date values in human-readable format.",
4646
"default": false
47+
},
48+
"include_defaults": {
49+
"type": "boolean",
50+
"description": "Whether to return all default setting for each of the indices.",
51+
"default": false
4752
}
4853
}
4954
},

src/CodeGeneration/CodeGeneration.LowLevelClient/ApiEndpoints/indices.get_settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@
4242
"type": "boolean",
4343
"description": "Whether to return version and creation date values in human-readable format.",
4444
"default": false
45+
},
46+
"include_defaults": {
47+
"type": "boolean",
48+
"description": "Whether to return all default setting for each of the indices.",
49+
"default": false
4550
}
4651
}
4752
},
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"ingest.delete_pipeline": {
3+
"documentation": "https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html",
4+
"methods": [ "DELETE" ],
5+
"url": {
6+
"path": "/_ingest/pipeline/{id}",
7+
"paths": [ "/_ingest/pipeline/{id}" ],
8+
"parts": {
9+
"id": {
10+
"type" : "string",
11+
"description" : "Pipeline ID",
12+
"required" : true
13+
}
14+
},
15+
"params": {
16+
"master_timeout": {
17+
"type" : "time",
18+
"description" : "Explicit operation timeout for connection to master node"
19+
},
20+
"timeout": {
21+
"type" : "time",
22+
"description" : "Explicit operation timeout"
23+
}
24+
}
25+
},
26+
"body": null
27+
}
28+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"ingest.get_pipeline": {
3+
"documentation": "https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html",
4+
"methods": [ "GET" ],
5+
"url": {
6+
"path": "/_ingest/pipeline/{id}",
7+
"paths": [ "/_ingest/pipeline/{id}" ],
8+
"parts": {
9+
"id": {
10+
"type" : "string",
11+
"description" : "Comma separated list of pipeline ids. Wildcards supported",
12+
"required" : true
13+
}
14+
},
15+
"params": {
16+
"master_timeout": {
17+
"type" : "time",
18+
"description" : "Explicit operation timeout for connection to master node"
19+
}
20+
}
21+
},
22+
"body": null
23+
}
24+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"ingest.put_pipeline": {
3+
"documentation": "https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html",
4+
"methods": [ "PUT" ],
5+
"url": {
6+
"path": "/_ingest/pipeline/{id}",
7+
"paths": [ "/_ingest/pipeline/{id}" ],
8+
"parts": {
9+
"id": {
10+
"type" : "string",
11+
"description" : "Pipeline ID",
12+
"required" : true
13+
}
14+
},
15+
"params": {
16+
"master_timeout": {
17+
"type" : "time",
18+
"description" : "Explicit operation timeout for connection to master node"
19+
},
20+
"timeout": {
21+
"type" : "time",
22+
"description" : "Explicit operation timeout"
23+
}
24+
}
25+
},
26+
"body": {
27+
"description" : "The ingest definition",
28+
"required" : true
29+
}
30+
}
31+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"ingest.simulate": {
3+
"documentation": "https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html",
4+
"methods": [ "GET", "POST" ],
5+
"url": {
6+
"path": "/_ingest/pipeline/_simulate",
7+
"paths": [ "/_ingest/pipeline/_simulate", "/_ingest/pipeline/{id}/_simulate/" ],
8+
"parts": {
9+
"id": {
10+
"type" : "string",
11+
"description" : "Pipeline ID",
12+
"required" : false
13+
}
14+
},
15+
"params": {
16+
"verbose": {
17+
"type" : "boolean",
18+
"description" : "Verbose mode. Display data output for each processor in executed pipeline",
19+
"default" : false
20+
}
21+
}
22+
},
23+
"body": {
24+
"description" : "The simulate definition",
25+
"required" : true
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)