Categories
This query shows how to find a list of applicable Learning Categories for the Portal. The list is sorted alphabetically, and only shows Learning Categories that are not Subcategories through the parentId
filter.
query categoryQuery {
categories(
filters: [{field: parentId, operation: isnull}, order: {field: name, direction: asc}]
) {
edges {
node {
id
name
categories {
edges {
node {
id
name
}
}
}
}
}
}
}