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

Response from V2 server protocol Api does not have count property implemented #47

Open
anamnavi opened this issue Aug 16, 2023 · 0 comments

Comments

@anamnavi
Copy link

anamnavi commented Aug 16, 2023

Hi, we're from the Microsoft.PowerShell.PSResourceGet (previously PowerShellGet) team which is a package manager tool that supports searching, installing and publishing to different repositories with V2 and V3 server protocol support.

We had a user using the V2 endpoint for their repository (https://nuget.cloudsmith.io/repopsresourceget/test/v2) but search fails with our tool because our query uses the $inlinecount=allpages parameter, like so:

https://nuget.cloudsmith.io/repopsresourceget/test/v2/FindPackagesById()?id='Depends'&$inlinecount=allpages&$filter=IsLatestVersion and Id eq 'Depends'

However the response returned from this query shows that the count property is not yet implemented:
image

Just wanted to ask if there's any plans to implement this? Or would you recommend that users use V3 server protocol endpoint instead? For more context on the issue reported to us, here's the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant