Skip to content

Commit 624f7cc

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent b1b6f76 commit 624f7cc

File tree

12 files changed

+44
-66
lines changed

12 files changed

+44
-66
lines changed

output/schema/validation-errors.json

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,5 @@
11
{
22
"endpointErrors": {
3-
"cat.count": {
4-
"request": [
5-
"Request: query parameter 'project_routing' does not exist in the json spec"
6-
],
7-
"response": []
8-
},
9-
"count": {
10-
"request": [
11-
"Request: query parameter 'project_routing' does not exist in the json spec"
12-
],
13-
"response": []
14-
},
15-
"eql.search": {
16-
"request": [
17-
"Request: query parameter 'project_routing' does not exist in the json spec"
18-
],
19-
"response": []
20-
},
21-
"field_caps": {
22-
"request": [
23-
"Request: query parameter 'project_routing' does not exist in the json spec"
24-
],
25-
"response": []
26-
},
27-
"indices.resolve_index": {
28-
"request": [
29-
"Request: query parameter 'project_routing' does not exist in the json spec"
30-
],
31-
"response": []
32-
},
33-
"msearch": {
34-
"request": [
35-
"Request: query parameter 'project_routing' does not exist in the json spec"
36-
],
37-
"response": []
38-
},
39-
"msearch_template": {
40-
"request": [
41-
"Request: query parameter 'project_routing' does not exist in the json spec"
42-
],
43-
"response": []
44-
},
45-
"open_point_in_time": {
46-
"request": [
47-
"Request: query parameter 'project_routing' does not exist in the json spec"
48-
],
49-
"response": []
50-
},
51-
"search_mvt": {
52-
"request": [
53-
"Request: query parameter 'project_routing' does not exist in the json spec"
54-
],
55-
"response": []
56-
},
57-
"search_template": {
58-
"request": [
59-
"Request: query parameter 'project_routing' does not exist in the json spec"
60-
],
61-
"response": []
62-
},
63-
"sql.query": {
64-
"request": [
65-
"Request: query parameter 'project_routing' does not exist in the json spec"
66-
],
67-
"response": []
68-
},
693
"streams.status": {
704
"request": [
715
"Request: query parameter 'master_timeout' does not exist in the json spec",

specification/_json_spec/cat.count.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
"description": "Return help information",
4343
"default": false
4444
},
45+
"project_routing": {
46+
"type": "string",
47+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
48+
},
4549
"s": {
4650
"type": "list",
4751
"description": "Comma-separated list of column names or column aliases to sort by"

specification/_json_spec/count.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
"type": "string",
5656
"description": "Specify the node or shard the operation should be performed on (default: random)"
5757
},
58+
"project_routing": {
59+
"type": "string",
60+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
61+
},
5862
"routing": {
5963
"type": "list",
6064
"description": "A comma-separated list of specific routing values"

specification/_json_spec/eql.search.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767
"options": ["open", "closed", "hidden", "none", "all"],
6868
"default": "open",
6969
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
70+
},
71+
"project_routing": {
72+
"type": "string",
73+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
7074
}
7175
},
7276
"body": {

specification/_json_spec/field_caps.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@
6464
"type": "boolean",
6565
"default": true,
6666
"description": "Include empty fields in result"
67+
},
68+
"project_routing": {
69+
"type": "string",
70+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
6771
}
6872
},
6973
"body": {

specification/_json_spec/indices.resolve_index.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
"options": ["standard", "time_series", "logsdb", "lookup"],
4646
"default": "",
4747
"description": "Filter indices by index mode. Comma-separated list of IndexMode. Empty means no filter."
48+
},
49+
"project_routing": {
50+
"type": "string",
51+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
4852
}
4953
}
5054
}

specification/_json_spec/msearch.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@
8484
"default": "open",
8585
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
8686
},
87+
"project_routing": {
88+
"type": "string",
89+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
90+
},
8791
"routing": {
8892
"type": "list",
8993
"description": "A comma-separated list of specific routing values"

specification/_json_spec/msearch_template.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151
"type": "boolean",
5252
"description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution",
5353
"default": "true"
54+
},
55+
"project_routing": {
56+
"type": "string",
57+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
5458
}
5559
},
5660
"body": {

specification/_json_spec/open_point_in_time.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@
5656
"type": "number",
5757
"description": "The number of concurrent shard requests per node executed concurrently when opening this point-in-time. This value should be used to limit the impact of opening the point-in-time on the cluster",
5858
"default": 5
59+
},
60+
"project_routing": {
61+
"type": "string",
62+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
5963
}
6064
},
6165
"body": {

specification/_json_spec/search_mvt.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@
6868
"description": "Aggregation used to create a grid for `field`.",
6969
"default": "geotile"
7070
},
71+
"project_routing": {
72+
"type": "string",
73+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
74+
},
7175
"size": {
7276
"type": "int",
7377
"description": "Maximum number of features to return in the hits layer. Accepts 0-10000.",

0 commit comments

Comments
 (0)