when setting the query params of listSites request using RequestInformation class, the template used for preparing the URL uses "$search" while the API expects "search" without the "$" sign.
To work around it I had to patch the httpRequest manually:
"httpRequest.URL.RawQuery = "search=%2A"
However, currently it is not supported using the SDK.
Thanks for using the Go SDK and for reaching out.
Looking at the v1 service metadata, this search parameter has been referenced with the dollar sign. I've created a new issue to track and resolve this issue.
when setting the query params of listSites request using RequestInformation class, the template used for preparing the URL uses
"$search"
while the API expects"search"
without the"$"
sign.To work around it I had to patch the httpRequest manually:
"httpRequest.URL.RawQuery = "search=%2A"
However, currently it is not supported using the SDK.
Thanks