This query exports a post from this WordPress site into some downstream WordPress site.
The Gato GraphQL plugin (free version) must be installed on the downstream website. It must expose an endpoint with "Nested mutations" enabled.
The $update
parameter indicates if to create or update a post in the downstream site.
If updating the post, the common identifier between the upstream and downstream sites is the post slug.