Content Library

Query content library articles

Use the contentLibraryquery to retrieve a list of content elements.

Available Arguments

Available Fields

Example with Category Filter

{
  contentLibrary(
    categories: ["Q2F0ZWdvcnk6MTBhYjhhN2YtZDk5OC00ZWRjLThhMTItMmViMWJhMDM3NWE4"]
  ) {
    edges {
      node {
        id
        title
        subTitle
        categories {
          id
          name
          image
        }
        tags {
          id
          name
        }
        imageUrl
        sourceUrl
        order
        isFavorite
        isFeatured
        isBlocked
        isRead
      }
    }
  }
}

Example with Tag and Read Status Filter

{
 contentLibrary (tags:"something" isRead:true) {
     edges{
         node{
             title
             isRead
             tags{
                 name
                 id
             }
         }
     }
 }

Example Obtaining Personalized Content

 contentLibrary(enablePersonalizedContent: true) {
    edges {
      node {
        id 
        title 
        tags { 
          name 
        }
      }
    }
  }

Last updated