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
| Parameter | Type | Required | Description |
|---|---|---|---|
keys | array | Yes | List of keys to delete |
Response
{}Get key value
Fetch the value stored at a key.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | The 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
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | The list key |
direction | string | No | Which side of the list to remove from: left or right |
Response
{}Publish message
Publish a message to a channel.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | The channel to publish to |
message | string | Yes | Message content |
Response
{}Add list item
Add an item to the left (front) or right (end) of a list.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | The list key |
value | string | Yes | The item to add to the list |
direction | string | No | Which 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
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | The key to set |
value | string | Yes | The text value to store |
expire_seconds | number | No | Optional expiration time in seconds |
Response
{}