It should cache for an hour, I think (based on a quick look at nodebb package manager code). So yes - you have to wait a bit before the nbbpm refreshes. You can just install the updated version manually by using npm install <package name> from the command line in NodeBB folder.
Is there actually no way to create a flag via the API? It seems like such a strange omission. I can get the existing flags using the
/api/flags/or even a particular flag with its id
/api/flags/1, but I can't find a way to create a flag via the API.
Is it really missing? What would be an easy way to make it possible to create flags via the API?
Thanks in advance,