Forum Discussion
I do not have sufficient privileges for this resource or its parent to perform this action.
I've verified my account.
Edit: I tried /metrics/name/overall_posts and it's giving me 304 posts?
DylanGeorgeFiel - ok, here is what document says:
overall_posts: The overall number of posts, across all types of discussions (forums, blogs,etc.)
net_overall_posts: The overall number of posts minus deleted posts, across all types ofdiscussions (forums, blogs, etc.)
- DylanGeorgeFiel9 years agoHelper
That explains the increase in numbers from net_overall_posts and overall_posts is the deletions.
It doesn't explain why the LiQL statement "SELECT count(*) FROM messages" differs by 10 or so posts from net_overall_posts.
I noticed that the query originates from 'metrics', does this have something to do with it? Is the difference from hidden posts or something?
- VarunGrazitti9 years agoBossCould 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.
- DylanGeorgeFiel9 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.
Related Content
- 7 years ago
- 11 years ago