-
Notifications
You must be signed in to change notification settings - Fork 265
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
Using limit=0 and details=on to get only the count of elements #1492
Comments
in NGSIv2 we have options=count . so if we say limit=0&options=count then yes it should be a valid operation and return success |
We should suppport:
and also this one (useless, but semantically correct):
|
Out of the scope of NGSIv2, althouth it is a good idea that could (potentially) be included in a later version of the API (v2.1) in a backward compatible way. |
Hi @fgalan Sir, I would like to work on this issue. please let me know if this issue still need to be fix? |
Thanks for your willingness to work on this issue! As far as I understand, the issue is still valid. This comment contains and specification of what needs to be implemented: #1492 (comment) |
I have fixed this issue. Please review my PR #3994 if it is ok then please merge it into master. |
Fix using limit=0 and details=on to get only the count of elements #1492
(Feedback from ECFI 2015 at Hamburg)
Currenetly
limit=0
returns an error:However,
?limit=0&details=on
has been suggested as a way of getting only the count for entities.The "projection" of this idea in NGSIv2 could be taken into account.
The text was updated successfully, but these errors were encountered: