nathan
12 years agoExecutive
ideas stats
We would like to create a widget that displays stats from an ideas board - specifically, how many ideas have been submitted, accepted, implemented etc. I've had a look through the REST API docume...
- 12 years ago
Hi nathan,
It looks like this is possible, but you must first know the id of the statuses you're interested in. You can obtain this information via the REST API as well by chaining the message_statuses/available methods onto the board (Idea Exchange) you're interested in. For example, here's how you would get the statuses for the idea exchange here on the Lithosphere:
http://lithosphere.lithium.com/restapi/vc/boards/id/Lithium_Ideas/message_statuses/available
Looking at the response, I can see that the id for the "New Idea" status is "2". So then I can make a call like this to get the count of threads (ideas) that have the "New Idea" status:
I hope this helps!