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 documentation, and whilst I can find something that will give us the total number of ideas (and even the total number within a specifed date range), I can't find anything that will break it down by the status of the idea.
Can anyone tell us how we can do this?
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!