Puljac
11 years agoMaven
Custom count
Hi is there a way to call data from community. I want to make a custom component that will show: - how many overall TOPICS are in community - how many overall POSTS (messages) are in communi...
- Inactive User11 years ago
See http://lithosphere.lithium.com/t5/rest-api/bd-p/developers-rest-api. I don't remember the 24 hour one off the top of my head but here's the first two:
Domain.com/restapi/vc/topics/count - topic count
Domain.com/restapi/vc/posts/count - post count
- Inactive User11 years ago
In Freemarker, that'd be:
<#assign messages = rest("topics/count").value /> ...