Filter all content by type in your Graphlit project.
By specifying the types field in the GraphQL filter object, you can filter your content by one or more content types.
For example, here we are filtering just on page types.
"types": [ "PAGE" ]
If you want to find content which are file, page or post types, you could use:
"types": [ "FILE","PAGE","POST" ]
Query:
queryQueryContents($filter: ContentFilter!) { contents(filter: $filter) { results { id name creationDate state owner { id } originalDate finishedDate workflowDuration uri text type fileType mimeType fileName fileSize masterUri mezzanineUri transcriptUri feed { id name } collections { id name } } }}