Skip to content

Commit 00a7a36

Browse files
Update rest-api-spec (#5614)
Co-authored-by: pquentin <42327+pquentin@users.noreply.github.com>
1 parent 68192e2 commit 00a7a36

29 files changed

+194
-1
lines changed

specification/_json_spec/cat.segments.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,17 @@
7474
},
7575
"ignore_unavailable": {
7676
"type": "boolean",
77+
"default": false,
7778
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed). Only allowed when providing an index expression."
7879
},
7980
"ignore_throttled": {
8081
"type": "boolean",
82+
"default": false,
8183
"description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled. Only allowed when providing an index expression."
8284
},
8385
"allow_no_indices": {
8486
"type": "boolean",
87+
"default": true,
8588
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified). Only allowed when providing an index expression."
8689
},
8790
"expand_wildcards": {

specification/_json_spec/indices.data_streams_stats.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
}
2727
}
2828
]
29+
},
30+
"params": {
31+
"expand_wildcards": {
32+
"type": "list",
33+
"description": "Whether to expand wildcard expressions to concrete data stream names that are open, closed or both.",
34+
"default": "open,closed",
35+
"options": ["all", "closed", "hidden", "none", "open"]
36+
}
2937
}
3038
}
3139
}

specification/_json_spec/inference.chat_completion_unified.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
"body": {
2828
"description": "The inference payload",
2929
"required": true
30+
},
31+
"params": {
32+
"timeout": {
33+
"type": "time",
34+
"description": "Specifies the amount of time to wait for the inference request to complete.",
35+
"default": "30s"
36+
}
3037
}
3138
}
3239
}

specification/_json_spec/inference.completion.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
"body": {
2828
"description": "The inference payload",
2929
"required": true
30+
},
31+
"params": {
32+
"timeout": {
33+
"type": "time",
34+
"description": "Specifies the amount of time to wait for the inference request to complete.",
35+
"default": "30s"
36+
}
3037
}
3138
}
3239
}

specification/_json_spec/inference.inference.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@
4141
"body": {
4242
"description": "The inference payload",
4343
"required": true
44+
},
45+
"params": {
46+
"timeout": {
47+
"type": "time",
48+
"description": "The amount of time to wait for the inference request to complete.",
49+
"default": "30s"
50+
}
4451
}
4552
}
4653
}

specification/_json_spec/inference.put.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@
4141
"body": {
4242
"description": "The inference endpoint's task and service settings",
4343
"required": true
44+
},
45+
"params": {
46+
"timeout": {
47+
"type": "time",
48+
"description": "Specifies the amount of time to wait for the inference endpoint to be created.",
49+
"default": "30s"
50+
}
4451
}
4552
}
4653
}

specification/_json_spec/inference.put_alibabacloud.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
"body": {
3232
"description": "The inference endpoint's task and service settings",
3333
"required": true
34+
},
35+
"params": {
36+
"timeout": {
37+
"type": "time",
38+
"description": "Specifies the amount of time to wait for the inference endpoint to be created.",
39+
"default": "30s"
40+
}
3441
}
3542
}
3643
}

specification/_json_spec/inference.put_amazonbedrock.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
"body": {
3232
"description": "The inference endpoint's task and service settings",
3333
"required": true
34+
},
35+
"params": {
36+
"timeout": {
37+
"type": "time",
38+
"description": "Specifies the amount of time to wait for the inference endpoint to be created.",
39+
"default": "30s"
40+
}
3441
}
3542
}
3643
}

specification/_json_spec/inference.put_amazonsagemaker.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
"body": {
3232
"description": "The inference endpoint's task and service settings",
3333
"required": true
34+
},
35+
"params": {
36+
"timeout": {
37+
"type": "time",
38+
"description": "Specifies the amount of time to wait for the inference endpoint to be created.",
39+
"default": "30s"
40+
}
3441
}
3542
}
3643
}

specification/_json_spec/inference.put_anthropic.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
"body": {
3232
"description": "The inference endpoint's task and service settings",
3333
"required": true
34+
},
35+
"params": {
36+
"timeout": {
37+
"type": "time",
38+
"description": "Specifies the amount of time to wait for the inference endpoint to be created.",
39+
"default": "30s"
40+
}
3441
}
3542
}
3643
}

0 commit comments

Comments
 (0)