Browse Source

The routing query string param is supported by mget but was missing from the rest spec (#21357)

Clinton Gormley 9 years ago
parent
commit
8383af6734
1 changed files with 4 additions and 0 deletions
  1. 4 0
      rest-api-spec/src/main/resources/rest-api-spec/api/mget.json

+ 4 - 0
rest-api-spec/src/main/resources/rest-api-spec/api/mget.json

@@ -32,6 +32,10 @@
           "type" : "boolean",
           "description" : "Refresh the shard containing the document before performing the operation"
         },
+        "routing": {
+          "type" : "string",
+          "description" : "Specific routing value"
+        },
         "_source": {
           "type" : "list",
           "description" : "True or false to return the _source field or not, or a list of fields to return"