Populate additional fields when creating a user using Write API
I'm creating users in NodeBB instance from another Node.js application using NodeBB Write API plugin.
According to the documentation
POST /api/v1/users/accepts only
username, password, emailfields and "Any other data passed in will be saved into the user hash".
My questions are: What is actually user hash in context of NodeBB? And is it possible at all to populate any other fields than
username, password, emailwhen creating a user using Write API?
Thank you for response!
No, I'm using mongo instead of redis. I'm just wondering how can I write additional fields like
locationetc. using Write API. Should I firstly create a user with
POST /api/v1/users/and then make additional API call
PUT /api/v1/users/:uidin order to populate additional user fields?