diff --git a/docs/command-reference/acl/cat.md b/docs/command-reference/acl/cat.md index 02765f5d..d771a1a9 100644 --- a/docs/command-reference/acl/cat.md +++ b/docs/command-reference/acl/cat.md @@ -19,7 +19,7 @@ If a category name is given, the command shows all the Dragonfly commands in the ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) +[Array reply](https://valkey.io/topics/protocol/#arrays) ## Examples diff --git a/docs/command-reference/acl/deluser.md b/docs/command-reference/acl/deluser.md index 81bfa29f..e956ef9f 100644 --- a/docs/command-reference/acl/deluser.md +++ b/docs/command-reference/acl/deluser.md @@ -21,7 +21,7 @@ In such cases, no operation is performed for the non-existent ACL users. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of users that were deleted. +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of users that were deleted. This number will not always match the number of arguments since certain users may not exist. ## Examples diff --git a/docs/command-reference/acl/dryrun.md b/docs/command-reference/acl/dryrun.md index 37ec4401..2afa1eda 100644 --- a/docs/command-reference/acl/dryrun.md +++ b/docs/command-reference/acl/dryrun.md @@ -19,8 +19,8 @@ It can be used to test the permissions without having to enable the user or caus ## Return -- [Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` on success. -- [Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): an error describing why the user can't execute the command. +- [Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` on success. +- [Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): an error describing why the user can't execute the command. ## Examples diff --git a/docs/command-reference/acl/genpass.md b/docs/command-reference/acl/genpass.md index d28bcbdc..f41c4e05 100644 --- a/docs/command-reference/acl/genpass.md +++ b/docs/command-reference/acl/genpass.md @@ -23,7 +23,7 @@ Note that the number of bits provided is rounded to the next multiple of 4. ## Return -- [Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec#bulk-strings): pseudorandom data. +- [Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): pseudorandom data. By default it contains 64 bytes, representing 256 bits of data. If the `bits` argument was given, the output string length is the number of specified bits (rounded to the next multiple of 4) divided by 4. diff --git a/docs/command-reference/acl/getuser.md b/docs/command-reference/acl/getuser.md index b000f5dc..7a57a54e 100644 --- a/docs/command-reference/acl/getuser.md +++ b/docs/command-reference/acl/getuser.md @@ -18,8 +18,8 @@ The command returns all the rules defined for an existing ACL user. ## Return -- [Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of ACL rule definitions for the user. -- [Null reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): if the user does not exist. +- [Array reply](https://valkey.io/topics/protocol/#arrays): a list of ACL rule definitions for the user. +- [Null reply](https://valkey.io/topics/protocol/#bulk-strings): if the user does not exist. ## Examples diff --git a/docs/command-reference/acl/list.md b/docs/command-reference/acl/list.md index 742e5b8e..54c48881 100644 --- a/docs/command-reference/acl/list.md +++ b/docs/command-reference/acl/list.md @@ -19,7 +19,7 @@ Each line consists of the username, followed by their status (ON/OFF), a 15-char ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): An array of strings. +[Array reply](https://valkey.io/topics/protocol/#arrays): An array of strings. ## Examples diff --git a/docs/command-reference/acl/load.md b/docs/command-reference/acl/load.md index 51506fa7..3f5373aa 100644 --- a/docs/command-reference/acl/load.md +++ b/docs/command-reference/acl/load.md @@ -18,7 +18,7 @@ When Dragonfly is configured to use an ACL file (with the `--aclfile` configurat ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` on success. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` on success. The error otherwise. ## Examples diff --git a/docs/command-reference/acl/log.md b/docs/command-reference/acl/log.md index 2aaf6550..61058b60 100644 --- a/docs/command-reference/acl/log.md +++ b/docs/command-reference/acl/log.md @@ -27,10 +27,10 @@ The `RESET` arguments clears the log. When called to show security events: -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of ACL security events. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of ACL security events. When called with `RESET`: -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` if the security log was cleared. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` if the security log was cleared. ## Examples diff --git a/docs/command-reference/acl/save.md b/docs/command-reference/acl/save.md index db681303..8332a6d5 100644 --- a/docs/command-reference/acl/save.md +++ b/docs/command-reference/acl/save.md @@ -22,7 +22,7 @@ you plan them to be read only (and in that case it would make sense to store the ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` on success. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` on success. The error otherwise. ## Examples diff --git a/docs/command-reference/acl/setuser.md b/docs/command-reference/acl/setuser.md index 67ac65f2..ffd8876b 100644 --- a/docs/command-reference/acl/setuser.md +++ b/docs/command-reference/acl/setuser.md @@ -97,7 +97,7 @@ specific logical databases. This provides fine-grained control over which databa ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` on success. If the rules contain errors, the error is returned. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` on success. If the rules contain errors, the error is returned. ## Examples diff --git a/docs/command-reference/acl/users.md b/docs/command-reference/acl/users.md index 23a23b1c..80901910 100644 --- a/docs/command-reference/acl/users.md +++ b/docs/command-reference/acl/users.md @@ -18,7 +18,7 @@ Shows a list of all the usernames in Dragonfly. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) +[Array reply](https://valkey.io/topics/protocol/#arrays) ## Examples diff --git a/docs/command-reference/acl/whoami.md b/docs/command-reference/acl/whoami.md index f38c47c0..83a4bbbb 100644 --- a/docs/command-reference/acl/whoami.md +++ b/docs/command-reference/acl/whoami.md @@ -18,7 +18,7 @@ Return the username the current connection is authenticated with. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the username of the current connection. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the username of the current connection. ## Examples diff --git a/docs/command-reference/bloom-filter/bf.add.md b/docs/command-reference/bloom-filter/bf.add.md index 836cb474..afebfcdb 100644 --- a/docs/command-reference/bloom-filter/bf.add.md +++ b/docs/command-reference/bloom-filter/bf.add.md @@ -20,7 +20,7 @@ If the `key` does not exist, a new Bloom filter is created with default paramete ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): +[Integer reply](https://valkey.io/topics/protocol/#integers): - `1` if the item was successfully added to the filter. - `0` if the item was already added to the filter, which could be a false positive. diff --git a/docs/command-reference/bloom-filter/bf.exists.md b/docs/command-reference/bloom-filter/bf.exists.md index 54bbcdc8..16621d30 100644 --- a/docs/command-reference/bloom-filter/bf.exists.md +++ b/docs/command-reference/bloom-filter/bf.exists.md @@ -19,7 +19,7 @@ Checks for the existence of a single item in a Bloom filter `key`. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): +[Integer reply](https://valkey.io/topics/protocol/#integers): - `1` if the item exists with a high probability. - `0` if the item definitely does not exist. diff --git a/docs/command-reference/bloom-filter/bf.madd.md b/docs/command-reference/bloom-filter/bf.madd.md index a62e3cce..6bcef15a 100644 --- a/docs/command-reference/bloom-filter/bf.madd.md +++ b/docs/command-reference/bloom-filter/bf.madd.md @@ -19,7 +19,7 @@ Adds one or more items to a Bloom filter `key`. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): +[Array reply](https://valkey.io/topics/protocol/#arrays): an array of integers, each representing the result for an individual item as if being processed by the [`BF.ADD`](./bf.add.md) command: - `1` if the item was successfully added to the filter. diff --git a/docs/command-reference/bloom-filter/bf.mexists.md b/docs/command-reference/bloom-filter/bf.mexists.md index f1b8bf66..2ac8ec20 100644 --- a/docs/command-reference/bloom-filter/bf.mexists.md +++ b/docs/command-reference/bloom-filter/bf.mexists.md @@ -19,7 +19,7 @@ Checks for the existence of one or more items in a Bloom filter `key`. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): +[Array reply](https://valkey.io/topics/protocol/#arrays): an array of integers, each representing the result for an individual item as if being processed by the [`BF.EXISTS`](./bf.exists.md) command: - `1` if the item exists with a high probability. diff --git a/docs/command-reference/bloom-filter/bf.reserve.md b/docs/command-reference/bloom-filter/bf.reserve.md index c89b71b9..ac5cb37b 100644 --- a/docs/command-reference/bloom-filter/bf.reserve.md +++ b/docs/command-reference/bloom-filter/bf.reserve.md @@ -20,7 +20,7 @@ and a false positive rate `false_positive_rate` that should be a double between ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` if the Bloom filter was created successfully. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` if the Bloom filter was created successfully. ## Examples diff --git a/docs/command-reference/cluster-management/dflycluster-flushslots.md b/docs/command-reference/cluster-management/dflycluster-flushslots.md index bf572ce9..39ee0c86 100644 --- a/docs/command-reference/cluster-management/dflycluster-flushslots.md +++ b/docs/command-reference/cluster-management/dflycluster-flushslots.md @@ -23,4 +23,4 @@ Note: command only deletes keys that were present at the time the command was in ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK`. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK`. diff --git a/docs/command-reference/cluster-management/dflycluster-getslotinfo.md b/docs/command-reference/cluster-management/dflycluster-getslotinfo.md index 08e4e6ef..8b246a4f 100644 --- a/docs/command-reference/cluster-management/dflycluster-getslotinfo.md +++ b/docs/command-reference/cluster-management/dflycluster-getslotinfo.md @@ -20,7 +20,7 @@ The `DFLYCLUSTER GETSLOTINFO` command is used to get information regarding provi ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a nested list of slots info. +[Array reply](https://valkey.io/topics/protocol/#arrays): a nested list of slots info. ## Examples diff --git a/docs/command-reference/cluster-management/dflycluster-slot-migration-status.md b/docs/command-reference/cluster-management/dflycluster-slot-migration-status.md index ce2d48ca..df4d86a4 100644 --- a/docs/command-reference/cluster-management/dflycluster-slot-migration-status.md +++ b/docs/command-reference/cluster-management/dflycluster-slot-migration-status.md @@ -22,7 +22,7 @@ Otherwise, it returns the statuses of all migrations on the current node. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a nested list of migration info. +[Array reply](https://valkey.io/topics/protocol/#arrays): a nested list of migration info. For each migration, the following fields are returned: - The migration direction, which can be `in` or `out`. - The `node_id` of the migration. diff --git a/docs/command-reference/generic/copy.md b/docs/command-reference/generic/copy.md index aeab5a11..05eb922c 100644 --- a/docs/command-reference/generic/copy.md +++ b/docs/command-reference/generic/copy.md @@ -21,8 +21,8 @@ The `REPLACE` option removes an existing key before copying. ## Return -- [Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): `1` if the `source` was copied. -- [Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): `0` if the `source` was not copied when `destination` already exists. +- [Integer reply](https://valkey.io/topics/protocol/#integers): `1` if the `source` was copied. +- [Integer reply](https://valkey.io/topics/protocol/#integers): `0` if the `source` was not copied when `destination` already exists. ## Examples diff --git a/docs/command-reference/generic/del.md b/docs/command-reference/generic/del.md index 53273734..ea230150 100644 --- a/docs/command-reference/generic/del.md +++ b/docs/command-reference/generic/del.md @@ -21,7 +21,7 @@ A key is ignored if it does not exist. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): The number of keys that were removed. +[Integer reply](https://valkey.io/topics/protocol/#integers): The number of keys that were removed. ## Examples diff --git a/docs/command-reference/generic/discard.md b/docs/command-reference/generic/discard.md index 914c5d1b..d61511f7 100644 --- a/docs/command-reference/generic/discard.md +++ b/docs/command-reference/generic/discard.md @@ -25,4 +25,4 @@ If `WATCH` was used, `DISCARD` unwatches all keys watched by the connection. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): always `OK`. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): always `OK`. diff --git a/docs/command-reference/generic/dump.md b/docs/command-reference/generic/dump.md index 96c52f89..e4f912c1 100644 --- a/docs/command-reference/generic/dump.md +++ b/docs/command-reference/generic/dump.md @@ -38,7 +38,7 @@ If `key` does not exist a nil bulk reply is returned. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the serialized value. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the serialized value. ## Examples diff --git a/docs/command-reference/generic/eval-ro.md b/docs/command-reference/generic/eval-ro.md index d67f3adc..87c20ad4 100644 --- a/docs/command-reference/generic/eval-ro.md +++ b/docs/command-reference/generic/eval-ro.md @@ -27,7 +27,7 @@ For a general introduction to scripting, see `EVAL` and the [Redis Programmabili ## Return -The reply is the result returned by the script, using the [RESP](https://redis.io/docs/latest/develop/reference/protocol-spec/) types. +The reply is the result returned by the script, using the [RESP](https://valkey.io/topics/protocol//) types. ## Examples diff --git a/docs/command-reference/generic/evalsha-ro.md b/docs/command-reference/generic/evalsha-ro.md index 3257fddd..0a3b7117 100644 --- a/docs/command-reference/generic/evalsha-ro.md +++ b/docs/command-reference/generic/evalsha-ro.md @@ -27,7 +27,7 @@ For Valkey semantics reference, see the [corresponding command page here](https: ## Return -The reply is the result returned by the script, using the [RESP](https://redis.io/docs/latest/develop/reference/protocol-spec/) types. +The reply is the result returned by the script, using the [RESP](https://valkey.io/topics/protocol//) types. ## Examples diff --git a/docs/command-reference/generic/exec.md b/docs/command-reference/generic/exec.md index 0a14ad5b..1513fdba 100644 --- a/docs/command-reference/generic/exec.md +++ b/docs/command-reference/generic/exec.md @@ -28,7 +28,7 @@ not modified, allowing for a [check-and-set mechanism][ttc]. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): each element being the reply to each of the commands in the +[Array reply](https://valkey.io/topics/protocol/#arrays): each element being the reply to each of the commands in the atomic transaction. -When using `WATCH`, `EXEC` can return a [Null reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings) if the execution was aborted. +When using `WATCH`, `EXEC` can return a [Null reply](https://valkey.io/topics/protocol/#bulk-strings) if the execution was aborted. diff --git a/docs/command-reference/generic/exists.md b/docs/command-reference/generic/exists.md index 324f7671..d73d3547 100644 --- a/docs/command-reference/generic/exists.md +++ b/docs/command-reference/generic/exists.md @@ -22,7 +22,7 @@ The user should be aware that if the same existing key is mentioned in the argum ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically the number of keys that exist from those specified as arguments. +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically the number of keys that exist from those specified as arguments. ## Examples diff --git a/docs/command-reference/generic/expire.md b/docs/command-reference/generic/expire.md index ef128552..6e32419b 100644 --- a/docs/command-reference/generic/expire.md +++ b/docs/command-reference/generic/expire.md @@ -66,7 +66,7 @@ There are many useful applications for this, an example is documented in the ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - `1` if the timeout was set. - `0` if the timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments. diff --git a/docs/command-reference/generic/expireat.md b/docs/command-reference/generic/expireat.md index 4f8f75a2..270e4a41 100644 --- a/docs/command-reference/generic/expireat.md +++ b/docs/command-reference/generic/expireat.md @@ -35,7 +35,7 @@ Please for the specific semantics of the command refer to the documentation of ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - `1` if the timeout was set. - `0` if the timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments. diff --git a/docs/command-reference/generic/expiretime.md b/docs/command-reference/generic/expiretime.md index a0624e1f..5352f0e8 100644 --- a/docs/command-reference/generic/expiretime.md +++ b/docs/command-reference/generic/expiretime.md @@ -22,7 +22,7 @@ See also the [`PEXPIRETIME`](./pexpiretime.md) command which returns the same in ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - The expiration Unix timestamp, in seconds. - `-1` if the key exists but has no expiration time. diff --git a/docs/command-reference/generic/fieldexpire.md b/docs/command-reference/generic/fieldexpire.md index 7bf427b5..87cd6646 100644 --- a/docs/command-reference/generic/fieldexpire.md +++ b/docs/command-reference/generic/fieldexpire.md @@ -22,13 +22,13 @@ Field(s) or member(s) will automatically be deleted from the hash or set key whe ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): +[Array reply](https://valkey.io/topics/protocol/#arrays): - Integer reply: `-2` if no such field exists in the provided hash or set key, or the provided key does not exist. - Integer reply: `1` if the expiration time was set/updated. - Integer reply: `2` when `FIELDEXPIRE` is called with 0 seconds. -[Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-errors): +[Simple error reply](https://valkey.io/topics/protocol/#simple-errors): - If parsing failed, mandatory arguments are missing, unknown arguments are specified, or argument values are of the wrong type or out of range, an error is returned. - If the provided key exists but is neither a hash nor a set, an error is returned. diff --git a/docs/command-reference/generic/fieldttl.md b/docs/command-reference/generic/fieldttl.md index 7b981fe8..76f6787a 100644 --- a/docs/command-reference/generic/fieldttl.md +++ b/docs/command-reference/generic/fieldttl.md @@ -24,7 +24,7 @@ A ```WRONGTYPE``` error is returned if the key is not a hash or set. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): TTL in seconds, or a negative value in order to signal an error. +[Integer reply](https://valkey.io/topics/protocol/#integers): TTL in seconds, or a negative value in order to signal an error. - The command returns `-1` if the field exists but has no associated TTL. - The command returns `-2` if the key does not exist. diff --git a/docs/command-reference/generic/keys.md b/docs/command-reference/generic/keys.md index ceedc9f6..1655181c 100644 --- a/docs/command-reference/generic/keys.md +++ b/docs/command-reference/generic/keys.md @@ -31,7 +31,7 @@ Use `\` to escape special characters if you want to match them verbatim. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list of keys matching `pattern`. +[Array reply](https://valkey.io/topics/protocol/#arrays): list of keys matching `pattern`. ### Number of Elements Returned diff --git a/docs/command-reference/generic/move.md b/docs/command-reference/generic/move.md index 7013c573..94131572 100644 --- a/docs/command-reference/generic/move.md +++ b/docs/command-reference/generic/move.md @@ -24,7 +24,7 @@ It is possible to use `MOVE` as a locking primitive because of this. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - `1` if `key` was moved. - `0` if `key` was not moved. diff --git a/docs/command-reference/generic/multi.md b/docs/command-reference/generic/multi.md index d83ebfc3..cd3e34f0 100644 --- a/docs/command-reference/generic/multi.md +++ b/docs/command-reference/generic/multi.md @@ -23,4 +23,4 @@ Subsequent commands will be queued for atomic execution using `EXEC`. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): always `OK`. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): always `OK`. diff --git a/docs/command-reference/generic/persist.md b/docs/command-reference/generic/persist.md index 3015f5c1..52cdfa18 100644 --- a/docs/command-reference/generic/persist.md +++ b/docs/command-reference/generic/persist.md @@ -22,7 +22,7 @@ is associated). ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - `1` if the timeout was removed. - `0` if `key` does not exist or does not have an associated timeout. diff --git a/docs/command-reference/generic/pexpire.md b/docs/command-reference/generic/pexpire.md index 61e9ad24..d4c86520 100644 --- a/docs/command-reference/generic/pexpire.md +++ b/docs/command-reference/generic/pexpire.md @@ -28,7 +28,7 @@ specified in milliseconds instead of seconds. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - `1` if the timeout was set. - `0` if the timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments. diff --git a/docs/command-reference/generic/pexpireat.md b/docs/command-reference/generic/pexpireat.md index 8ef994c5..e146a687 100644 --- a/docs/command-reference/generic/pexpireat.md +++ b/docs/command-reference/generic/pexpireat.md @@ -28,7 +28,7 @@ which the key will expire is specified in milliseconds instead of seconds. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - `1` if the timeout was set. - `0` if the timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments. diff --git a/docs/command-reference/generic/pexpiretime.md b/docs/command-reference/generic/pexpiretime.md index 62048158..2f0697ff 100644 --- a/docs/command-reference/generic/pexpiretime.md +++ b/docs/command-reference/generic/pexpiretime.md @@ -21,7 +21,7 @@ but the absolute Unix expiration timestamp of the key is returned in millisecond ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - The expiration Unix timestamp, in milliseconds - `-1` if the key exists but has no expiration time. diff --git a/docs/command-reference/generic/pttl.md b/docs/command-reference/generic/pttl.md index 664e8dd3..145acd49 100644 --- a/docs/command-reference/generic/pttl.md +++ b/docs/command-reference/generic/pttl.md @@ -22,7 +22,7 @@ time in seconds while `PTTL` returns it in milliseconds. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): TTL in milliseconds, or a negative value in order to signal an error. +[Integer reply](https://valkey.io/topics/protocol/#integers): TTL in milliseconds, or a negative value in order to signal an error. - The command returns `-2` if the key does not exist. - The command returns `-1` if the key exists but has no associated expire. diff --git a/docs/command-reference/generic/randomkey.md b/docs/command-reference/generic/randomkey.md index 5f453fb8..56dd751a 100644 --- a/docs/command-reference/generic/randomkey.md +++ b/docs/command-reference/generic/randomkey.md @@ -20,5 +20,5 @@ Return a random key from the currently selected database. ## Return -- [Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): A random key in database. +- [Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): A random key in database. - `nil` when the database is empty. \ No newline at end of file diff --git a/docs/command-reference/generic/rename.md b/docs/command-reference/generic/rename.md index a32f75d7..e8468dd3 100644 --- a/docs/command-reference/generic/rename.md +++ b/docs/command-reference/generic/rename.md @@ -22,7 +22,7 @@ If `newkey` already exists it is overwritten, when this happens `RENAME` execute ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings) +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings) ## Examples diff --git a/docs/command-reference/generic/renamenx.md b/docs/command-reference/generic/renamenx.md index c4fe6e70..fa3bc5fb 100644 --- a/docs/command-reference/generic/renamenx.md +++ b/docs/command-reference/generic/renamenx.md @@ -21,7 +21,7 @@ It returns an error when `key` does not exist. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - `1` if `key` was renamed to `newkey`. - `0` if `newkey` already exists. diff --git a/docs/command-reference/generic/restore.md b/docs/command-reference/generic/restore.md index 453db2d3..ac3699ec 100644 --- a/docs/command-reference/generic/restore.md +++ b/docs/command-reference/generic/restore.md @@ -34,7 +34,7 @@ exists unless you use the `REPLACE` modifier. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): The command returns OK on success. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): The command returns OK on success. ## Examples diff --git a/docs/command-reference/generic/script-exists.md b/docs/command-reference/generic/script-exists.md index 37c2a593..1608ccd6 100644 --- a/docs/command-reference/generic/script-exists.md +++ b/docs/command-reference/generic/script-exists.md @@ -30,7 +30,7 @@ For more information about `EVAL` scripts please refer to [Introduction to Eval ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) The command returns an array of integers that correspond to +[Array reply](https://valkey.io/topics/protocol/#arrays) The command returns an array of integers that correspond to the specified SHA1 digest arguments. For every corresponding SHA1 digest of a script that actually exists in the script cache, a 1 is returned, otherwise 0 is returned. diff --git a/docs/command-reference/generic/script-help.md b/docs/command-reference/generic/script-help.md index 63966865..5abae414 100644 --- a/docs/command-reference/generic/script-help.md +++ b/docs/command-reference/generic/script-help.md @@ -20,4 +20,4 @@ The `SCRIPT HELP` command returns a helpful text describing the different subcom ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of subcommands and their descriptions +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of subcommands and their descriptions diff --git a/docs/command-reference/generic/script-latency.md b/docs/command-reference/generic/script-latency.md index 3140f396..315df288 100644 --- a/docs/command-reference/generic/script-latency.md +++ b/docs/command-reference/generic/script-latency.md @@ -20,4 +20,4 @@ Prints latency histograms in usec for all called scripts. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) This command returns an array of elements. The first element is the SHA1 digest of the scripts added into the script cache. The second element is latency historgram. +[Array reply](https://valkey.io/topics/protocol/#arrays) This command returns an array of elements. The first element is the SHA1 digest of the scripts added into the script cache. The second element is latency historgram. diff --git a/docs/command-reference/generic/script-list.md b/docs/command-reference/generic/script-list.md index ce4712d4..8b61460b 100644 --- a/docs/command-reference/generic/script-list.md +++ b/docs/command-reference/generic/script-list.md @@ -20,4 +20,4 @@ Returns information about all the scripts in the script cache. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) This command returns an array of elements. The first element is the SHA1 digest of the scripts added into the script cache. The second element is lua script. +[Array reply](https://valkey.io/topics/protocol/#arrays) This command returns an array of elements. The first element is the SHA1 digest of the scripts added into the script cache. The second element is lua script. diff --git a/docs/command-reference/generic/script-load.md b/docs/command-reference/generic/script-load.md index e44ac9d4..e984116f 100644 --- a/docs/command-reference/generic/script-load.md +++ b/docs/command-reference/generic/script-load.md @@ -31,5 +31,5 @@ For more information about `EVAL` scripts please refer to [Introduction to Eval ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings) This command returns the SHA1 digest of the script added into the +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings) This command returns the SHA1 digest of the script added into the script cache. diff --git a/docs/command-reference/generic/stick.md b/docs/command-reference/generic/stick.md index 1358d46e..480ce113 100644 --- a/docs/command-reference/generic/stick.md +++ b/docs/command-reference/generic/stick.md @@ -21,7 +21,7 @@ This command is Dragonfly-specific. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): Number of keys that were made sticky successfully: those that existed and were not already sticky. +[Integer reply](https://valkey.io/topics/protocol/#integers): Number of keys that were made sticky successfully: those that existed and were not already sticky. ## Examples diff --git a/docs/command-reference/generic/touch.md b/docs/command-reference/generic/touch.md index a6ba3051..d02ca4ae 100644 --- a/docs/command-reference/generic/touch.md +++ b/docs/command-reference/generic/touch.md @@ -21,7 +21,7 @@ A key is ignored if it does not exist. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): The number of keys that were touched. +[Integer reply](https://valkey.io/topics/protocol/#integers): The number of keys that were touched. ## Examples diff --git a/docs/command-reference/generic/ttl.md b/docs/command-reference/generic/ttl.md index fc5ae379..0b7ba2db 100644 --- a/docs/command-reference/generic/ttl.md +++ b/docs/command-reference/generic/ttl.md @@ -22,7 +22,7 @@ given key will continue to be part of the dataset. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): TTL in seconds, or a negative value in order to signal an error. +[Integer reply](https://valkey.io/topics/protocol/#integers): TTL in seconds, or a negative value in order to signal an error. - The command returns `-2` if the key does not exist. - The command returns `-1` if the key exists but has no associated expire. diff --git a/docs/command-reference/generic/type.md b/docs/command-reference/generic/type.md index f433f04b..b86b87a0 100644 --- a/docs/command-reference/generic/type.md +++ b/docs/command-reference/generic/type.md @@ -22,7 +22,7 @@ The different types that can be returned are: `string`, `list`, `set`, `zset`, ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): type of `key`, or `none` when `key` does not exist. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): type of `key`, or `none` when `key` does not exist. ## Examples diff --git a/docs/command-reference/generic/unlink.md b/docs/command-reference/generic/unlink.md index 883c3ca8..998e93c2 100644 --- a/docs/command-reference/generic/unlink.md +++ b/docs/command-reference/generic/unlink.md @@ -20,7 +20,7 @@ This command is equivalent to `DEL` command, see `DEL` for more information. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): The number of keys that were unlinked. +[Integer reply](https://valkey.io/topics/protocol/#integers): The number of keys that were unlinked. ## Examples diff --git a/docs/command-reference/generic/unwatch.md b/docs/command-reference/generic/unwatch.md index d027ab63..25ff9045 100644 --- a/docs/command-reference/generic/unwatch.md +++ b/docs/command-reference/generic/unwatch.md @@ -24,4 +24,4 @@ If you call `EXEC` or `DISCARD`, there's no need to manually call `UNWATCH`. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): always `OK`. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): always `OK`. diff --git a/docs/command-reference/generic/watch.md b/docs/command-reference/generic/watch.md index 929520e3..dfd13972 100644 --- a/docs/command-reference/generic/watch.md +++ b/docs/command-reference/generic/watch.md @@ -23,4 +23,4 @@ Marks the given keys to be watched for conditional execution of a ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): always `OK`. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): always `OK`. diff --git a/docs/command-reference/geospatial-indices/geoadd.md b/docs/command-reference/geospatial-indices/geoadd.md index 2b789e50..4e962628 100644 --- a/docs/command-reference/geospatial-indices/geoadd.md +++ b/docs/command-reference/geospatial-indices/geoadd.md @@ -37,7 +37,7 @@ Note: The `XX` and `NX` options are mutually exclusive. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - When used without optional arguments, the number of elements added to the sorted set (excluding score updates). - If the `CH` option is specified, the number of elements that were changed (added or updated). diff --git a/docs/command-reference/geospatial-indices/geodist.md b/docs/command-reference/geospatial-indices/geodist.md index fde4a02e..09f245ad 100644 --- a/docs/command-reference/geospatial-indices/geodist.md +++ b/docs/command-reference/geospatial-indices/geodist.md @@ -33,7 +33,7 @@ The distance is computed assuming that the Earth is a perfect sphere, so errors ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings), specifically: +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings), specifically: The command returns the distance as a double (represented as a string) in the specified unit, or NULL if one or both the elements are missing. diff --git a/docs/command-reference/geospatial-indices/geohash.md b/docs/command-reference/geospatial-indices/geohash.md index 49e92ed0..2b732dc0 100644 --- a/docs/command-reference/geospatial-indices/geohash.md +++ b/docs/command-reference/geospatial-indices/geohash.md @@ -30,7 +30,7 @@ The returned Geohashes have the following properties: ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays), specifically: +[Array reply](https://valkey.io/topics/protocol/#arrays), specifically: The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command. diff --git a/docs/command-reference/geospatial-indices/geopos.md b/docs/command-reference/geospatial-indices/geopos.md index 65578244..140901ef 100644 --- a/docs/command-reference/geospatial-indices/geopos.md +++ b/docs/command-reference/geospatial-indices/geopos.md @@ -26,7 +26,7 @@ The command can accept a variable number of arguments, so it always returns an a ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays), specifically: +[Array reply](https://valkey.io/topics/protocol/#arrays), specifically: The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. diff --git a/docs/command-reference/geospatial-indices/geosearch.md b/docs/command-reference/geospatial-indices/geosearch.md index da7c1368..79fd35ac 100644 --- a/docs/command-reference/geospatial-indices/geosearch.md +++ b/docs/command-reference/geospatial-indices/geosearch.md @@ -54,7 +54,7 @@ so to query very large areas with a very small `COUNT` option may be slow even i ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays), specifically: +[Array reply](https://valkey.io/topics/protocol/#arrays), specifically: * Without any `WITH` option specified, the command just returns a linear array like ["New York","Milan","Paris"]. * If `WITHCOORD`, `WITHDIST` or `WITHHASH` options are specified, the command returns an array of arrays, where each sub-array represents a single item. diff --git a/docs/command-reference/hashes/hdel.md b/docs/command-reference/hashes/hdel.md index eda13730..568d54a3 100644 --- a/docs/command-reference/hashes/hdel.md +++ b/docs/command-reference/hashes/hdel.md @@ -23,7 +23,7 @@ If `key` does not exist, it is treated as an empty hash and this command returns ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of fields that were removed from the hash, not +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of fields that were removed from the hash, not including specified but non existing fields. ## Examples diff --git a/docs/command-reference/hashes/hexists.md b/docs/command-reference/hashes/hexists.md index e5b3953d..924c217d 100644 --- a/docs/command-reference/hashes/hexists.md +++ b/docs/command-reference/hashes/hexists.md @@ -20,7 +20,7 @@ Returns if `field` is an existing field in the hash stored at `key`. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - `1` if the hash contains `field`. - `0` if the hash does not contain `field`, or `key` does not exist. diff --git a/docs/command-reference/hashes/hexpire.md b/docs/command-reference/hashes/hexpire.md index 3655aa7a..ed480f00 100644 --- a/docs/command-reference/hashes/hexpire.md +++ b/docs/command-reference/hashes/hexpire.md @@ -22,13 +22,13 @@ Field(s) will automatically be deleted from the hash key when their TTLs expire. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): +[Array reply](https://valkey.io/topics/protocol/#arrays): - Integer reply: `-2` if no such field exists in the provided hash key, or the provided key does not exist. - Integer reply: `1` if the expiration time was set/updated. - Integer reply: `2` when `HEXPIRE` is called with 0 seconds. -[Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-errors): +[Simple error reply](https://valkey.io/topics/protocol/#simple-errors): - If parsing failed, mandatory arguments are missing, unknown arguments are specified, or argument values are of the wrong type or out of range, an error is returned. - If the provided key exists but is not a hash, an error is returned. diff --git a/docs/command-reference/hashes/hget.md b/docs/command-reference/hashes/hget.md index 56c74a7d..2c39a864 100644 --- a/docs/command-reference/hashes/hget.md +++ b/docs/command-reference/hashes/hget.md @@ -20,7 +20,7 @@ Returns the value associated with `field` in the hash stored at `key`. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the value associated with `field`, or `nil` when `field` is not +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the value associated with `field`, or `nil` when `field` is not present in the hash or `key` does not exist. ## Examples diff --git a/docs/command-reference/hashes/hgetall.md b/docs/command-reference/hashes/hgetall.md index c1343f2e..30beb22c 100644 --- a/docs/command-reference/hashes/hgetall.md +++ b/docs/command-reference/hashes/hgetall.md @@ -22,7 +22,7 @@ of the reply is twice the size of the hash. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list of fields and their values stored in the hash, or an +[Array reply](https://valkey.io/topics/protocol/#arrays): list of fields and their values stored in the hash, or an empty list when `key` does not exist. ## Examples diff --git a/docs/command-reference/hashes/hincrby.md b/docs/command-reference/hashes/hincrby.md index 804ea740..de50ebb2 100644 --- a/docs/command-reference/hashes/hincrby.md +++ b/docs/command-reference/hashes/hincrby.md @@ -26,7 +26,7 @@ The range of values supported by `HINCRBY` is limited to 64 bit signed integers. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the value at `field` after the increment operation. +[Integer reply](https://valkey.io/topics/protocol/#integers): the value at `field` after the increment operation. ## Examples diff --git a/docs/command-reference/hashes/hincrbyfloat.md b/docs/command-reference/hashes/hincrbyfloat.md index c567b8c8..faf682ee 100644 --- a/docs/command-reference/hashes/hincrbyfloat.md +++ b/docs/command-reference/hashes/hincrbyfloat.md @@ -32,7 +32,7 @@ information. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the value of `field` after the increment. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the value of `field` after the increment. ## Examples diff --git a/docs/command-reference/hashes/hkeys.md b/docs/command-reference/hashes/hkeys.md index de6a7023..2620f6fb 100644 --- a/docs/command-reference/hashes/hkeys.md +++ b/docs/command-reference/hashes/hkeys.md @@ -20,7 +20,7 @@ Returns all field names in the hash stored at `key`. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list of fields in the hash, or an empty list when `key` does +[Array reply](https://valkey.io/topics/protocol/#arrays): list of fields in the hash, or an empty list when `key` does not exist. ## Examples diff --git a/docs/command-reference/hashes/hlen.md b/docs/command-reference/hashes/hlen.md index 98a50252..232972e6 100644 --- a/docs/command-reference/hashes/hlen.md +++ b/docs/command-reference/hashes/hlen.md @@ -20,7 +20,7 @@ Returns the number of fields contained in the hash stored at `key`. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): number of fields in the hash, or `0` when `key` does not exist. +[Integer reply](https://valkey.io/topics/protocol/#integers): number of fields in the hash, or `0` when `key` does not exist. ## Examples diff --git a/docs/command-reference/hashes/hmget.md b/docs/command-reference/hashes/hmget.md index b111a687..c8c59488 100644 --- a/docs/command-reference/hashes/hmget.md +++ b/docs/command-reference/hashes/hmget.md @@ -25,7 +25,7 @@ a non-existing `key` will return a list of `nil` values. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list of values associated with the given fields, in the same +[Array reply](https://valkey.io/topics/protocol/#arrays): list of values associated with the given fields, in the same order as they are requested. ```shell diff --git a/docs/command-reference/hashes/hmset.md b/docs/command-reference/hashes/hmset.md index 8535658e..a1178907 100644 --- a/docs/command-reference/hashes/hmset.md +++ b/docs/command-reference/hashes/hmset.md @@ -23,7 +23,7 @@ If `key` does not exist, a new key holding a hash is created. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings) +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings) ## Examples diff --git a/docs/command-reference/hashes/hrandfield.md b/docs/command-reference/hashes/hrandfield.md index e6921546..723bedd4 100644 --- a/docs/command-reference/hashes/hrandfield.md +++ b/docs/command-reference/hashes/hrandfield.md @@ -28,9 +28,9 @@ The optional `WITHVALUES` modifier changes the reply so it includes the respecti ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): without the additional `count` argument, the command returns a Bulk Reply with the randomly selected field, or `nil` when `key` does not exist. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): without the additional `count` argument, the command returns a Bulk Reply with the randomly selected field, or `nil` when `key` does not exist. -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): when the additional `count` argument is passed, the command returns an array of fields, or an empty array when `key` does not exist. +[Array reply](https://valkey.io/topics/protocol/#arrays): when the additional `count` argument is passed, the command returns an array of fields, or an empty array when `key` does not exist. If the `WITHVALUES` modifier is used, the reply is a list fields and their values from the hash. ## Examples diff --git a/docs/command-reference/hashes/hset.md b/docs/command-reference/hashes/hset.md index 706dd3e1..efb0f810 100644 --- a/docs/command-reference/hashes/hset.md +++ b/docs/command-reference/hashes/hset.md @@ -23,7 +23,7 @@ If `key` doesn't exist, a new key holding a hash is created. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): The number of fields that were added. +[Integer reply](https://valkey.io/topics/protocol/#integers): The number of fields that were added. ## Examples diff --git a/docs/command-reference/hashes/hsetex.md b/docs/command-reference/hashes/hsetex.md index 8e8368b4..da1ae913 100644 --- a/docs/command-reference/hashes/hsetex.md +++ b/docs/command-reference/hashes/hsetex.md @@ -28,7 +28,7 @@ The expiration time can be accessed with the [`FIELDTTL`](../generic/fieldttl.md ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): The number of fields that were added. +[Integer reply](https://valkey.io/topics/protocol/#integers): The number of fields that were added. ## Examples diff --git a/docs/command-reference/hashes/hsetnx.md b/docs/command-reference/hashes/hsetnx.md index d6317c80..8d5247aa 100644 --- a/docs/command-reference/hashes/hsetnx.md +++ b/docs/command-reference/hashes/hsetnx.md @@ -23,7 +23,7 @@ If `field` already exists, this operation has no effect. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: - `1` if `field` is a new field in the hash and `value` was set. - `0` if `field` already exists in the hash and no operation was performed. diff --git a/docs/command-reference/hashes/hstrlen.md b/docs/command-reference/hashes/hstrlen.md index 3198bedf..6ed262fc 100644 --- a/docs/command-reference/hashes/hstrlen.md +++ b/docs/command-reference/hashes/hstrlen.md @@ -20,7 +20,7 @@ Returns the string length of the value associated with `field` in the hash store ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the string length of the value associated with `field`, or zero when `field` is not present in the hash or `key` does not exist at all. +[Integer reply](https://valkey.io/topics/protocol/#integers): the string length of the value associated with `field`, or zero when `field` is not present in the hash or `key` does not exist at all. ## Examples diff --git a/docs/command-reference/hashes/hvals.md b/docs/command-reference/hashes/hvals.md index 4c8aca69..2a1fc12d 100644 --- a/docs/command-reference/hashes/hvals.md +++ b/docs/command-reference/hashes/hvals.md @@ -20,7 +20,7 @@ Returns all values in the hash stored at `key`. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list of values in the hash, or an empty list when `key` does +[Array reply](https://valkey.io/topics/protocol/#arrays): list of values in the hash, or an empty list when `key` does not exist. ## Examples diff --git a/docs/command-reference/hyperloglog/pfadd.md b/docs/command-reference/hyperloglog/pfadd.md index 35214466..db0da35a 100644 --- a/docs/command-reference/hyperloglog/pfadd.md +++ b/docs/command-reference/hyperloglog/pfadd.md @@ -35,7 +35,7 @@ For an introduction to the HyperLogLog data structure, check the `PFCOUNT` comma ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: * 1 if at least 1 HyperLogLog internal register was altered. 0 otherwise. ## Examples diff --git a/docs/command-reference/hyperloglog/pfcount.md b/docs/command-reference/hyperloglog/pfcount.md index d1b158ec..e928b133 100644 --- a/docs/command-reference/hyperloglog/pfcount.md +++ b/docs/command-reference/hyperloglog/pfcount.md @@ -42,7 +42,7 @@ technically a write command. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: * The approximated number of unique elements observed via PFADD. ## Examples diff --git a/docs/command-reference/hyperloglog/pfmerge.md b/docs/command-reference/hyperloglog/pfmerge.md index 3d5c1c4b..74a5ed99 100644 --- a/docs/command-reference/hyperloglog/pfmerge.md +++ b/docs/command-reference/hyperloglog/pfmerge.md @@ -27,7 +27,7 @@ be included in the cardinality of the computed HyperLogLog. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): The +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): The command just returns OK. ## Examples diff --git a/docs/command-reference/json/json.arrappend.md b/docs/command-reference/json/json.arrappend.md index b2a4ec11..7b234a9e 100644 --- a/docs/command-reference/json/json.arrappend.md +++ b/docs/command-reference/json/json.arrappend.md @@ -50,8 +50,8 @@ To specify a string as an array value to append, wrap the quoted string with an ## Return value -`JSON.ARRAPEND` returns an [array](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) of integer replies for each path, the array's new size, or `nil`, if the matching JSON value is not an array. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +`JSON.ARRAPEND` returns an [array](https://valkey.io/topics/protocol/#arrays) of integer replies for each path, the array's new size, or `nil`, if the matching JSON value is not an array. +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.arrindex.md b/docs/command-reference/json/json.arrindex.md index 82d6c507..832f7f29 100644 --- a/docs/command-reference/json/json.arrindex.md +++ b/docs/command-reference/json/json.arrindex.md @@ -67,8 +67,8 @@ Out-of-range indexes round to the array's start and end. An inverse index range ## Return value -`JSON.ARRINDEX` returns an [array](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) of integer replies for each path, the first position in the array of each JSON value that matches the path, `-1` if unfound in the array, or `nil`, if the matching JSON value is not an array. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +`JSON.ARRINDEX` returns an [array](https://valkey.io/topics/protocol/#arrays) of integer replies for each path, the first position in the array of each JSON value that matches the path, `-1` if unfound in the array, or `nil`, if the matching JSON value is not an array. +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.arrinsert.md b/docs/command-reference/json/json.arrinsert.md index 02e47608..a2b59d6f 100644 --- a/docs/command-reference/json/json.arrinsert.md +++ b/docs/command-reference/json/json.arrinsert.md @@ -59,8 +59,8 @@ is JSONPath to specify. Default is root `$`. ## Return value -`JSON.ARRINSERT` returns an [array](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) of integer replies for each path, the array's new size, or `nil`, if the matching JSON value is not an array. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +`JSON.ARRINSERT` returns an [array](https://valkey.io/topics/protocol/#arrays) of integer replies for each path, the array's new size, or `nil`, if the matching JSON value is not an array. +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.arrlen.md b/docs/command-reference/json/json.arrlen.md index 13d3dce2..3dbd7255 100644 --- a/docs/command-reference/json/json.arrlen.md +++ b/docs/command-reference/json/json.arrlen.md @@ -40,8 +40,8 @@ is JSONPath to specify. Default is root `$`, if not provided. Returns null if th ## Return -`JSON.ARRLEN` returns an [array](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) of integer replies, an integer for each matching value, each is the array's length, or `nil`, if the matching value is not an array. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +`JSON.ARRLEN` returns an [array](https://valkey.io/topics/protocol/#arrays) of integer replies, an integer for each matching value, each is the array's length, or `nil`, if the matching value is not an array. +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.arrpop.md b/docs/command-reference/json/json.arrpop.md index 2efce0eb..36a3fcbe 100644 --- a/docs/command-reference/json/json.arrpop.md +++ b/docs/command-reference/json/json.arrpop.md @@ -46,8 +46,8 @@ is JSONPath to specify. Default is root `$`. ## Return -`JSON.ARRPOP` returns an [array](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) of bulk string replies for each path, each reply is the popped JSON value, or `nil`, if the matching JSON value is not an array. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +`JSON.ARRPOP` returns an [array](https://valkey.io/topics/protocol/#arrays) of bulk string replies for each path, each reply is the popped JSON value, or `nil`, if the matching JSON value is not an array. +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.arrtrim.md b/docs/command-reference/json/json.arrtrim.md index bfdc6a5c..852ecec8 100644 --- a/docs/command-reference/json/json.arrtrim.md +++ b/docs/command-reference/json/json.arrtrim.md @@ -67,7 +67,7 @@ Behavior as of RedisJSON v2.0: ## Return JSON.ARRTRIM returns an array of integer replies for each path, the array's new size, or `nil`, if the matching JSON value is not an array. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.clear.md b/docs/command-reference/json/json.clear.md index 802983a1..5de14779 100644 --- a/docs/command-reference/json/json.clear.md +++ b/docs/command-reference/json/json.clear.md @@ -40,7 +40,7 @@ is JSONPath to specify. Default is root `$`. Nonexisting paths are ignored. ## Return JSON.CLEAR returns an integer reply specified as the number of values cleared. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). :::note Note diff --git a/docs/command-reference/json/json.debug-fields.md b/docs/command-reference/json/json.debug-fields.md index fa9759c8..5ca36c7f 100644 --- a/docs/command-reference/json/json.debug-fields.md +++ b/docs/command-reference/json/json.debug-fields.md @@ -20,7 +20,7 @@ Report the number of fields in the JSON element. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list that represents the number of fields of JSON value at each path. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list that represents the number of fields of JSON value at each path. ## Examples diff --git a/docs/command-reference/json/json.debug-help.md b/docs/command-reference/json/json.debug-help.md index 127768b3..e7601a22 100644 --- a/docs/command-reference/json/json.debug-help.md +++ b/docs/command-reference/json/json.debug-help.md @@ -20,7 +20,7 @@ Return helpful information about the [`JSON.DEBUG`](./json.debug.md) command. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of helpful messages. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of helpful messages. ## Examples diff --git a/docs/command-reference/json/json.debug-memory.md b/docs/command-reference/json/json.debug-memory.md index 40f01b5d..14cb3a86 100644 --- a/docs/command-reference/json/json.debug-memory.md +++ b/docs/command-reference/json/json.debug-memory.md @@ -40,9 +40,9 @@ is JSONPath to specify. Default is root `$` if not provided. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): memory size in bytes of the JSON value when path is evaluated to a single value. +[Integer reply](https://valkey.io/topics/protocol/#integers): memory size in bytes of the JSON value when path is evaluated to a single value. -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list that represents the memory size in bytes of JSON value at each path when path is evaluated to multiple values. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list that represents the memory size in bytes of JSON value at each path when path is evaluated to multiple values. **Note:** Primitive JSON types (numbers, booleans, and `null`) return `0` because they are stored inline and do not allocate separate memory. Objects, arrays, and strings (that exceed the Small String Optimization buffer) return their actual heap-allocated memory size. diff --git a/docs/command-reference/json/json.del.md b/docs/command-reference/json/json.del.md index 74357c67..c3639fbd 100644 --- a/docs/command-reference/json/json.del.md +++ b/docs/command-reference/json/json.del.md @@ -49,7 +49,7 @@ Deleting an object's root is equivalent to deleting the key from Redis. ## Return JSON.DEL returns an integer reply specified as the number of paths deleted (0 or more). -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.get.md b/docs/command-reference/json/json.get.md index bc5d1c67..fabd5825 100644 --- a/docs/command-reference/json/json.get.md +++ b/docs/command-reference/json/json.get.md @@ -97,7 +97,7 @@ JSON.GET returns a bulk string representing a JSON array of string replies. Each string is the JSON serialization of each JSON value that matches a path. Using multiple paths, JSON.GET returns a bulk string representing a JSON object with string values. Each string value is an array of the JSON serialization of each JSON value that matches a path. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.mget.md b/docs/command-reference/json/json.mget.md index 41fd6d98..46c47554 100644 --- a/docs/command-reference/json/json.mget.md +++ b/docs/command-reference/json/json.mget.md @@ -40,7 +40,7 @@ is JSONPath to specify. Default is root `$`. Returns `null` for nonexistent path ## Return JSON.MGET returns an array of bulk string replies specified as the JSON serialization of the value at each key's path. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.numincrby.md b/docs/command-reference/json/json.numincrby.md index 8b2100a7..158c7952 100644 --- a/docs/command-reference/json/json.numincrby.md +++ b/docs/command-reference/json/json.numincrby.md @@ -47,7 +47,7 @@ is JSONPath to specify. Default is root `$`. ## Return JSON.NUMINCRBY returns a bulk string reply specified as a stringified new value for each path, or `nil`, if the matching JSON value is not a number. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.nummultby.md b/docs/command-reference/json/json.nummultby.md index 0475f5d4..e776ef2e 100644 --- a/docs/command-reference/json/json.nummultby.md +++ b/docs/command-reference/json/json.nummultby.md @@ -47,7 +47,7 @@ is JSONPath to specify. Default is root `$`. ## Return JSON.NUMMULTBY returns a bulk string reply specified as a stringified new values for each path, or `nil` element if the matching JSON value is not a number. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.objkeys.md b/docs/command-reference/json/json.objkeys.md index d64d568a..88061640 100644 --- a/docs/command-reference/json/json.objkeys.md +++ b/docs/command-reference/json/json.objkeys.md @@ -40,7 +40,7 @@ is JSONPath to specify. Default is root `$`. Returns `null` for nonexistant path ## Return JSON.OBJKEYS returns an array of array replies for each path, an array of the key names in the object as a bulk string reply, or `nil` if the matching JSON value is not an object. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.objlen.md b/docs/command-reference/json/json.objlen.md index 3120dda9..06d0c560 100644 --- a/docs/command-reference/json/json.objlen.md +++ b/docs/command-reference/json/json.objlen.md @@ -40,7 +40,7 @@ is JSONPath to specify. Default is root `$`. Returns `null` for nonexistant path ## Return JSON.OBJLEN returns an array of integer replies for each path specified as the number of keys in the object or `nil`, if the matching JSON value is not an object. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.resp.md b/docs/command-reference/json/json.resp.md index 5af92fa1..92e116e4 100644 --- a/docs/command-reference/json/json.resp.md +++ b/docs/command-reference/json/json.resp.md @@ -15,7 +15,7 @@ import PageTitle from '@site/src/components/PageTitle'; **ACL categories:** @json -Return the JSON in `key` in [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec) form +Return the JSON in `key` in [Redis serialization protocol specification](https://valkey.io/topics/protocol/) form [Examples](#examples) @@ -42,13 +42,13 @@ is JSONPath to specify. Default is root `$`. This command uses the following map * JSON array is represented as an array reply in which the first element is the simple string reply `[`, followed by the array's elements. * JSON object is represented as an array reply in which the first element is the simple string reply `{`. Each successive entry represents a key-value pair as a two-entry array reply of the bulk string reply. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Return -JSON.RESP returns an array reply specified as the JSON's RESP form detailed in [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +JSON.RESP returns an array reply specified as the JSON's RESP form detailed in [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.set.md b/docs/command-reference/json/json.set.md index 0cf1051d..baaa1713 100644 --- a/docs/command-reference/json/json.set.md +++ b/docs/command-reference/json/json.set.md @@ -63,7 +63,7 @@ sets the key only if it already exists. ## Return value JSET.SET returns a simple string reply: `OK` if executed correctly or `nil` if the specified `NX` or `XX` conditions were not met. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.strappend.md b/docs/command-reference/json/json.strappend.md index 26419d8e..312eb1b1 100644 --- a/docs/command-reference/json/json.strappend.md +++ b/docs/command-reference/json/json.strappend.md @@ -53,7 +53,7 @@ is JSONPath to specify. Default is root `$`. ## Return value JSON.STRAPPEND returns an array of integer replies for each path, the string's new length, or `nil`, if the matching JSON value is not a string. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.strlen.md b/docs/command-reference/json/json.strlen.md index c6090a8d..57b838e6 100644 --- a/docs/command-reference/json/json.strlen.md +++ b/docs/command-reference/json/json.strlen.md @@ -40,7 +40,7 @@ is JSONPath to specify. Default is root `$`, if not provided. Returns null if th ## Return JSON.STRLEN returns by recursive descent an array of integer replies for each path, the array's length, or `nil`, if the matching JSON value is not a string. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.toggle.md b/docs/command-reference/json/json.toggle.md index a2bf80ff..b9b24704 100644 --- a/docs/command-reference/json/json.toggle.md +++ b/docs/command-reference/json/json.toggle.md @@ -40,7 +40,7 @@ is JSONPath to specify. Default is root `$`. ## Return JSON.TOGGLE returns an array of integer replies for each path, the new value (`0` if `false` or `1` if `true`), or `nil` for JSON values matching the path that are not Boolean. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/json/json.type.md b/docs/command-reference/json/json.type.md index 9a46151b..e475e4d9 100644 --- a/docs/command-reference/json/json.type.md +++ b/docs/command-reference/json/json.type.md @@ -40,7 +40,7 @@ is JSONPath to specify. Default is root `$`. Returns null if the `key` or `path` ## Return JSON.TYPE returns an array of string replies for each path, specified as the value's type. -For more information about replies, see [Redis serialization protocol specification](https://redis.io/docs/latest/develop/reference/protocol-spec). +For more information about replies, see [Redis serialization protocol specification](https://valkey.io/topics/protocol/). ## Examples diff --git a/docs/command-reference/lists/blmove.md b/docs/command-reference/lists/blmove.md index 2aeecacc..47f9da06 100644 --- a/docs/command-reference/lists/blmove.md +++ b/docs/command-reference/lists/blmove.md @@ -31,9 +31,9 @@ See also: [`LMOVE`](lmove.md) for the command options. ## Return -- [Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the element being +- [Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the element being popped from `source` and pushed to `destination`, when successful. -- [Nil reply](https://redis.io/docs/latest/develop/reference/protocol-spec#bulk-strings) when the command times out. +- [Nil reply](https://valkey.io/topics/protocol/#bulk-strings) when the command times out. ## Examples diff --git a/docs/command-reference/lists/blmpop.md b/docs/command-reference/lists/blmpop.md index 68a8616f..3a296b6e 100644 --- a/docs/command-reference/lists/blmpop.md +++ b/docs/command-reference/lists/blmpop.md @@ -27,6 +27,6 @@ A `timeout` of zero can be used to block indefinitely. ## Return -- [Null reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#nulls): when no element could be popped and the `timeout` is reached. -- [Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a two-element array with the first element +- [Null reply](https://valkey.io/topics/protocol/#nulls): when no element could be popped and the `timeout` is reached. +- [Array reply](https://valkey.io/topics/protocol/#arrays): a two-element array with the first element being the name of the key from which elements were popped, and the second element being an array of the popped elements. diff --git a/docs/command-reference/lists/blpop.md b/docs/command-reference/lists/blpop.md index 5b9cc13e..b55bddba 100644 --- a/docs/command-reference/lists/blpop.md +++ b/docs/command-reference/lists/blpop.md @@ -120,7 +120,7 @@ If you like science fiction, think of time flowing at infinite speed inside a ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): specifically: +[Array reply](https://valkey.io/topics/protocol/#arrays): specifically: * A `nil` multi-bulk when no element could be popped and the timeout expired. * A two-element multi-bulk with the first element being the name of the key diff --git a/docs/command-reference/lists/brpop.md b/docs/command-reference/lists/brpop.md index 6d672f30..79aec6cb 100644 --- a/docs/command-reference/lists/brpop.md +++ b/docs/command-reference/lists/brpop.md @@ -29,7 +29,7 @@ the tail of a list instead of popping from the head. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): specifically: +[Array reply](https://valkey.io/topics/protocol/#arrays): specifically: * A `nil` multi-bulk when no element could be popped and the timeout expired. * A two-element multi-bulk with the first element being the name of the key diff --git a/docs/command-reference/lists/brpoplpush.md b/docs/command-reference/lists/brpoplpush.md index f801d0dc..41d3f9f9 100644 --- a/docs/command-reference/lists/brpoplpush.md +++ b/docs/command-reference/lists/brpoplpush.md @@ -25,8 +25,8 @@ See `RPOPLPUSH` for more information. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the element being popped from `source` and pushed to `destination`. -If `timeout` is reached, a [Null reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings) is returned. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the element being popped from `source` and pushed to `destination`. +If `timeout` is reached, a [Null reply](https://valkey.io/topics/protocol/#bulk-strings) is returned. ## Pattern: Reliable queue diff --git a/docs/command-reference/lists/lindex.md b/docs/command-reference/lists/lindex.md index 56bb7372..b23fcafb 100644 --- a/docs/command-reference/lists/lindex.md +++ b/docs/command-reference/lists/lindex.md @@ -26,7 +26,7 @@ When the value at `key` is not a list, an error is returned. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the requested element, or `nil` when `index` is out of range. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the requested element, or `nil` when `index` is out of range. ## Examples diff --git a/docs/command-reference/lists/linsert.md b/docs/command-reference/lists/linsert.md index eae379d4..24e3de58 100644 --- a/docs/command-reference/lists/linsert.md +++ b/docs/command-reference/lists/linsert.md @@ -27,7 +27,7 @@ An error is returned when `key` exists but does not hold a list value. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the list length after a successful insert operation, `0` if the `key` doesn't exist, and `-1` when the `pivot` wasn't found. +[Integer reply](https://valkey.io/topics/protocol/#integers): the list length after a successful insert operation, `0` if the `key` doesn't exist, and `-1` when the `pivot` wasn't found. ## Examples diff --git a/docs/command-reference/lists/llen.md b/docs/command-reference/lists/llen.md index 842b8263..6027429f 100644 --- a/docs/command-reference/lists/llen.md +++ b/docs/command-reference/lists/llen.md @@ -21,7 +21,7 @@ An error is returned when the value stored at `key` is not a list. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the length of the list at `key`. +[Integer reply](https://valkey.io/topics/protocol/#integers): the length of the list at `key`. ## Examples diff --git a/docs/command-reference/lists/lmove.md b/docs/command-reference/lists/lmove.md index 3a681309..89771e9d 100644 --- a/docs/command-reference/lists/lmove.md +++ b/docs/command-reference/lists/lmove.md @@ -39,7 +39,7 @@ This command comes in place of the now deprecated `RPOPLPUSH`. Doing ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the element being popped and pushed. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the element being popped and pushed. ## Examples diff --git a/docs/command-reference/lists/lmpop.md b/docs/command-reference/lists/lmpop.md index 269bc5ab..8579d102 100644 --- a/docs/command-reference/lists/lmpop.md +++ b/docs/command-reference/lists/lmpop.md @@ -26,8 +26,8 @@ See [`BLMPOP`](./blmpop) for the blocking variant of this command. ## Return -- [Null reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#nulls): when no element could be popped. -- [Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a two-element array with the first element +- [Null reply](https://valkey.io/topics/protocol/#nulls): when no element could be popped. +- [Array reply](https://valkey.io/topics/protocol/#arrays): a two-element array with the first element being the name of the key from which elements were popped, and the second element being an array of the popped elements. ## Examples diff --git a/docs/command-reference/lists/lpop.md b/docs/command-reference/lists/lpop.md index 43f3db12..cebe1446 100644 --- a/docs/command-reference/lists/lpop.md +++ b/docs/command-reference/lists/lpop.md @@ -25,11 +25,11 @@ to `count` elements, depending on the list's length. When called without the `count` argument: -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the value of the first element, or `nil` when `key` does not exist. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the value of the first element, or `nil` when `key` does not exist. When called with the `count` argument: -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list of popped elements, or `nil` when `key` does not exist. +[Array reply](https://valkey.io/topics/protocol/#arrays): list of popped elements, or `nil` when `key` does not exist. ## Examples diff --git a/docs/command-reference/lists/lpush.md b/docs/command-reference/lists/lpush.md index 62615914..bc3ef05e 100644 --- a/docs/command-reference/lists/lpush.md +++ b/docs/command-reference/lists/lpush.md @@ -29,7 +29,7 @@ containing `c` as first element, `b` as second element and `a` as third element. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the length of the list after the push operations. +[Integer reply](https://valkey.io/topics/protocol/#integers): the length of the list after the push operations. ## Examples diff --git a/docs/command-reference/lists/lpushx.md b/docs/command-reference/lists/lpushx.md index 8a794cfd..bfd4acf3 100644 --- a/docs/command-reference/lists/lpushx.md +++ b/docs/command-reference/lists/lpushx.md @@ -22,7 +22,7 @@ exist. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the length of the list after the push operation. +[Integer reply](https://valkey.io/topics/protocol/#integers): the length of the list after the push operation. ## Examples diff --git a/docs/command-reference/lists/lrange.md b/docs/command-reference/lists/lrange.md index bd8e2a10..2ea37bee 100644 --- a/docs/command-reference/lists/lrange.md +++ b/docs/command-reference/lists/lrange.md @@ -42,7 +42,7 @@ the last element of the list. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list of elements in the specified range. +[Array reply](https://valkey.io/topics/protocol/#arrays): list of elements in the specified range. ## Examples diff --git a/docs/command-reference/lists/lrem.md b/docs/command-reference/lists/lrem.md index d367ef65..d7450f31 100644 --- a/docs/command-reference/lists/lrem.md +++ b/docs/command-reference/lists/lrem.md @@ -31,7 +31,7 @@ exist, the command will always return `0`. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of removed elements. +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of removed elements. ## Examples diff --git a/docs/command-reference/lists/lset.md b/docs/command-reference/lists/lset.md index b7aea44b..b647f8b7 100644 --- a/docs/command-reference/lists/lset.md +++ b/docs/command-reference/lists/lset.md @@ -22,7 +22,7 @@ An error is returned for out of range indexes. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings) +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings) ## Examples diff --git a/docs/command-reference/lists/ltrim.md b/docs/command-reference/lists/ltrim.md index 02ab3652..8ecacc30 100644 --- a/docs/command-reference/lists/ltrim.md +++ b/docs/command-reference/lists/ltrim.md @@ -48,7 +48,7 @@ is removed from the tail of the list. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings) +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings) ## Examples diff --git a/docs/command-reference/lists/rpop.md b/docs/command-reference/lists/rpop.md index a3a6cf45..2ed34dc5 100644 --- a/docs/command-reference/lists/rpop.md +++ b/docs/command-reference/lists/rpop.md @@ -25,11 +25,11 @@ to `count` elements, depending on the list's length. When called without the `count` argument: -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the value of the last element, or `nil` when `key` does not exist. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the value of the last element, or `nil` when `key` does not exist. When called with the `count` argument: -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list of popped elements, or `nil` when `key` does not exist. +[Array reply](https://valkey.io/topics/protocol/#arrays): list of popped elements, or `nil` when `key` does not exist. ## Examples diff --git a/docs/command-reference/lists/rpoplpush.md b/docs/command-reference/lists/rpoplpush.md index bea296c0..68fc55c5 100644 --- a/docs/command-reference/lists/rpoplpush.md +++ b/docs/command-reference/lists/rpoplpush.md @@ -32,7 +32,7 @@ list, so it can be considered as a list rotation command. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the element being popped and pushed. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the element being popped and pushed. ## Examples diff --git a/docs/command-reference/lists/rpush.md b/docs/command-reference/lists/rpush.md index bb9326e5..fa3d31a6 100644 --- a/docs/command-reference/lists/rpush.md +++ b/docs/command-reference/lists/rpush.md @@ -29,7 +29,7 @@ containing `a` as first element, `b` as second element and `c` as third element. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the length of the list after the push operation. +[Integer reply](https://valkey.io/topics/protocol/#integers): the length of the list after the push operation. ## Examples diff --git a/docs/command-reference/lists/rpushx.md b/docs/command-reference/lists/rpushx.md index e32cb770..9c0fe65d 100644 --- a/docs/command-reference/lists/rpushx.md +++ b/docs/command-reference/lists/rpushx.md @@ -22,7 +22,7 @@ exist. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the length of the list after the push operation. +[Integer reply](https://valkey.io/topics/protocol/#integers): the length of the list after the push operation. ## Examples diff --git a/docs/command-reference/pubsub/_unsupported/xgroup-create.md b/docs/command-reference/pubsub/_unsupported/xgroup-create.md index 7472c479..28453106 100644 --- a/docs/command-reference/pubsub/_unsupported/xgroup-create.md +++ b/docs/command-reference/pubsub/_unsupported/xgroup-create.md @@ -44,4 +44,4 @@ Set the `entries_read` the stream's `entries_added` subtracted by the number of ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` on success. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` on success. diff --git a/docs/command-reference/pubsub/_unsupported/xgroup-createconsumer.md b/docs/command-reference/pubsub/_unsupported/xgroup-createconsumer.md index bb50b0af..58b0eb08 100644 --- a/docs/command-reference/pubsub/_unsupported/xgroup-createconsumer.md +++ b/docs/command-reference/pubsub/_unsupported/xgroup-createconsumer.md @@ -21,4 +21,4 @@ This is valid for `XREADGROUP` only when there is data in the stream. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of created consumers (0 or 1) +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of created consumers (0 or 1) diff --git a/docs/command-reference/pubsub/_unsupported/xgroup-delconsumer.md b/docs/command-reference/pubsub/_unsupported/xgroup-delconsumer.md index f1c6f8a4..6fa2e4b5 100644 --- a/docs/command-reference/pubsub/_unsupported/xgroup-delconsumer.md +++ b/docs/command-reference/pubsub/_unsupported/xgroup-delconsumer.md @@ -23,4 +23,4 @@ It is strongly recommended, therefore, that any pending messages are claimed or ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of pending messages that the consumer had before it was deleted +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of pending messages that the consumer had before it was deleted diff --git a/docs/command-reference/pubsub/_unsupported/xgroup-destroy.md b/docs/command-reference/pubsub/_unsupported/xgroup-destroy.md index 82b5060b..40816201 100644 --- a/docs/command-reference/pubsub/_unsupported/xgroup-destroy.md +++ b/docs/command-reference/pubsub/_unsupported/xgroup-destroy.md @@ -20,4 +20,4 @@ The consumer group will be destroyed even if there are active consumers, and pen ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of destroyed consumer groups (0 or 1) +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of destroyed consumer groups (0 or 1) diff --git a/docs/command-reference/pubsub/_unsupported/xgroup-help.md b/docs/command-reference/pubsub/_unsupported/xgroup-help.md index 0c2bbfe5..7ca3eabe 100644 --- a/docs/command-reference/pubsub/_unsupported/xgroup-help.md +++ b/docs/command-reference/pubsub/_unsupported/xgroup-help.md @@ -18,4 +18,4 @@ The `XGROUP HELP` command returns a helpful text describing the different subcom ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of subcommands and their descriptions +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of subcommands and their descriptions diff --git a/docs/command-reference/pubsub/_unsupported/xgroup-setid.md b/docs/command-reference/pubsub/_unsupported/xgroup-setid.md index 02e0d9b1..f85077c7 100644 --- a/docs/command-reference/pubsub/_unsupported/xgroup-setid.md +++ b/docs/command-reference/pubsub/_unsupported/xgroup-setid.md @@ -33,4 +33,4 @@ In such cases, the `entries_read` can be set to the stream's `entries_added` sub ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` on success. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` on success. diff --git a/docs/command-reference/pubsub/_unsupported/xinfo-consumers.md b/docs/command-reference/pubsub/_unsupported/xinfo-consumers.md index bd40d0aa..bcce713f 100644 --- a/docs/command-reference/pubsub/_unsupported/xinfo-consumers.md +++ b/docs/command-reference/pubsub/_unsupported/xinfo-consumers.md @@ -23,7 +23,7 @@ The following information is provided for each consumer in the group: @reply -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of consumers. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of consumers. ## Examples diff --git a/docs/command-reference/pubsub/_unsupported/xinfo-groups.md b/docs/command-reference/pubsub/_unsupported/xinfo-groups.md index 36cd4b7d..9d32175c 100644 --- a/docs/command-reference/pubsub/_unsupported/xinfo-groups.md +++ b/docs/command-reference/pubsub/_unsupported/xinfo-groups.md @@ -56,7 +56,7 @@ Once the consumer group delivers the last message in the stream to its members, @reply -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of consumer groups. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of consumer groups. ## Examples diff --git a/docs/command-reference/pubsub/_unsupported/xinfo-help.md b/docs/command-reference/pubsub/_unsupported/xinfo-help.md index 9a595504..ce860e79 100644 --- a/docs/command-reference/pubsub/_unsupported/xinfo-help.md +++ b/docs/command-reference/pubsub/_unsupported/xinfo-help.md @@ -18,4 +18,4 @@ The `XINFO HELP` command returns a helpful text describing the different subcomm ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of subcommands and their descriptions +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of subcommands and their descriptions diff --git a/docs/command-reference/pubsub/_unsupported/xinfo-stream.md b/docs/command-reference/pubsub/_unsupported/xinfo-stream.md index bbf13b9e..1cf3251e 100644 --- a/docs/command-reference/pubsub/_unsupported/xinfo-stream.md +++ b/docs/command-reference/pubsub/_unsupported/xinfo-stream.md @@ -36,7 +36,7 @@ The default `COUNT` is 10 and a `COUNT` of 0 means that all entries will be retu ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of informational bits +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of informational bits ## Examples diff --git a/docs/command-reference/pubsub/publish.md b/docs/command-reference/pubsub/publish.md index d7265dbf..a5053cd8 100644 --- a/docs/command-reference/pubsub/publish.md +++ b/docs/command-reference/pubsub/publish.md @@ -19,7 +19,7 @@ Posts a message to the given channel. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of clients that received the message. +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of clients that received the message. ## Examples diff --git a/docs/command-reference/pubsub/pubsub-channels.md b/docs/command-reference/pubsub/pubsub-channels.md index 09af6e2c..63141a31 100644 --- a/docs/command-reference/pubsub/pubsub-channels.md +++ b/docs/command-reference/pubsub/pubsub-channels.md @@ -23,7 +23,7 @@ If no `pattern` is specified, all the channels are listed, otherwise if pattern ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of active channels, optionally matching the specified pattern. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of active channels, optionally matching the specified pattern. ## Examples diff --git a/docs/command-reference/pubsub/pubsub-help.md b/docs/command-reference/pubsub/pubsub-help.md index ccd472f2..166db49a 100644 --- a/docs/command-reference/pubsub/pubsub-help.md +++ b/docs/command-reference/pubsub/pubsub-help.md @@ -19,4 +19,4 @@ The `PUBSUB HELP` command returns a helpful text describing the different subcom ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of subcommands and their descriptions +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of subcommands and their descriptions diff --git a/docs/command-reference/pubsub/pubsub-numpat.md b/docs/command-reference/pubsub/pubsub-numpat.md index c5c1993f..16c60ff1 100644 --- a/docs/command-reference/pubsub/pubsub-numpat.md +++ b/docs/command-reference/pubsub/pubsub-numpat.md @@ -21,4 +21,4 @@ Note that this isn't the count of clients subscribed to patterns, but the total ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of patterns all the clients are subscribed to. +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of patterns all the clients are subscribed to. diff --git a/docs/command-reference/pubsub/pubsub-numsub.md b/docs/command-reference/pubsub/pubsub-numsub.md index 3ed9e27a..8fd1cf51 100644 --- a/docs/command-reference/pubsub/pubsub-numsub.md +++ b/docs/command-reference/pubsub/pubsub-numsub.md @@ -23,6 +23,6 @@ Cluster note: in a Redis Cluster clients can subscribe to every node, and can al ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of channels and number of subscribers for every channel. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of channels and number of subscribers for every channel. The format is channel, count, channel, count, ..., so the list is flat. The order in which the channels are listed is the same as the order of the channels specified in the command call. diff --git a/docs/command-reference/pubsub/pubsub-shardchannels.md b/docs/command-reference/pubsub/pubsub-shardchannels.md index 50320aec..c8577346 100644 --- a/docs/command-reference/pubsub/pubsub-shardchannels.md +++ b/docs/command-reference/pubsub/pubsub-shardchannels.md @@ -25,7 +25,7 @@ The information returned about the active shard channels are at the shard level ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of active channels, optionally matching the specified pattern. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of active channels, optionally matching the specified pattern. ## Examples diff --git a/docs/command-reference/pubsub/pubsub-shardnumsub.md b/docs/command-reference/pubsub/pubsub-shardnumsub.md index 0e8b771b..227bbfa6 100644 --- a/docs/command-reference/pubsub/pubsub-shardnumsub.md +++ b/docs/command-reference/pubsub/pubsub-shardnumsub.md @@ -23,7 +23,7 @@ Cluster note: in a Redis Cluster, `PUBSUB`'s replies in a cluster only report in ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of channels and number of subscribers for every channel. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of channels and number of subscribers for every channel. The format is channel, count, channel, count, ..., so the list is flat. The order in which the channels are listed is the same as the order of the shard channels specified in the command call. diff --git a/docs/command-reference/pubsub/spublish.md b/docs/command-reference/pubsub/spublish.md index 14a605fb..20aff9ad 100644 --- a/docs/command-reference/pubsub/spublish.md +++ b/docs/command-reference/pubsub/spublish.md @@ -22,7 +22,7 @@ complete, clients get redirected to thew new node that owns the moved slot to co ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of clients that received the message. +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of clients that received the message. ## Examples diff --git a/docs/command-reference/rate-limiter/cl.throttle.md b/docs/command-reference/rate-limiter/cl.throttle.md index 111717eb..bdecdf96 100644 --- a/docs/command-reference/rate-limiter/cl.throttle.md +++ b/docs/command-reference/rate-limiter/cl.throttle.md @@ -50,7 +50,7 @@ dragonfly$> CL.THROTTLE user123 20 120 60 1 ## Return Values -An [array](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) of 5 integers with the following values: +An [array](https://valkey.io/topics/protocol/#arrays) of 5 integers with the following values: 1. Whether to limit the related action (0 for allowed, 1 for limited). 2. The total limit of the key. (Equivalent to `X-RateLimit-Limit`) diff --git a/docs/command-reference/search/ft._list.md b/docs/command-reference/search/ft._list.md index 76409c72..35325ce2 100644 --- a/docs/command-reference/search/ft._list.md +++ b/docs/command-reference/search/ft._list.md @@ -19,7 +19,7 @@ In the future, a `SCAN` type of command will be added for use when a database co ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec#arrays) with index names. +[Array reply](https://valkey.io/topics/protocol/#arrays) with index names. ## Examples diff --git a/docs/command-reference/search/ft.alter.md b/docs/command-reference/search/ft.alter.md index 5ae8bf6d..599b9e8d 100644 --- a/docs/command-reference/search/ft.alter.md +++ b/docs/command-reference/search/ft.alter.md @@ -29,8 +29,8 @@ Note that adding an attribute to the index causes any future document updates to ## Return Values -- [Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` if executed correctly. -- [Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-errors) in these cases: no such index, invalid schema syntax. +- [Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` if executed correctly. +- [Simple error reply](https://valkey.io/topics/protocol/#simple-errors) in these cases: no such index, invalid schema syntax. ## Examples diff --git a/docs/command-reference/search/ft.tagvals.md b/docs/command-reference/search/ft.tagvals.md index d7e11468..a912f1eb 100644 --- a/docs/command-reference/search/ft.tagvals.md +++ b/docs/command-reference/search/ft.tagvals.md @@ -33,8 +33,8 @@ The returned strings are lowercase with whitespaces removed, but otherwise uncha One of the following: -- [Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): an array of distinct tag values as bulk strings. -- [Simple error reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-errors) in these cases: no such index, not a tag field. +- [Array reply](https://valkey.io/topics/protocol/#arrays): an array of distinct tag values as bulk strings. +- [Simple error reply](https://valkey.io/topics/protocol/#simple-errors) in these cases: no such index, not a tag field. ## Examples diff --git a/docs/command-reference/server-management/auth.md b/docs/command-reference/server-management/auth.md index f99b0e85..55f0e69b 100644 --- a/docs/command-reference/server-management/auth.md +++ b/docs/command-reference/server-management/auth.md @@ -31,4 +31,4 @@ strong and very long password so that this attack is infeasible. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings) or an error if the password is invalid. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings) or an error if the password is invalid. diff --git a/docs/command-reference/server-management/bgsave.md b/docs/command-reference/server-management/bgsave.md index 88017b1d..d3098a35 100644 --- a/docs/command-reference/server-management/bgsave.md +++ b/docs/command-reference/server-management/bgsave.md @@ -23,4 +23,4 @@ Equvalent to [SAVE](../server-management/save) and kept for compatibility reason ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `Background saving started` if `BGSAVE` started correctly or `Background saving scheduled` when used with the `SCHEDULE` subcommand. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `Background saving started` if `BGSAVE` started correctly or `Background saving scheduled` when used with the `SCHEDULE` subcommand. diff --git a/docs/command-reference/server-management/client-caching.md b/docs/command-reference/server-management/client-caching.md index 4435805f..4b46b3f5 100644 --- a/docs/command-reference/server-management/client-caching.md +++ b/docs/command-reference/server-management/client-caching.md @@ -34,7 +34,7 @@ Again, the behavior change enforced by the `CLIENT CACHING` command is only appl ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` if the argument is valid. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` if the argument is valid. An error is returned if RESP3 is not enabled, or the argument does not match the current tracking mode for the client. For example, if `YES` is specified when the mode is not `OPTIN`, or `NO` is specified when the mode is not `OPTOUT`. diff --git a/docs/command-reference/server-management/client-getname.md b/docs/command-reference/server-management/client-getname.md index 354bab5f..12b43fc6 100644 --- a/docs/command-reference/server-management/client-getname.md +++ b/docs/command-reference/server-management/client-getname.md @@ -20,4 +20,4 @@ The `CLIENT GETNAME` returns the name of the current connection as set by `CLIEN ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): The connection name, or a null bulk reply if no name is set. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): The connection name, or a null bulk reply if no name is set. diff --git a/docs/command-reference/server-management/client-help.md b/docs/command-reference/server-management/client-help.md index 98d7e788..8b2c5fb0 100644 --- a/docs/command-reference/server-management/client-help.md +++ b/docs/command-reference/server-management/client-help.md @@ -20,7 +20,7 @@ The `CLIENT HELP` command returns a helpful text describing the different `CLIEN ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of subcommands and their descriptions. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of subcommands and their descriptions. ## Example diff --git a/docs/command-reference/server-management/client-id.md b/docs/command-reference/server-management/client-id.md index 23035b12..4bafb046 100644 --- a/docs/command-reference/server-management/client-id.md +++ b/docs/command-reference/server-management/client-id.md @@ -22,7 +22,7 @@ The ID can be used with other client-management commands such as `CLIENT KILL ID ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the current connection's client ID. +[Integer reply](https://valkey.io/topics/protocol/#integers): the current connection's client ID. ## Examples diff --git a/docs/command-reference/server-management/client-kill.md b/docs/command-reference/server-management/client-kill.md index 4f028526..c2906066 100644 --- a/docs/command-reference/server-management/client-kill.md +++ b/docs/command-reference/server-management/client-kill.md @@ -34,7 +34,7 @@ Admin-protected connections cannot be killed by non-privileged clients. If the r ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of client connections that were terminated. +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of client connections that were terminated. ## Examples diff --git a/docs/command-reference/server-management/client-list.md b/docs/command-reference/server-management/client-list.md index e1b97881..3ebef599 100644 --- a/docs/command-reference/server-management/client-list.md +++ b/docs/command-reference/server-management/client-list.md @@ -22,7 +22,7 @@ connections server in a mostly human readable format. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): a unique string, formatted as follows: +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): a unique string, formatted as follows: * One client connection per line (separated by LF) * Each line is composed of a succession of `property=value` fields separated diff --git a/docs/command-reference/server-management/client-pause.md b/docs/command-reference/server-management/client-pause.md index 8314b5a9..f4c23d25 100644 --- a/docs/command-reference/server-management/client-pause.md +++ b/docs/command-reference/server-management/client-pause.md @@ -29,4 +29,4 @@ Client pause currently supports two modes: ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` or an error if the timeout is invalid. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` or an error if the timeout is invalid. diff --git a/docs/command-reference/server-management/client-setinfo.md b/docs/command-reference/server-management/client-setinfo.md index 9074e72a..eebf46ad 100644 --- a/docs/command-reference/server-management/client-setinfo.md +++ b/docs/command-reference/server-management/client-setinfo.md @@ -27,4 +27,4 @@ Currently the supported attributes are: ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` if the attribute name was successfully set. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` if the attribute name was successfully set. diff --git a/docs/command-reference/server-management/client-setname.md b/docs/command-reference/server-management/client-setname.md index 0b344090..fcc94825 100644 --- a/docs/command-reference/server-management/client-setname.md +++ b/docs/command-reference/server-management/client-setname.md @@ -34,4 +34,4 @@ Tip: setting names to connections is a good way to debug connection leaks due to ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` if the connection name was successfully set. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` if the connection name was successfully set. diff --git a/docs/command-reference/server-management/client-tracking.md b/docs/command-reference/server-management/client-tracking.md index fe8aa4a5..816a900c 100644 --- a/docs/command-reference/server-management/client-tracking.md +++ b/docs/command-reference/server-management/client-tracking.md @@ -33,7 +33,7 @@ and Dragonfly stops tracking the keys for the connection, and no invalidation me ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` if the connection was +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` if the connection was successfully put in tracking mode or if the tracking mode was successfully disabled. Otherwise, an error is returned. ## Options diff --git a/docs/command-reference/server-management/command-count.md b/docs/command-reference/server-management/command-count.md index 9b733bcd..93e79661 100644 --- a/docs/command-reference/server-management/command-count.md +++ b/docs/command-reference/server-management/command-count.md @@ -20,7 +20,7 @@ Returns the number of total commands in this Dragonfly server. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): number of commands returned by `COMMAND`. +[Integer reply](https://valkey.io/topics/protocol/#integers): number of commands returned by `COMMAND`. ## Examples diff --git a/docs/command-reference/server-management/command-help.md b/docs/command-reference/server-management/command-help.md index 03a4e5f7..378d9d53 100644 --- a/docs/command-reference/server-management/command-help.md +++ b/docs/command-reference/server-management/command-help.md @@ -20,7 +20,7 @@ Return usage information for the supported `COMMAND` subcommands in this Dragonf ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of human-readable help lines. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of human-readable help lines. ## Examples diff --git a/docs/command-reference/server-management/command-info.md b/docs/command-reference/server-management/command-info.md index 643953a8..345b2e4a 100644 --- a/docs/command-reference/server-management/command-info.md +++ b/docs/command-reference/server-management/command-info.md @@ -32,7 +32,7 @@ The reply format matches one entry of the `COMMAND` output: ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a single-element nested array describing the command, or a [null reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#nulls) if the command does not exist. +[Array reply](https://valkey.io/topics/protocol/#arrays): a single-element nested array describing the command, or a [null reply](https://valkey.io/topics/protocol/#nulls) if the command does not exist. ## Examples diff --git a/docs/command-reference/server-management/command.md b/docs/command-reference/server-management/command.md index 0f06c85e..e47e1e39 100644 --- a/docs/command-reference/server-management/command.md +++ b/docs/command-reference/server-management/command.md @@ -36,7 +36,7 @@ Unsupported in Dragonfly: ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a nested list of command details. +[Array reply](https://valkey.io/topics/protocol/#arrays): a nested list of command details. The order of commands in the array is random. The reply is an array with **an element per command**. diff --git a/docs/command-reference/server-management/config-get.md b/docs/command-reference/server-management/config-get.md index 9c95559f..ed2e39b7 100644 --- a/docs/command-reference/server-management/config-get.md +++ b/docs/command-reference/server-management/config-get.md @@ -25,7 +25,7 @@ Any configuration parameters matching the pattern are reported as a list of key- ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list of key-value pairs for configuration parameters. +[Array reply](https://valkey.io/topics/protocol/#arrays): list of key-value pairs for configuration parameters. ## Examples diff --git a/docs/command-reference/server-management/config-help.md b/docs/command-reference/server-management/config-help.md index a77173be..5d7c9105 100644 --- a/docs/command-reference/server-management/config-help.md +++ b/docs/command-reference/server-management/config-help.md @@ -20,7 +20,7 @@ The `CONFIG HELP` command returns a helpful text describing the different `CONFI ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of subcommands and their descriptions. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of subcommands and their descriptions. ## Example diff --git a/docs/command-reference/server-management/config-resetstat.md b/docs/command-reference/server-management/config-resetstat.md index 54b58e19..a536e192 100644 --- a/docs/command-reference/server-management/config-resetstat.md +++ b/docs/command-reference/server-management/config-resetstat.md @@ -20,4 +20,4 @@ Resets the statistics reported by Dragonfly using the `INFO` command. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): always `OK`. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): always `OK`. diff --git a/docs/command-reference/server-management/config-set.md b/docs/command-reference/server-management/config-set.md index 998cc47b..361bc9c9 100644 --- a/docs/command-reference/server-management/config-set.md +++ b/docs/command-reference/server-management/config-set.md @@ -26,7 +26,7 @@ Note we only support configuring a single parameter at a time. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` when the configuration was set properly, error otherwise. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` when the configuration was set properly, error otherwise. ## Examples diff --git a/docs/command-reference/server-management/dbsize.md b/docs/command-reference/server-management/dbsize.md index 22222f1a..ad37e76d 100644 --- a/docs/command-reference/server-management/dbsize.md +++ b/docs/command-reference/server-management/dbsize.md @@ -20,4 +20,4 @@ Return the number of keys in the currently-selected database. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers) +[Integer reply](https://valkey.io/topics/protocol/#integers) diff --git a/docs/command-reference/server-management/echo.md b/docs/command-reference/server-management/echo.md index 0e4b2c43..143dd1a5 100644 --- a/docs/command-reference/server-management/echo.md +++ b/docs/command-reference/server-management/echo.md @@ -20,7 +20,7 @@ Returns `message`. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings) +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings) ## Examples diff --git a/docs/command-reference/server-management/flushall.md b/docs/command-reference/server-management/flushall.md index 2cc42f29..ca6a639d 100644 --- a/docs/command-reference/server-management/flushall.md +++ b/docs/command-reference/server-management/flushall.md @@ -29,4 +29,4 @@ This command never fails. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK`. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK`. diff --git a/docs/command-reference/server-management/flushdb.md b/docs/command-reference/server-management/flushdb.md index 540deb16..c2f534aa 100644 --- a/docs/command-reference/server-management/flushdb.md +++ b/docs/command-reference/server-management/flushdb.md @@ -29,4 +29,4 @@ This command never fails. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK`. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK`. diff --git a/docs/command-reference/server-management/hello.md b/docs/command-reference/server-management/hello.md index a3f4335d..1258cbbc 100644 --- a/docs/command-reference/server-management/hello.md +++ b/docs/command-reference/server-management/hello.md @@ -68,4 +68,4 @@ When called with the optional protover argument, this command switches the proto ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of server properties. The reply is a map instead of an array when RESP3 is selected. The command returns an error if the protover requested does not exist. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of server properties. The reply is a map instead of an array when RESP3 is selected. The command returns an error if the protover requested does not exist. diff --git a/docs/command-reference/server-management/info.md b/docs/command-reference/server-management/info.md index cd7d74f7..613ce8e9 100644 --- a/docs/command-reference/server-management/info.md +++ b/docs/command-reference/server-management/info.md @@ -40,7 +40,7 @@ When no parameter is provided, the `default` option is assumed. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): as a collection of text lines. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): as a collection of text lines. Lines can contain a section name (starting with a # character) or a property. All the properties are in the form of `field:value` terminated by `\r\n`. diff --git a/docs/command-reference/server-management/lastsave.md b/docs/command-reference/server-management/lastsave.md index 1fb666c8..a8fe2fc4 100644 --- a/docs/command-reference/server-management/lastsave.md +++ b/docs/command-reference/server-management/lastsave.md @@ -23,4 +23,4 @@ seconds if `LASTSAVE` changed. Dragonfly considers the database saved successful ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): an UNIX time stamp. +[Integer reply](https://valkey.io/topics/protocol/#integers): an UNIX time stamp. diff --git a/docs/command-reference/server-management/memory-help.md b/docs/command-reference/server-management/memory-help.md index 66f1a206..77b4d8cc 100644 --- a/docs/command-reference/server-management/memory-help.md +++ b/docs/command-reference/server-management/memory-help.md @@ -21,4 +21,4 @@ subcommands. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of subcommands and their descriptions +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of subcommands and their descriptions diff --git a/docs/command-reference/server-management/memory-malloc-stats.md b/docs/command-reference/server-management/memory-malloc-stats.md index 282b1c35..5ac2dfbc 100644 --- a/docs/command-reference/server-management/memory-malloc-stats.md +++ b/docs/command-reference/server-management/memory-malloc-stats.md @@ -21,4 +21,4 @@ the memory allocator. ## Return -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the memory allocator's internal statistics report +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the memory allocator's internal statistics report diff --git a/docs/command-reference/server-management/ping.md b/docs/command-reference/server-management/ping.md index bb63c6d8..d2522b82 100644 --- a/docs/command-reference/server-management/ping.md +++ b/docs/command-reference/server-management/ping.md @@ -30,9 +30,9 @@ of the argument. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings), and specifically `PONG`, when no argument is provided. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings), and specifically `PONG`, when no argument is provided. -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings) the argument provided, when applicable. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings) the argument provided, when applicable. ## Examples diff --git a/docs/command-reference/server-management/quit.md b/docs/command-reference/server-management/quit.md index 5b1df4e1..4443f15a 100644 --- a/docs/command-reference/server-management/quit.md +++ b/docs/command-reference/server-management/quit.md @@ -26,4 +26,4 @@ Terminating a connection on the client side is preferable, as it eliminates `TIM ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): always OK. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): always OK. diff --git a/docs/command-reference/server-management/replicaof.md b/docs/command-reference/server-management/replicaof.md index a5f85be3..d3415814 100644 --- a/docs/command-reference/server-management/replicaof.md +++ b/docs/command-reference/server-management/replicaof.md @@ -29,7 +29,7 @@ Later when the other Dragonfly server is fixed, it can be reconfigured to work a ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings) +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings) ## Examples diff --git a/docs/command-reference/server-management/role.md b/docs/command-reference/server-management/role.md index 1abec454..ed15b28c 100644 --- a/docs/command-reference/server-management/role.md +++ b/docs/command-reference/server-management/role.md @@ -65,4 +65,4 @@ The replica output is composed of the following parts: ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): where the first element is one of `master`, `slave`, `sentinel` and the additional elements are role-specific as illustrated above. +[Array reply](https://valkey.io/topics/protocol/#arrays): where the first element is one of `master`, `slave`, `sentinel` and the additional elements are role-specific as illustrated above. diff --git a/docs/command-reference/server-management/save.md b/docs/command-reference/server-management/save.md index 4cc954e2..8defc8b2 100644 --- a/docs/command-reference/server-management/save.md +++ b/docs/command-reference/server-management/save.md @@ -40,7 +40,7 @@ Optional argument `filename` is used to override current **`dbfilename`** for sa ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): The commands returns OK on success. +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): The commands returns OK on success. ## Examples diff --git a/docs/command-reference/server-management/select.md b/docs/command-reference/server-management/select.md index 1437d883..40a778ec 100644 --- a/docs/command-reference/server-management/select.md +++ b/docs/command-reference/server-management/select.md @@ -26,4 +26,4 @@ In practical terms, Dragonfly databases should be used to separate different key Since the currently selected database is a property of the connection, clients should track the currently selected database and re-select it on reconnection. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings) +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings) diff --git a/docs/command-reference/server-management/shutdown.md b/docs/command-reference/server-management/shutdown.md index 6e5c655c..c8acf7a0 100644 --- a/docs/command-reference/server-management/shutdown.md +++ b/docs/command-reference/server-management/shutdown.md @@ -52,7 +52,7 @@ The `SHUTDOWN` command supports optional modifiers to alter the behavior of the ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): * On successful shutdown, nothing is returned since the server quits and the connection is closed. * If `ABORT` is specified, Dragonfly returns an error: `SHUTDOWN ABORT is not supported`, and the server remains running. diff --git a/docs/command-reference/server-management/slowlog-get.md b/docs/command-reference/server-management/slowlog-get.md index 8fba0181..0b015908 100644 --- a/docs/command-reference/server-management/slowlog-get.md +++ b/docs/command-reference/server-management/slowlog-get.md @@ -38,4 +38,4 @@ restart will reset it. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of slow log entries. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of slow log entries. diff --git a/docs/command-reference/server-management/slowlog-help.md b/docs/command-reference/server-management/slowlog-help.md index 90bae4c6..cd935fa1 100644 --- a/docs/command-reference/server-management/slowlog-help.md +++ b/docs/command-reference/server-management/slowlog-help.md @@ -16,4 +16,4 @@ The `SLOWLOG HELP` command returns a helpful text describing the different subco ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a list of subcommands and their descriptions. +[Array reply](https://valkey.io/topics/protocol/#arrays): a list of subcommands and their descriptions. diff --git a/docs/command-reference/server-management/slowlog-len.md b/docs/command-reference/server-management/slowlog-len.md index 4d44190d..87cf9105 100644 --- a/docs/command-reference/server-management/slowlog-len.md +++ b/docs/command-reference/server-management/slowlog-len.md @@ -20,4 +20,4 @@ The slow log can be cleared with the `SLOWLOG RESET` command. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): The number of entries in the slow log. +[Integer reply](https://valkey.io/topics/protocol/#integers): The number of entries in the slow log. diff --git a/docs/command-reference/server-management/slowlog-reset.md b/docs/command-reference/server-management/slowlog-reset.md index c0ffa12b..22081548 100644 --- a/docs/command-reference/server-management/slowlog-reset.md +++ b/docs/command-reference/server-management/slowlog-reset.md @@ -17,4 +17,4 @@ Once deleted the information is lost forever. ## Return -[Simple string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#simple-strings): `OK` +[Simple string reply](https://valkey.io/topics/protocol/#simple-strings): `OK` diff --git a/docs/command-reference/server-management/time.md b/docs/command-reference/server-management/time.md index dc00a6b2..676e3aa4 100644 --- a/docs/command-reference/server-management/time.md +++ b/docs/command-reference/server-management/time.md @@ -23,7 +23,7 @@ call. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays), specifically: +[Array reply](https://valkey.io/topics/protocol/#arrays), specifically: A multi bulk reply containing two elements: diff --git a/docs/command-reference/sets/sadd.md b/docs/command-reference/sets/sadd.md index 81dc1032..9a5eb315 100644 --- a/docs/command-reference/sets/sadd.md +++ b/docs/command-reference/sets/sadd.md @@ -25,7 +25,7 @@ An error is returned when the value stored at `key` is not a set. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of elements that were added to the set, not including +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of elements that were added to the set, not including all the elements already present in the set. ## Examples diff --git a/docs/command-reference/sets/saddex.md b/docs/command-reference/sets/saddex.md index 25fa56fa..75e389bb 100644 --- a/docs/command-reference/sets/saddex.md +++ b/docs/command-reference/sets/saddex.md @@ -27,7 +27,7 @@ An error is returned when the value stored at `key` is not a set. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of elements that were added to the set, not including all the elements already present in the set. +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of elements that were added to the set, not including all the elements already present in the set. ## Examples diff --git a/docs/command-reference/sets/scard.md b/docs/command-reference/sets/scard.md index a3cd022c..ac6d003f 100644 --- a/docs/command-reference/sets/scard.md +++ b/docs/command-reference/sets/scard.md @@ -20,7 +20,7 @@ Returns the set cardinality (number of elements) of the set stored at `key`. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the cardinality (number of elements) of the set, or `0` if `key` +[Integer reply](https://valkey.io/topics/protocol/#integers): the cardinality (number of elements) of the set, or `0` if `key` does not exist. ## Examples diff --git a/docs/command-reference/sets/sdiff.md b/docs/command-reference/sets/sdiff.md index 18264979..178d64cf 100644 --- a/docs/command-reference/sets/sdiff.md +++ b/docs/command-reference/sets/sdiff.md @@ -32,7 +32,7 @@ Keys that do not exist are considered to be empty sets. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list with members of the resulting set. +[Array reply](https://valkey.io/topics/protocol/#arrays): list with members of the resulting set. ## Examples diff --git a/docs/command-reference/sets/sdiffstore.md b/docs/command-reference/sets/sdiffstore.md index 26e7632b..f968724a 100644 --- a/docs/command-reference/sets/sdiffstore.md +++ b/docs/command-reference/sets/sdiffstore.md @@ -23,7 +23,7 @@ If `destination` already exists, it is overwritten. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of elements in the resulting set. +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of elements in the resulting set. ## Examples diff --git a/docs/command-reference/sets/sinter.md b/docs/command-reference/sets/sinter.md index 3c1b7a64..45be3551 100644 --- a/docs/command-reference/sets/sinter.md +++ b/docs/command-reference/sets/sinter.md @@ -34,7 +34,7 @@ set intersection with an empty set always results in an empty set). ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list with members of the resulting set. +[Array reply](https://valkey.io/topics/protocol/#arrays): list with members of the resulting set. ## Examples diff --git a/docs/command-reference/sets/sintercard.md b/docs/command-reference/sets/sintercard.md index 3dd1351b..02077aa2 100644 --- a/docs/command-reference/sets/sintercard.md +++ b/docs/command-reference/sets/sintercard.md @@ -30,7 +30,7 @@ Such implementation ensures a significant speedup for queries where the limit is ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the cardinality (number of elements) of the set which would result from the intersection of all the given sets. +[Integer reply](https://valkey.io/topics/protocol/#integers): the cardinality (number of elements) of the set which would result from the intersection of all the given sets. ## Examples diff --git a/docs/command-reference/sets/sinterstore.md b/docs/command-reference/sets/sinterstore.md index 7f43c6c0..b90bde84 100644 --- a/docs/command-reference/sets/sinterstore.md +++ b/docs/command-reference/sets/sinterstore.md @@ -23,7 +23,7 @@ If `destination` already exists, it is overwritten. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of elements in the resulting set. +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of elements in the resulting set. ## Examples diff --git a/docs/command-reference/sets/sismember.md b/docs/command-reference/sets/sismember.md index 7b0d4afa..247869d6 100644 --- a/docs/command-reference/sets/sismember.md +++ b/docs/command-reference/sets/sismember.md @@ -20,7 +20,7 @@ Returns if `member` is a member of the set stored at `key`. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: * `1` if the element is a member of the set. * `0` if the element is not a member of the set, or if `key` does not exist. diff --git a/docs/command-reference/sets/smembers.md b/docs/command-reference/sets/smembers.md index 428afcc1..547c3952 100644 --- a/docs/command-reference/sets/smembers.md +++ b/docs/command-reference/sets/smembers.md @@ -22,7 +22,7 @@ This has the same effect as running `SINTER` with one argument `key`. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): all elements of the set. +[Array reply](https://valkey.io/topics/protocol/#arrays): all elements of the set. ## Examples diff --git a/docs/command-reference/sets/smismember.md b/docs/command-reference/sets/smismember.md index fa51b0ed..68659055 100644 --- a/docs/command-reference/sets/smismember.md +++ b/docs/command-reference/sets/smismember.md @@ -22,7 +22,7 @@ For every `member`, `1` is returned if the value is a member of the set, or `0` ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list representing the membership of the given elements, in the same +[Array reply](https://valkey.io/topics/protocol/#arrays): list representing the membership of the given elements, in the same order as they are requested. ## Examples diff --git a/docs/command-reference/sets/smove.md b/docs/command-reference/sets/smove.md index 22c92de7..cda8d588 100644 --- a/docs/command-reference/sets/smove.md +++ b/docs/command-reference/sets/smove.md @@ -32,7 +32,7 @@ An error is returned if `source` or `destination` does not hold a set value. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers), specifically: +[Integer reply](https://valkey.io/topics/protocol/#integers), specifically: * `1` if the element is moved. * `0` if the element is not a member of `source` and no operation was performed. diff --git a/docs/command-reference/sets/spop.md b/docs/command-reference/sets/spop.md index 2cd6bb8e..6a506665 100644 --- a/docs/command-reference/sets/spop.md +++ b/docs/command-reference/sets/spop.md @@ -28,11 +28,11 @@ depending on the set's cardinality. When called without the `count` argument: -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the removed member, or `nil` when `key` does not exist. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the removed member, or `nil` when `key` does not exist. When called with the `count` argument: -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): the removed members, or an empty array when `key` does not exist. +[Array reply](https://valkey.io/topics/protocol/#arrays): the removed members, or an empty array when `key` does not exist. ## Examples diff --git a/docs/command-reference/sets/srandmember.md b/docs/command-reference/sets/srandmember.md index 6a42249e..a4ffa12d 100644 --- a/docs/command-reference/sets/srandmember.md +++ b/docs/command-reference/sets/srandmember.md @@ -26,11 +26,11 @@ If called with a negative `count`, the behavior changes and the command is allow When called without the `count` argument: -[Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): the random member, or `nil` when `key` does not exist. +[Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): the random member, or `nil` when `key` does not exist. When called with the `count` argument: -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): the random members, or an empty array when `key` does not exist. +[Array reply](https://valkey.io/topics/protocol/#arrays): the random members, or an empty array when `key` does not exist. ## Examples diff --git a/docs/command-reference/sets/srem.md b/docs/command-reference/sets/srem.md index fdc1ea6b..a7507455 100644 --- a/docs/command-reference/sets/srem.md +++ b/docs/command-reference/sets/srem.md @@ -25,7 +25,7 @@ An error is returned when the value stored at `key` is not a set. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of members that were removed from the set, not +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of members that were removed from the set, not including non existing members. ## Examples diff --git a/docs/command-reference/sets/sunion.md b/docs/command-reference/sets/sunion.md index 8d056d17..19871757 100644 --- a/docs/command-reference/sets/sunion.md +++ b/docs/command-reference/sets/sunion.md @@ -31,7 +31,7 @@ Keys that do not exist are considered to be empty sets. ## Return -[Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): list with members of the resulting set. +[Array reply](https://valkey.io/topics/protocol/#arrays): list with members of the resulting set. ## Examples diff --git a/docs/command-reference/sets/sunionstore.md b/docs/command-reference/sets/sunionstore.md index 4aac9280..dac2f25c 100644 --- a/docs/command-reference/sets/sunionstore.md +++ b/docs/command-reference/sets/sunionstore.md @@ -23,7 +23,7 @@ If `destination` already exists, it is overwritten. ## Return -[Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers): the number of elements in the resulting set. +[Integer reply](https://valkey.io/topics/protocol/#integers): the number of elements in the resulting set. ## Examples diff --git a/docs/command-reference/sorted-sets/bzmpop.md b/docs/command-reference/sorted-sets/bzmpop.md index 5ac8ed95..f8623008 100644 --- a/docs/command-reference/sorted-sets/bzmpop.md +++ b/docs/command-reference/sorted-sets/bzmpop.md @@ -32,7 +32,7 @@ A `timeout` of zero can be used to block indefinitely. ## Return Values -- [Null reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#nulls): when no member could be popped and the `timeout` is reached. -- [Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a two-element array with the first element +- [Null reply](https://valkey.io/topics/protocol/#nulls): when no member could be popped and the `timeout` is reached. +- [Array reply](https://valkey.io/topics/protocol/#arrays): a two-element array with the first element being the name of the key from which members were popped, and the second element is an array of the popped members. Every entry in the elements array is also an array that contains the member and its score. diff --git a/docs/command-reference/sorted-sets/zinter.md b/docs/command-reference/sorted-sets/zinter.md index fac691dc..1defb55f 100644 --- a/docs/command-reference/sorted-sets/zinter.md +++ b/docs/command-reference/sorted-sets/zinter.md @@ -39,7 +39,7 @@ ZINTER numkeys key [key ...] ## Return Values -- [Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) the result of the intersection. +- [Array reply](https://valkey.io/topics/protocol/#arrays) the result of the intersection. - If `WITHSCORES` is provided, the array contains each element followed by its score. ## Code Examples diff --git a/docs/command-reference/sorted-sets/zintercard.md b/docs/command-reference/sorted-sets/zintercard.md index 17112f79..ccbc29c0 100644 --- a/docs/command-reference/sorted-sets/zintercard.md +++ b/docs/command-reference/sorted-sets/zintercard.md @@ -34,7 +34,7 @@ ZINTERCARD numkeys key [key ...] [LIMIT limit] ## Return Values -- [Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers) the cardinality (number of elements) of members in the resulting intersection. +- [Integer reply](https://valkey.io/topics/protocol/#integers) the cardinality (number of elements) of members in the resulting intersection. ## Code Examples diff --git a/docs/command-reference/sorted-sets/zmpop.md b/docs/command-reference/sorted-sets/zmpop.md index 2faf6e6a..6d60ddda 100644 --- a/docs/command-reference/sorted-sets/zmpop.md +++ b/docs/command-reference/sorted-sets/zmpop.md @@ -31,8 +31,8 @@ See [`BZMPOP`](./bzmpop) for the blocking variant of this command. ## Return Values -- [Null reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#nulls): when no member could be popped. -- [Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): a two-element array with the first element +- [Null reply](https://valkey.io/topics/protocol/#nulls): when no member could be popped. +- [Array reply](https://valkey.io/topics/protocol/#arrays): a two-element array with the first element being the name of the key from which members were popped, and the second element is an array of the popped members. Every entry in the elements array is also an array that contains the member and its score. diff --git a/docs/command-reference/sorted-sets/zrandmember.md b/docs/command-reference/sorted-sets/zrandmember.md index 083ef00b..7e3fc2fd 100644 --- a/docs/command-reference/sorted-sets/zrandmember.md +++ b/docs/command-reference/sorted-sets/zrandmember.md @@ -32,9 +32,9 @@ The optional `WITHSCORES` modifier changes the reply so it includes the respecti ## Return Values -- [Bulk string reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings): when called without the `count` argument, +- [Bulk string reply](https://valkey.io/topics/protocol/#bulk-strings): when called without the `count` argument, returns the random member or `nil` if `key` does not exist. -- [Array reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays): when called with the `count` argument, +- [Array reply](https://valkey.io/topics/protocol/#arrays): when called with the `count` argument, returns the random members, or an empty array if `key` does not exist. If the `WITHSCORES` modifier is used, the reply is a list of members and their scores from the sorted set. diff --git a/docs/command-reference/sorted-sets/zrangestore.md b/docs/command-reference/sorted-sets/zrangestore.md index 5717328e..b2eaf0f3 100644 --- a/docs/command-reference/sorted-sets/zrangestore.md +++ b/docs/command-reference/sorted-sets/zrangestore.md @@ -25,7 +25,7 @@ This command is like [`ZRANGE`](./zrange.md), but stores the result in the `dest ## Return Values -- [Integer reply](https://redis.io/docs/latest/develop/reference/protocol-spec/#integers) the number of elements in the resulting sorted set, stored in `destination`. +- [Integer reply](https://valkey.io/topics/protocol/#integers) the number of elements in the resulting sorted set, stored in `destination`. ## Code Examples diff --git a/docs/command-reference/sorted-sets/zscore.md b/docs/command-reference/sorted-sets/zscore.md index eebf0dcd..b6aab707 100644 --- a/docs/command-reference/sorted-sets/zscore.md +++ b/docs/command-reference/sorted-sets/zscore.md @@ -29,8 +29,8 @@ ZSCORE key member ## Return Values -- The command returns the score (as [bulk string](https://redis.io/docs/latest/develop/reference/protocol-spec/#bulk-strings) in RESP2 - or as [double](https://redis.io/docs/latest/develop/reference/protocol-spec/#doubles) in RESP3) associated with the specified `member`. +- The command returns the score (as [bulk string](https://valkey.io/topics/protocol/#bulk-strings) in RESP2 + or as [double](https://valkey.io/topics/protocol/#doubles) in RESP3) associated with the specified `member`. - If the `member` does not exist within the sorted set, `nil` is returned. ## Code Examples diff --git a/docs/command-reference/strings/cl.throttle.md b/docs/command-reference/strings/cl.throttle.md index 713bfa53..da660d4e 100644 --- a/docs/command-reference/strings/cl.throttle.md +++ b/docs/command-reference/strings/cl.throttle.md @@ -50,7 +50,7 @@ dragonfly$> CL.THROTTLE user123 20 120 60 1 ## Return Values -An [array](https://redis.io/docs/latest/develop/reference/protocol-spec/#arrays) of 5 integers with the following values: +An [array](https://valkey.io/topics/protocol/#arrays) of 5 integers with the following values: 1. Whether to limit the related action (0 for allowed, 1 for limited). 2. The total limit of the key. (Equivalent to `X-RateLimit-Limit`)