Blog Posts

blogPosts #

blogPosts(search: Search, sort: Sort, pagination: Pagination) [PBlogPost]

Example #

query blogPosts($search: Search, $sort: Sort, $pagination: Pagination){
  blogPosts(search: $search, sort: $sort, pagination: $pagination) {
    id
    title
    slug
    bannerImage
    bannerImageFull
    content
    tags
    isPublished
    isFeatured
    views
    favourites
    comments {
      id
      content
      customer {
        email
        phone
        firstName
        lastName
        profilePicture
        profilePictureFull
      }
      createdAt
      updatedAt
    }
    createdAt
    updatedAt
  }
}

Try It Now