I am seeing similar behavior too for read API (for example get user by email api), master token and _uid are ignored when sending request. The document states that master token can be used, however it doesn't seem to be the case for all APIs.
DO MGBK
Posts
-
Using the /api/post/upload endpoint with master token ignores the _uid param -
How to pass array when calling PUT API?I am trying to call api/v3/categories/111/privileges/groups:posts:upvote to set privileges for a group. It's a PUT API, and it seems to accept array of privileges on server side. I tried multiple ways to pass array in the URL and all attempts failed.
for example /api/v3/categories/111/privileges/privilege[]=groups:posts:upvote&privilege[]=groups:posts:delete
Any idea how to pass array of privileges to PUT API?
The API doc is here https://docs.nodebb.org/api/write/#tag/categories/paths/~1categories~1{cid}~1privileges~1{privilege}/put
Thanks in advance!
-
How to change the icons@dunlix said in How to change the icons:
@do-mgbk put this in custom CSS:
.votes .fa-chevron-up { content: "\f164" !important } .votes .fa-chevron-down { content: "\f165" !important }
@dunlix Thanks very much for the help! I also had to add before css in order for it to work
.votes .fa-chevron-up:before {
content: "\f164" !important
}.votes .fa-chevron-down:before {
content: "\f165" !important
} -
How to change the iconsI want to change the icons for upvote and downvote to thumb up and thumb down. How can I do that?
Thanks for any info!
-
Virus detected when download NodeBB repo from GithubI am using Bitdefender Total Security
-
HTTPS is required using https@pitaj Note that all API calls are showing the same error message when the option (require https) is turned on, creating a new category is just an example.
-
HTTPS is required using https -
HTTPS is required using httpsHi,
I turned on "Require API usage via HTTPS only" option under API settings, then attempted to create a new category, received following error. My domain is https, why am I getting this message?
Thanks!{status: {code: "upgrade-required",…}, response: {}}
response: {}
status: {code: "upgrade-required",…}
code: "upgrade-required"
message: "HTTPS is required for requests to the write api, please re-send your request via HTTPS" -
Adding Categories/Boards DynamicallyHi,
I am new to NodeBB. I want to use NodeBB for the school, every class will have its own discussion boards, the discussion board can only be accessed by the students in the class and moderated by the classroom teachers. How do I create the board dynamically and restrict access for a certain group of people? I don't need NodeBB's user management system as our application has already authenticated users, so this is assuming students and teachers are already logged in with JWT token stored in the cookie.Your help is appreciated!
John