@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.
We have a custom theme for our NodeBB installation, and after every deployment, composer plugin breaks, here is how it looks. To make it properly work, we have to go to admin panel and manually re-order our plugins such that our theme is at the end of the plugins list. Is there a way out? Or is there a way to automate it? Thanks
What does your "deployment" entail? The plugin list is stored in the database, so you should be able to restore that key if you wish.