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.
No way to flag a post via API?
-
Hi all,
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,
-
@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.