
1·
3 months agoyou can’t directly get all chat data from nodebb with a single api unless you build a plugin or custom route. but nodebb already gives you json endpoints for most data.
for example:
https://yourforum.com/api/recent show recent posts
https://yourforum.com/api/category/{cid} show topics in that category
https://yourforum.com/api/topic/{tid} show full topic with posts
https://yourforum.com/api/user/{username} show user info
if you want “all chat” like messages, you’ll need to enable the nodebb-plugin-chat-api or write a small express plugin that uses SocketHelpers.getUserChats() to expose data as /api/chats.
so short answer: use built-in /api/… endpoints for posts/topics, and for private chat you gotta use plugin or custom route.
hey, it’s a small bug from the new upload handler. just update to latest build or apply the recent fix and it will show chinese names fine again.