“kind” is already used in the field definition. “what” seems to
be a better fit for the calls (“what should be queried?”).

Signed-off-by: Michael Hanselmann <[email protected]>
---
 doc/design-query2.rst |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/design-query2.rst b/doc/design-query2.rst
index 9ba8746..f4b52a4 100644
--- a/doc/design-query2.rst
+++ b/doc/design-query2.rst
@@ -113,7 +113,7 @@ Request
 
 The request is a dictionary with the following entries:
 
-``kind`` (string, required)
+``what`` (string, required)
   An :ref:`item type <item-types>`.
 ``fields`` (list of strings, required)
   List of names of fields to return. Example::
@@ -209,7 +209,7 @@ Request
 
 The request is a dictionary with the following entries:
 
-``kind`` (string, required)
+``what`` (string, required)
   An :ref:`item type <item-types>`.
 ``fields`` (list of strings, optional)
   List of names of fields to return. If not set, all fields are
-- 
1.7.3.1

Reply via email to