tree.graphql 516 B

123456789101112131415161718192021222324252627282930
  1. query blockIndexFetchPages (
  2. $siteId: UUID!
  3. $locale: String
  4. $parentPath: String
  5. $tags: [String]
  6. $limit: Int
  7. $orderBy: TreeOrderBy
  8. $orderByDirection: OrderByDirection
  9. $depth: Int
  10. ) {
  11. tree(
  12. siteId: $siteId
  13. locale: $locale
  14. parentPath: $parentPath
  15. tags: $tags
  16. limit: $limit
  17. types: [page]
  18. orderBy: $orderBy
  19. orderByDirection: $orderByDirection
  20. depth: $depth
  21. ) {
  22. id
  23. folderPath
  24. fileName
  25. title
  26. ...on TreeItemPage {
  27. description
  28. }
  29. }
  30. }