Skip to content

Commit e7f0a3d

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 0cd8a0d commit e7f0a3d

9 files changed

+11
-34
lines changed

specification/_json_spec/cluster.get_component_template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"methods": ["GET"],
2121
"parts": {
2222
"name": {
23-
"type": "list",
24-
"description": "The comma separated names of the component templates"
23+
"type": "string",
24+
"description": "The name of the component template. Wildcard (`*`) expressions are supported."
2525
}
2626
}
2727
}

specification/_json_spec/indices.downsample.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@
1818
"parts": {
1919
"index": {
2020
"type": "string",
21-
"description": "The index to downsample",
22-
"required": true
21+
"description": "The index to downsample"
2322
},
2423
"target_index": {
2524
"type": "string",
26-
"description": "The name of the target index to store downsampled data",
27-
"required": true
25+
"description": "The name of the target index to store downsampled data"
2826
}
2927
}
3028
}

specification/_json_spec/ml.clear_trained_model_deployment_cache.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"parts": {
1919
"model_id": {
2020
"type": "string",
21-
"description": "The unique identifier of the trained model.",
22-
"required": true
21+
"description": "The unique identifier of the trained model."
2322
}
2423
}
2524
}

specification/_json_spec/ml.infer_trained_model.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"parts": {
1919
"model_id": {
2020
"type": "string",
21-
"description": "The unique identifier of the trained model.",
22-
"required": true
21+
"description": "The unique identifier of the trained model."
2322
}
2423
}
2524
}

specification/_json_spec/ml.start_trained_model_deployment.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"parts": {
1919
"model_id": {
2020
"type": "string",
21-
"description": "The unique identifier of the trained model.",
22-
"required": true
21+
"description": "The unique identifier of the trained model."
2322
}
2423
}
2524
}

specification/_json_spec/ml.stop_trained_model_deployment.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"parts": {
1919
"model_id": {
2020
"type": "string",
21-
"description": "The unique identifier of the trained model.",
22-
"required": true
21+
"description": "The unique identifier of the trained model."
2322
}
2423
}
2524
}

specification/_json_spec/monitoring.bulk.json

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,38 +15,23 @@
1515
{
1616
"path": "/_monitoring/bulk",
1717
"methods": ["POST", "PUT"]
18-
},
19-
{
20-
"path": "/_monitoring/{type}/bulk",
21-
"methods": ["POST", "PUT"],
22-
"parts": {
23-
"type": {
24-
"type": "string",
25-
"description": "Default document type for items which don't provide one",
26-
"deprecated": {
27-
"version": "7.0.0",
28-
"description": "Specifying types in urls has been deprecated"
29-
}
30-
}
31-
},
32-
"deprecated": {
33-
"version": "7.0.0",
34-
"description": "Specifying types in urls has been deprecated"
35-
}
3618
}
3719
]
3820
},
3921
"params": {
4022
"system_id": {
4123
"type": "string",
24+
"required": true,
4225
"description": "Identifier of the monitored system"
4326
},
4427
"system_api_version": {
4528
"type": "string",
29+
"required": true,
4630
"description": "API Version of the monitored system"
4731
},
4832
"interval": {
4933
"type": "string",
34+
"required": true,
5035
"description": "Collection interval (e.g., '10s' or '10000ms') of the payload"
5136
}
5237
},

specification/_json_spec/transform.schedule_now_transform.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"parts": {
1919
"transform_id": {
2020
"type": "string",
21-
"required": true,
2221
"description": "The id of the transform."
2322
}
2423
}

specification/_json_spec/transform.update_transform.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"parts": {
1919
"transform_id": {
2020
"type": "string",
21-
"required": true,
2221
"description": "The id of the transform."
2322
}
2423
}

0 commit comments

Comments
 (0)