In hindsight, IMO, one thing about the WP REST API that could have been left out is the attempt to rename stuff so that it was more readable/friendly.
Today, it was having to juggle “IN, AND” versus “OR, AND” in a taxonomy query and then having to add an entire other parameter to
_exclude terms instead of using NOT IN.
Not too long ago it was juggling a different
tag instead of
It’s possible this would all be fine if we were only consuming the API, but bouncing back and forth between block editor JS, its consumption of the API, and corresponding PHP customizations can make things strange.