nodebb-plugin-write-api
nodebb-plugin-write-api copied to clipboard
A RESTful JSON-speaking API allowing you to write things to NodeBB
So how can I mark a topic or a post to mark bookmarked: true ?
nodebb-plugin-write-api version 5.2.3 nodebb-plugin-write-api-brfenergi version 5.4.0 nodebb version 1.11.2 test : ``` POST http://localhost:4567/api/v2/users/1/tokens Content-Type: application/json { "password": "my password" } ``` error: `org.apache.http.NoHttpResponseException: localhost:4567 failed to respond ` Server...
Pass req so plugins can access custom data. PR https://github.com/NodeBB/NodeBB/pull/6067 allows `filter:topic.reply` to then add custom data to the post from the `req` object passed in here.
Assuming this is a thing, I don't see any documentation for it. What data is returned for each endpoint? For example, if I create a topic, what object is returned?
As we know `/api/categories` get all categories and `/api/category/_cid` get only the info belongs to cid. But how to get categories belongs to user or group ?
I have updated the test isLanguage key with the latest match from nodebb 9.x it seems to be wrong in the write API. Maybe can create a PR? https://github.com/jamesjjk/nodebb-plugin-write-api
Will appreciate to have a route to send notification. Thanks in advance