Skip to content

Commit 5777e89

Browse files
Update rest-api-spec (#4893)
Co-authored-by: pquentin <[email protected]>
1 parent 3792408 commit 5777e89

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

output/schema/validation-errors.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,6 @@
279279
],
280280
"response": []
281281
},
282-
"search_mvt": {
283-
"request": [
284-
"Request: query parameter 'grid_agg' does not exist in the json spec"
285-
],
286-
"response": []
287-
},
288282
"searchable_snapshots.clear_cache": {
289283
"request": [
290284
"Request: missing json spec query parameter 'index'"

specification/_json_spec/search_mvt.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262
"description": "Determines the geometry type for features in the aggs layer.",
6363
"default": "grid"
6464
},
65+
"grid_agg": {
66+
"type": "enum",
67+
"options": ["geotile", "geohex"],
68+
"description": "Aggregation used to create a grid for `field`.",
69+
"default": "geotile"
70+
},
6571
"size": {
6672
"type": "int",
6773
"description": "Maximum number of features to return in the hits layer. Accepts 0-10000.",

0 commit comments

Comments
 (0)