Solved
Forum Discussion
VarunGrazitti
10 years agoBoss
Could be a reason, why don't you compare a normal V1 /posts/count call with this V2 instead of metrics call and see how it works.
DylanGeorgeFiel
10 years agoHelper
I couldn't find a reference to /posts/count.
That did the trick to the calls returning the same value.
However, the reason why they're different remains a mystery.
Edit: The values differ depending on whether you're logged in or not as an admin. I'm unsure what the posts are.
- VarunGrazitti10 years agoBossDylanGeorgeFiel - The results would always vary in logged in and logged out case if you are making the REST call as rest("your_rest_call")
It is because the REST call would respect all the permissions and not fetch the results which require login.
If you were making the call as restadmin("your_rest_call"), it will fetch same results irrespective of login or logout.
I hope this helps and clears the doubt you have. - Claudius10 years agoBossThe additional posts are likely to be in internal areas like abuse report, filter notices or internal moderation boards that are only accessible to moderators or admins.