zilla
zilla copied to clipboard
Support parsing query parameters into the `${params}` object
Describe the desired outcome from the user's perspective As an API admin I need to add more dynamic parameters to a URL query by passing in different query parameters.
Acceptance criteria
- Parse supported URL query parameters into the
${params}
object - Create mechanisms to determine when a parameter is empty or missing
- Handle arrays and allow mapping them to lists in the
zilla.yaml
Additional context
/topic?keys=key1,keys=key2,keys=key3
would result in a filter:
with:
capability: fetch
topic: items-snapshots
filters:
- key: key1
- key: key2
- key: key3