Lodol Docs

Redis

API actions for the Redis integration.

Redis

Perform common Redis operations like reading keys, managing lists, and publishing messages.


Delete keys

Delete one or more keys.

Parameters

ParameterTypeRequiredDescription
keysarrayYesList of keys to delete

Response

{}

Get key value

Fetch the value stored at a key.

Parameters

ParameterTypeRequiredDescription
keystringYesThe key to look up

Response

{}

Remove list item

Remove an item from the left (front) or right (end) of a list and get its value.

Parameters

ParameterTypeRequiredDescription
keystringYesThe list key
directionstringNoWhich side of the list to remove from: left or right

Response

{}

Publish message

Publish a message to a channel.

Parameters

ParameterTypeRequiredDescription
channelstringYesThe channel to publish to
messagestringYesMessage content

Response

{}

Add list item

Add an item to the left (front) or right (end) of a list.

Parameters

ParameterTypeRequiredDescription
keystringYesThe list key
valuestringYesThe item to add to the list
directionstringNoWhich side of the list to add to: left or right

Response

{}

Set key value

Store a text value under a key, with an optional expiration time.

Parameters

ParameterTypeRequiredDescription
keystringYesThe key to set
valuestringYesThe text value to store
expire_secondsnumberNoOptional expiration time in seconds

Response

{}

On this page