1
0
Эх сурвалжийг харах

Add missing grid_agg to search_mvt rest-api-spec (#130906) (#131074)

Quentin Pradet 3 сар өмнө
parent
commit
ff30a91a4b

+ 9 - 0
rest-api-spec/src/main/resources/rest-api-spec/api/search_mvt.json

@@ -73,6 +73,15 @@
         "description":"Determines the geometry type for features in the aggs layer.",
         "description":"Determines the geometry type for features in the aggs layer.",
         "default":"grid"
         "default":"grid"
       },
       },
+      "grid_agg":{
+        "type":"enum",
+        "options":[
+          "geotile",
+          "geohex"
+        ],
+        "description":"Aggregation used to create a grid for `field`.",
+        "default":"geotile"
+      },
       "size":{
       "size":{
         "type":"int",
         "type":"int",
         "description":"Maximum number of features to return in the hits layer. Accepts 0-10000.",
         "description":"Maximum number of features to return in the hits layer. Accepts 0-10000.",