query getRelatedContent($id: Int!, $numberOfItems: Int) { getContent(input: { id: $id }) { __typename id name type relatedTo( input: { pagination: { limit: $numberOfItems }, sort: { field: published, order: desc } } ) { edges { node { id type name labels teaser(input: { useFallback: true, maxLength: 175 }) siteContext { path canonicalUrl } published primaryImage { id src alt caption credit isLogo } primarySection { id name alias hierarchy { id name alias } } ... on ContentWebinar { startDate } } } } } }