Rename “kind” to “what” for calls in query2 design
authorMichael Hanselmann <hansmi@google.com>
Mon, 6 Dec 2010 21:17:06 +0000 (22:17 +0100)
committerMichael Hanselmann <hansmi@google.com>
Fri, 10 Dec 2010 17:28:34 +0000 (18:28 +0100)
“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 <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>

doc/design-query2.rst

index 9ba8746..f4b52a4 100644 (file)
@@ -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