{
    "XIDMPRECORD": {
        "summary": "An internal command for setting IDMP metadata on an existing stream message.",
        "complexity": "O(1)",
        "group": "stream",
        "since": "8.6.2",
        "arity": 5,
        "function": "xidmprecordCommand",
        "command_flags": [
            "WRITE",
            "DENYOOM",
            "FAST"
        ],
        "acl_categories": [
            "STREAM"
        ],
        "key_specs": [
            {
                "flags": [
                    "RW",
                    "UPDATE"
                ],
                "begin_search": {
                    "index": {
                        "pos": 1
                    }
                },
                "find_keys": {
                    "range": {
                        "lastkey": 0,
                        "step": 1,
                        "limit": 0
                    }
                }
            }
        ],
        "arguments": [
            {
                "name": "key",
                "type": "key",
                "key_spec_index": 0
            },
            {
                "name": "pid",
                "type": "string"
            },
            {
                "name": "iid",
                "type": "string"
            },
            {
                "name": "stream-id",
                "type": "string"
            }
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}
