Media
These are examples of queries to fetch and mutate media data.
Fetching media permalink
A media item, with the image source in different sizes:
All media items:
The posts' featured image:
Setting a post's featured image permalink
We can reference any image existing in the Media library.
With nested mutations: