I have a simple scenario where I have to fetch posts including their metadata from the WordPress REST API: https://developer.wordpress.org/rest-api/
Within a normal WordPress website this is really simple:
However I just do not have a clue how to do this in a WordPress Multisite installation. Not one single word about this within the documentation.
I have tried things like:
https://www.example.com/blogname/wp-json/wp/v2/posts https://www.example.com/wp-json/wp/v2/posts/blogname https://www.example.com/blogid/wp-json/wp/v2/posts
But no success so far. It is pretty obvious that the JSON REST API is not fully functional and not documented well yet.
However is there really no easy way to get at least the most important data out of a multisite installation? Does anybody know a solution to this problem?