Commit graph

24 commits

Author SHA1 Message Date
Ralph Ocdol
d5b89d512a added unique to filter arrays with unique items in custom-api 2025-04-13 16:07:54 +01:00
Svilen Markov
f99d22738c Add replaceMatches 2025-04-11 20:37:45 +01:00
Ralph Ocdol
ea7124db52 feat: custom-api's replaceAll with regex support 2025-04-11 20:37:36 +01:00
Svilen Markov
964744a9ae Add offsetNow function 2025-03-29 17:57:43 +00:00
Svilen Markov
779304d035 Allow skipping JSON check and add JSONLines 2025-03-29 13:36:22 +00:00
Svilen Markov
f15d7445bd Add concat function 2025-03-29 13:20:53 +00:00
Svilen Markov
dd74c173a5 More custom-api additions/tweaks
* Remove need to convert to int for math stuff
* Add `now` and `duration` functions
2025-03-28 23:34:49 +00:00
Svilen Markov
233de7fc37 Add new functions to custom-api widget 2025-03-26 19:44:35 +00:00
Svilen Markov
456b76ac96 Allow specifying method and request body 2025-03-26 17:58:35 +00:00
Svilen Markov
a2c58bea82 Add parseRelativeTime function 2025-03-26 11:28:05 +00:00
Svilen Markov
7276b3d5ef Add allow-insecure to custom-api widget 2025-03-26 11:27:47 +00:00
Svilen Markov
2f88ac419b Add parseTime to custom-api 2025-03-26 11:27:07 +00:00
Ralph Ocdol
cee7c85780 Add subrequests to custom-api (#385)
* feat: custom-api multiple API queries

* fix template check

* refactor

* Update implementation & docs

* Swap statement

* Update docs

---------

Co-authored-by: Svilen Markov <7613769+svilenmarkov@users.noreply.github.com>
2025-03-26 11:26:16 +00:00
Svilen Markov
2be59c3eb6 Fix failing to parse empty response body in custom api widget 2025-03-26 11:25:34 +00:00
Svilen Markov
58bbfbbc42 Make query parameters field reusable 2025-03-26 11:24:15 +00:00
Ralph Ocdol
026b644630 feat: add parameters and array parameters support 2025-03-26 11:24:08 +00:00
Svilen Markov
1615c20e66 Change custom api int64 types to int
Some of Go's native template functions return int and
having to juggle between int and int64 might get messy
so we'll try to stick to having a single int type
2025-03-16 01:32:35 +00:00
Svilen Markov
8331c4b305 Add Exists function 2025-02-09 05:32:30 +00:00
Svilen Markov
5a06f4788b Return NaN instead of 0 when dividing by 0 2025-02-09 05:32:05 +00:00
Svilen Markov
61fd5481cc Update custom API 2025-02-02 13:02:46 +00:00
Svilen Markov
dbcc13a5cf Allow inserting env variables anywhere in the config 2024-12-16 23:59:25 +00:00
Svilen Markov
b5259d1a98 Rename variables & interface 2024-11-30 14:24:19 +00:00
Svilen Markov
02cbb5f812 Fix CS 2024-11-30 10:48:33 +00:00
Svilen Markov
90fbba600f Restructure & refactor codebase 2024-11-29 16:34:15 +00:00