v3api: Add a flag to RangeRequest to return only the keys.
Currently the user can't list only the keys in a prefix search. In order to support such operations the filtering will be done on the server side to reduce the encoding and network transfer costs.
This commit is contained in:
@ -935,6 +935,11 @@
|
||||
"format": "byte",
|
||||
"description": "key is the first key for the range. If range_end is not given, the request only looks up key."
|
||||
},
|
||||
"keys_only": {
|
||||
"type": "boolean",
|
||||
"format": "boolean",
|
||||
"description": "keys_only when set returns only the keys and not the values."
|
||||
},
|
||||
"limit": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
|
Reference in New Issue
Block a user