No way to flag a post via API?
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,
julian GNU/Linuxreplied to Andrei Lopatenco on last edited by
@andrei-lopatenco You are correct, there is no Flags API at the moment... there never was one for the Write API plugin, and when it got ported into core, we didn't make one either.
But it sounds like a good idea.
Copyright © 2023 NodeBB | Contributors