According to these docs we should be able to automatically embed relations into a response by passing _embed as a GET querystring.
But when we do, we get an error in the REST API plugin:
Fatal error: Cannot unset string offsets in /srv/www/rooftop-cms/public/web/app/mu-plugins/rest-api/lib/endpoints/class-wp-rest-controller.php on line 179
Interesting, this is an identical error to the one produced by #5
According to these docs we should be able to automatically embed relations into a response by passing
_embed
as a GET querystring.But when we do, we get an error in the REST API plugin:
Interesting, this is an identical error to the one produced by #5