mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
63 lines
1.5 KiB
JSON
63 lines
1.5 KiB
JSON
|
{
|
||
|
"SETID": {
|
||
|
"summary": "Set a consumer group to an arbitrary last delivered ID value.",
|
||
|
"complexity": "O(1)",
|
||
|
"group": "stream",
|
||
|
"since": "5.0.0",
|
||
|
"arity": 5,
|
||
|
"container": "XGROUP",
|
||
|
"function": "xgroupCommand",
|
||
|
"command_flags": [
|
||
|
"WRITE"
|
||
|
],
|
||
|
"acl_categories": [
|
||
|
"STREAM"
|
||
|
],
|
||
|
"key_specs": [
|
||
|
{
|
||
|
"flags": [
|
||
|
"WRITE"
|
||
|
],
|
||
|
"begin_search": {
|
||
|
"index": {
|
||
|
"pos": 2
|
||
|
}
|
||
|
},
|
||
|
"find_keys": {
|
||
|
"range": {
|
||
|
"lastkey": 0,
|
||
|
"step": 1,
|
||
|
"limit": 0
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "key",
|
||
|
"type": "key",
|
||
|
"key_spec_index": 0
|
||
|
},
|
||
|
{
|
||
|
"name": "groupname",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "id",
|
||
|
"type": "oneof",
|
||
|
"arguments": [
|
||
|
{
|
||
|
"name": "ID",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "new_id",
|
||
|
"type": "pure-token",
|
||
|
"token": "$"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|