From d6a0a279a5237bf234d5153d741bc52e61c2dd1b Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Mon, 4 Mar 2019 15:59:58 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B01449=20Update=20REST=20API=20version=20f?= =?UTF-8?q?or=20new=20pagination=20params?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/restservices.class.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/restservices.class.inc.php b/core/restservices.class.inc.php index 37693a24c..c052799c5 100644 --- a/core/restservices.class.inc.php +++ b/core/restservices.class.inc.php @@ -257,13 +257,14 @@ class CoreServices implements iRestServiceProvider */ public function ListOperations($sVersion) { + // 1.4 - iTop 2.5.2, 2.6.1, 2.7.0, Verb 'core/get': added pagination parameters limit and page // 1.3 - iTop 2.2.0, Verb 'get_related': added the options 'redundancy' and 'direction' to take into account the redundancy in the impact analysis // 1.2 - was documented in the wiki but never released ! Same as 1.3 // 1.1 - In the reply, objects have a 'key' entry so that it is no more necessary to split class::key programmaticaly // 1.0 - Initial implementation in iTop 2.0.1 // $aOps = array(); - if (in_array($sVersion, array('1.0', '1.1', '1.2', '1.3'))) + if (in_array($sVersion, array('1.0', '1.1', '1.2', '1.3', '1.4'))) { $aOps[] = array( 'verb' => 'core/create',