(make-comma-separated-string xs)
Transforms the given sequence of keywords, strings, or symbols into a comma delimited string.
Transforms the given sequence of keywords, strings, or symbols into a comma delimited string.
(opts->query-params opts k->f)
Jira REST API supports array query parameters which are represented as a
comma-delimited string. This function extracts the given query parameters
from the given map m
and transforms them into Jira REST API format.
Arguments:
opts
: A map that configures a Jira query and could consist of query parameters.
The names of query parameters are (keys k->f)
.
k->f
: A map of keywords to functions of one argument. A keyword represents a name
of a query parameter. A function transforms a query parameter value. It
could be nil
, in this case the value is not transformed.
You typically don't need to use this function unless you want to create your own wrappers/builders for Jira REST API requests. Please, refer to the source code of [manenko.clj-jira.request.user/current] function, for an example of usage.
Jira REST API supports array query parameters which are represented as a comma-delimited string. This function extracts the given query parameters from the given map `m` and transforms them into Jira REST API format. **Arguments:** opts : A map that configures a Jira query and could consist of query parameters. The names of query parameters are `(keys k->f)`. k->f : A map of keywords to functions of one argument. A keyword represents a name of a query parameter. A function transforms a query parameter value. It could be `nil`, in this case the value is not transformed. You typically don't need to use this function unless you want to create your own wrappers/builders for Jira REST API requests. Please, refer to the source code of [manenko.clj-jira.request.user/current] function, for an example of usage.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close