Currently, in REST actions, query parameters can only be specified by setting them as part of endpoint. This doesn't look very nice and is also not very flexible: It does not work well with overriding in scenarios.
This issue suggest to add the possibility to configure query parameters for REST actions by providing an additional optional field queryParams. If present, the members of this field get expanded to query parameters, like the following example describes:
Nesting in queryParams does not really make sense, because the values will be encoded as strings. I think it might still be viable to simply encode as JSON strings, if nesting is used:
Currently, in REST actions, query parameters can only be specified by setting them as part of
endpoint
. This doesn't look very nice and is also not very flexible: It does not work well with overriding in scenarios.This issue suggest to add the possibility to configure query parameters for REST actions by providing an additional optional field
queryParams
. If present, the members of this field get expanded to query parameters, like the following example describes:Performing this
action
will result in an HTTP call toIt should be possible to use variables in
queryParams
:Nesting in
queryParams
does not really make sense, because the values will be encoded as strings. I think it might still be viable to simply encode as JSON strings, if nesting is used:will result in an HTTP call to