Pull down TKB
- 10 years ago
Hey nils-drews , the TKB's created within a category exist within the category itself with a different interaction style.
The rest call is /CommunityName/restapi/vc/categories/id/CategoryID
If you use your CommunityName and the CategoryId (the word) in the call, the XML response is all of the objects within the category.
You can append "/boards/style/tkb" onto the end to only get the TKB to return.
TKB's have an interaction style of "TKB", and forums have "board".
A TKB is just a board with a different style attached to it :)
But the auto created TKB's seem to be different.
They look like they live in a hidden category underneath the board.
So you'll need to append "/boards/nested" onto the end.CommunityName/restapi/vc/categories/id/CategoryId/boards/nested
And you can filter the XML for the interaction style "tkb"
You can also just append @tkb onto the id of a board to get the associated TKB for it.
So the calls for the recent threads in a board and it's TKB would be
(Our board name is tablets)
/restapi/vc/boards/id/tablets@tkb/threads/recent
/restapi/vc/boards/id/tablets/threads/recent
Tim