Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Do the same thing for other plugin.

Write api plugin

This in an important plugin, By using this we can do all write operation in nodebb. Like create category/topic/post, updating topic/post, delete topic/post…..etc.

Install nodebb-plugin-write-api

  1. Login to nodebb as a admin user.

  2. Go to admin pannel.

  3. Go to EXTEND => PLUGINS => FIND PLUGINS

  4. Search for nodebb-plugin-write-api

  5. Click on Install

  6. Rebuild and restart nodebb.

  7. Reload the admin panel.

  8. Go to EXTEND => PLUGINS => INSTALLED

  9. Search for nodebb-plugin-write-api

  10. Click on Activate

  11. Rebuild and restart nodebb.

What is Master token

To perform any write operations in nodebb we need write api plugin. And this plugin provides apis to do those write operations but If you want to use this apis we have to pass a master token (in request headers as Authorization token) and nodebb user id(add _uid as query param or with in request body ).

How to create master

  1. Login to nodebb as a admin user.

  2. Go to admin pannel.

  3. Go to PLUGINS => WRITE API

  4. Left side panel you can see MASTER TOKENS Section.

  5. Click on CREATE TOKEN