Forum Discussion
hroppanen I wonder if you shouldn't wait a bit until the Rest API v2 is public (hopefuly end of this month). You would be able to run select queries with where clause using LiQL.
Unfortunately, to begin with, the categorie object won't be available, but I don't think you would have to wait long until it's available in LiQL ...
OlivierS Thanks for the information! Looking forward to that :)
Unfortunately there is a need for this right now so I am going to build it already with the methods available and maybe go with the LiQL later on.
I made some research and I found a call
/restapi/vc/nodes/type/key/tkb/nested
which will return all the tkb boards.
I will use that as a starting point and use a call
/restapi/vc/boards/id/board_name@tkb/category/
to get the category name.
For the five latest articles I will use a call
/restapi/vc/boards/id/board_name@tkb/threads/recent?page_size=5
I think that should do it.
Related Content
- 3 years ago
- 2 years ago
- 7 months ago