close

Filter

loading table of contents...

Headless Server Developer Manual / Version 2110

Table Of Contents

4.9.3 Querying all available Sites

To query all available sites, issue a query to the sites field of the content root:

{
  content {
    sites {
      id
      name
      locale
      root {
        ...Reference
      }
      crops {
        name
        aspectRatio {
          width
          height
        }
        sizes {
          width
          height
        }
      }
    }
  }
}

fragment ContentInfo on Content_ {
  name
  creationDate
}

fragment Reference on CMLinkable {
  ...ContentInfo
  title
  segment
  link {
    id
    type
  }
}

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.