Natural key assignment
Notation in which you can define keys and values (as in JSON or Python dictionary keys and values) in a simple manner. Currently the arguments that make usage of that are: [-q/--query], [-p/--parameter], [-s/--select], [-f/--filter], [-c/--context]. The argument provided in rbkcli command line (in bash environment) is one long string which is later parsed by rbkcli into the needed format. Following are its usages: 1. [-q/--query],[-p/--parameter]: To get usable and required keys for queries and parameters, run the command with [-i/--info] or [-d/--documentation] flag. Query and Parameter only accepts the following format, because the data will be input for the API:
[-s/--select],[-f/--filter]: To get usable keys for selection and filters, run the command with [-s/--select] or [-f/--filter] followed by a question mark ("?"). Select and Filter accepts indirect assignments, because we are choosing existing data to be displayed, giving us a range of different values available:
When you want to select results that contain a key with an exact value, use:
Example:
When you want to select results that contain a key with an approximated value (or key that contains the string), use:
Example:
When you want to select results that contain a key without an exact value, use:
Example:
Obs.: Because bash interprets exclamation mark as a special character, users should escape that character:
When you want to select results that contain a key without an approximated value (or key that does not contains the string), use:
Example:
Obs.: Because bash interprets exclamation mark as a special character, users should escape that character:
[Back to Usage]
Last updated