Write-enabled API (Brainstorming)
-
@julian
Not so far...
Looks nice at NodeBB blog
If I need a comment integration that will be a great solution!But my main site also works with authentification and permissions. So I have to sync login state / user accounts.
The main site is Processwire based and I'm build a login module. So the module (php coded) need to process a NodeBB login and get a result about success.I haven't any experience with nodejs / nodebb coding, so I don't know how it could be done.
-
So I have to sync login state / user accounts.
Have a look at this plugin:
https://github.com/julianlam/nodebb-plugin-sso-oauth
You will likely have to modify it a bit to fit your solution, but it's definitely doable
-
-
Would be nice to encode the api at user experience. like restfull.
have a 'createNewCategory' topic inside 'admTool' category, if a mod write a respod with "footbal & rugby" the api create a new category named 'footbal & rugby'.
Each category has a '/proc' topic to acces api funcion over .this category.
to chance my photo i could go to admTool/chPic topic and upload a image.if the api is themeble can pack the adm routine like moderated or not. Can be 'monarchyed', the api just accept the call of the King login.
-
Just checking to see if there was an update to this. Seems this thread has been dead-ish
-
Sort of got my own answer. though not too clear on it. Repo found here: https://github.com/NodeBB/nodebb-plugin-write-api