Retrieving content elements

The content of documents can be obtained by requesting the contentElements field.
The following example shows the request:
{
  document(
    repositoryIdentifier:"OS1"
    identifier:"{A0CC2C69-0000-C618-A0A4-3FA294C1AE56}"
  )
  {
    id
    name
    contentElements {
      contentType
      elementSequenceNumber
      ... on ContentTransfer {
        contentSize
        retrievalName 
        downloadUrl
      }
    }
  }
}

The downloadUrl field of a ContentTransfer type of element returns a URL that can be accessed to stream the content for that element back to the client.