From 006acfe8bf968cd77be90a905aafb756f1ce6a5d Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Wed, 6 Aug 2014 11:26:45 +0200 Subject: [PATCH] Added missing percolate API parameters (percolate_routing, percolate_preference) to the REST API Spec Closes #7173 --- rest-api-spec/api/percolate.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rest-api-spec/api/percolate.json b/rest-api-spec/api/percolate.json index 2cb9de1caa2..8cec36c1508 100644 --- a/rest-api-spec/api/percolate.json +++ b/rest-api-spec/api/percolate.json @@ -53,6 +53,14 @@ "type" : "string", "description" : "The type to percolate document into. Defaults to type." }, + "percolate_routing": { + "type" : "string", + "description" : "The routing value to use when percolating the existing document." + }, + "percolate_preference": { + "type" : "string", + "description" : "Which shard to prefer when executing the percolate request." + }, "percolate_format": { "type" : "enum", "options" : ["ids"],