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
{}Pop list item
Pop an item from the left or right side of a list.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | The list key |
direction | string | No | Pop direction: 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
{}Push list item
Push an item to the left or right side of a list.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | The list key |
value | string | Yes | Item to push onto the list |
direction | string | No | Push direction: left or right |
Response
{}Set key value
Set a string value for a key with an optional expiration time.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | The key to set |
value | string | Yes | The string value to store |
expire_seconds | number | No | Optional expiration time in seconds |
Response
{}