From 054203a666a161dcdbd275859b35b8aebdd4ca04 Mon Sep 17 00:00:00 2001 From: Russ Cam Date: Wed, 9 Oct 2019 14:59:17 +1000 Subject: [PATCH] Change policy_id to list type in slm.get_lifecycle This commit changes the REST API spec slm.get_lifecycle's polict_id url part to be of type "list", in line with other REST API specs that accept a comma-separated list of values. Closes #47765 --- .../src/test/resources/rest-api-spec/api/slm.get_lifecycle.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json index 79d9cf5ece6bf..1413438d2ca1c 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json +++ b/x-pack/plugin/src/test/resources/rest-api-spec/api/slm.get_lifecycle.json @@ -13,7 +13,7 @@ ], "parts":{ "policy_id":{ - "type":"string", + "type":"list", "description":"Comma-separated list of snapshot lifecycle policies to retrieve" } }