From 089bebb109e5faafd857dcbd71426768aff82ea4 Mon Sep 17 00:00:00 2001 From: Niek ten Hoopen Date: Fri, 22 Mar 2019 15:37:04 +0100 Subject: [PATCH 1/2] Add parameter for including metadata to Guzzle service description schema --- src/Client/Resources/keen-io-3_0.php | 66 ++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/src/Client/Resources/keen-io-3_0.php b/src/Client/Resources/keen-io-3_0.php index 49798e4..48155bc 100755 --- a/src/Client/Resources/keen-io-3_0.php +++ b/src/Client/Resources/keen-io-3_0.php @@ -546,6 +546,12 @@ 'type' => array('string', 'array'), 'required' => false, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), @@ -615,6 +621,12 @@ 'type' => array('string', 'array'), 'required' => false, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), @@ -685,6 +697,12 @@ 'type' => array('string', 'array'), 'required' => false, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), @@ -755,6 +773,12 @@ 'type' => array('string', 'array'), 'required' => false, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), @@ -825,6 +849,12 @@ 'type' => array('string', 'array'), 'required' => false, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), @@ -895,6 +925,12 @@ 'type' => array('string', 'array'), 'required' => false, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), @@ -964,6 +1000,12 @@ 'type' => array('string', 'array'), 'required' => false, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), @@ -990,6 +1032,12 @@ 'type' => 'array', 'required' => false, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), @@ -1059,6 +1107,12 @@ 'type' => array('string', 'array'), 'required' => false, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), @@ -1193,6 +1247,12 @@ 'type' => array('string', 'array'), 'required' => false, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), @@ -1269,6 +1329,12 @@ 'type' => 'number', 'required' => true, ), + 'include_metadata' => array( + 'location' => 'json', + 'description' => 'Specifies whether to enrich query results with execution metadata or not.', + 'type' => 'boolean', + 'required' => false, + ), ), ), ), From 4dbb315ce84c4cf2c6d8442142c61425db9f230c Mon Sep 17 00:00:00 2001 From: Niek ten Hoopen Date: Mon, 8 Apr 2019 12:11:26 +0200 Subject: [PATCH 2/2] Updated change log with version 2.7.0 --- CHANGE.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGE.md b/CHANGE.md index d8b4911..aa5bbe7 100755 --- a/CHANGE.md +++ b/CHANGE.md @@ -1,6 +1,10 @@ Change Log ========== +VERSION 2.7.0 +------------- +* Added support for including metadata of requests through include_metadata parameter + VERSION 2.6.0 ------------- * Added collection deletion - added collection deletion by name