title: Strapi GraphQL - how to return media library object
body: <p>I'm working to replace a headless Wordpress installation being used as a backend with Strapi/GraphQL. Because the Media Library is a new feature for Strapi, I'm unable to find any documentation on how to achieve what I'm needing (also my very basic understanding of GraphQL is more than likely a factor.)</p>
  
  <p>Essentially I've got a Content Type of Image. An Image has a name, description and image from the Media Library attached to it (called <code>src</code>). If I visit the <code>/upload/files</code> endpoint, I can see several different size variations underneath the key of <code>formats</code>. I would like access to those formats from a GraphQL query. How would I go about creating a query like this?</p>
  
  <pre><code>{
    galleries {
      id
      name
      cover_image {
        url
      }
      images {
        id
        name
        description
        src {
          url        &lt;--- comes from Cloudinary URL. I would like formats within the image object
        }
      }
    }
  }
  </code></pre>