Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extra $ sign on ListSites "search" query param #532

Open
galoslevy opened this issue Jul 13, 2023 · 1 comment
Open

extra $ sign on ListSites "search" query param #532

galoslevy opened this issue Jul 13, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@galoslevy
Copy link

galoslevy commented Jul 13, 2023

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

@rkodev
Copy link
Contributor

rkodev commented Feb 14, 2024

Hi @galoslev

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants