Similar Issue to dvankevich - all the options are getting filtered with a / before the option is set.
Line 528:
"$curl" "${curl_options[@]}" --request GET --url "$url/api/$endpoint${id:+/}$id${target:+/}$target"
should be:
"$curl" "${curl_options[@]}" --request GET --url "$url/api/$endpoint${id:+}$id${target:+/}$target"
Once corrected, I'm able to properly set options like count and offset.