Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Redis Data Integration API",
"description": "API for Redis Data Integration services",
"version": "1.18.0"
"version": "1.18.1"
},
"paths": {
"/": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ for a full description of the function syntax and a list of built-in functions.
| `concat` | Concatenates an array of variables or literals | Input: `{"fname": "john", "lname": "doe"}` <br /> Expression: `concat([fname, ' ' ,lname])` <br /> Output: `john doe` | This is equivalent to the more verbose built-in expression: `' '.join([fname,lname])` |
| `filter_entries` | Filters entries in a dictionary (object) using the given JMESPath predicate | Input: `{ "name": "John", "age": 30, "country": "US", "score": 15}` <br /> Expression: `` filter_entries(@, `key == 'name' \|\| key == 'age'`)``<br /> Output:`{"name": "John", "age": 30 }` | |
| `from_entries` | Converts an array of objects with `key` and `value` properties into a single object | Input: `[{"key": "name", "value": "John"}, {"key": "age", "value": 30}, {"key": "city", "value": null}]` <br /> Expression: `from_entries(@)` <br /> Output: `{"name": "John", "age": 30, "city": null}` | |
| `hash` | Calculates a hash using the `hash_name` hash function and returns its hexadecimal representation | Input: `{"some_str": "some_value"}` <br /> Expression: `hash(some_str, &#96;sha1&#96;)` <br /> Output: `8c8181715...` | Supported algorithms: sha1 (default), sha256, md5, sha384, sha3_384, blake2b, sha512, sha3_224, sha224, sha3_256, sha3_512, blake2s |
| `hash` | Calculates a hash using the `hash_name` hash function and returns its hexadecimal representation | Input: `{"some_str": "some_value"}` <br /> Expression: `hash(some_str, &#96;sha1&#96;)` <br /> Output: `8c8181715...` | Supported algorithms: sha1 (default), sha256, md5, sha384, sha3_384, blake2b, sha512, sha3_224, sha224, sha3_256, sha3_512, blake2s |
| `in` | Checks if an element matches any value in a list of values | Input: `{"el": "b"}` <br /> Expression: `in(el, `["a", "b", "c"]`)` <br /> Output: `True` | |
| `left` | Returns a specified number of characters from the start of a given text string | Input: `{"greeting": "hello world!"}` <br /> Expression: `left(greeting, `5`)` <br /> Output: `hello` | |
| `lower` | Converts all uppercase characters in a string into lowercase characters | Input: `{"fname": "John"}` <br /> Expression: `lower(fname)` <br /> Output: `john` | |
Expand Down
Loading