Skip to main content

KV_KEYS

Returns all the key names (values not included).


Response

KV_KEYS_RSP

ParamTypeMeaning
stunsigned intStatus
keysstring arrayAn array of key names

If there are no keys, the keys array is empty.


Possible status values:

  • Ok

Examples

No Keys

{
"KV_KEYS":{}
}

Response:

{
"KV_KEYS_RSP":
{
"st": 1,
"keys": []
}
}

Keys Exist

{
"KV_KEYS":{}
}

Response:

{
"KV_KEYS_RSP":
{
"st": 1,
"keys": ["user_1_name","user_1_dob", "user_2_name", "user_2_dob"]
}
}