Forum Discussion
Hi colinkahn,
You can get a count of the number of TKB articles a user started in a particular TKB by making the following call:
(where [board_id] is the id of the TKB you want to get the count from for this user).
I hope that helps!
-Doug
Ah, I had thought using the board id might be the way to go but I couldn't figure out how to get the board ID of the TKB. At first I thought using /boards through the REST API should return a list w/ ids, but it didn't return anything. So, how can I get the board ID?
- DougS12 years agoKhoros Alumni (Retired)
You could do the /boards/style/tkb/nested call to find all the TKBs in your community and get the id for each TKB from the result of that call.
Sign in to react to this post- colinkahn12 years agoGuide
Hmmm, this seems to give me a bunch of boards defined in the TKB, i'm looking to get the number of all posts a user has started in TBK across all of these listed boards. Is that possible?
Sign in to react to this post- colinkahn12 years agoGuide
After look at this more I believe the solution would involve being able to get the count for all Discussions started by user where the interaction style of the Discussion = tkb.
I don't see a way to do that though in the REST API docs. Can someone either confirm this can't be done with current API or point me in the right direction?
Sign in to react to this post