From 5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 21 Jan 2026 22:40:55 +0100 Subject: Add Redis source code for testing --- examples/redis-unstable/src/commands/info.json | 41 ++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 examples/redis-unstable/src/commands/info.json (limited to 'examples/redis-unstable/src/commands/info.json') diff --git a/examples/redis-unstable/src/commands/info.json b/examples/redis-unstable/src/commands/info.json new file mode 100644 index 0000000..04a02b1 --- /dev/null +++ b/examples/redis-unstable/src/commands/info.json @@ -0,0 +1,41 @@ +{ + "INFO": { + "summary": "Returns information and statistics about the server.", + "complexity": "O(1)", + "group": "server", + "since": "1.0.0", + "arity": -1, + "function": "infoCommand", + "history": [ + [ + "7.0.0", + "Added support for taking multiple section arguments." + ] + ], + "command_flags": [ + "LOADING", + "STALE", + "SENTINEL" + ], + "acl_categories": [ + "DANGEROUS" + ], + "command_tips": [ + "NONDETERMINISTIC_OUTPUT", + "REQUEST_POLICY:ALL_SHARDS", + "RESPONSE_POLICY:SPECIAL" + ], + "reply_schema": { + "description": "A map of info fields, one field per line in the form of : where the value can be a comma separated map like =. Also contains section header lines starting with `#` and blank lines.", + "type": "string" + }, + "arguments": [ + { + "name": "section", + "type": "string", + "multiple": true, + "optional": true + } + ] + } +} -- cgit v1.2.3