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

{}

Pop list item

Pop an item from the left or right side of a list.

Parameters

ParameterTypeRequiredDescription
keystringYesThe list key
directionstringNoPop direction: left or right

Response

{}

Publish message

Publish a message to a channel.

Parameters

ParameterTypeRequiredDescription
channelstringYesThe channel to publish to
messagestringYesMessage content

Response

{}

Push list item

Push an item to the left or right side of a list.

Parameters

ParameterTypeRequiredDescription
keystringYesThe list key
valuestringYesItem to push onto the list
directionstringNoPush direction: left or right

Response

{}

Set key value

Set a string value for a key with an optional expiration time.

Parameters

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

Response

{}

On this page