Getting Taxonomy list with GraphQL

42 views
Skip to first unread message

Andras

unread,
Jul 19, 2021, 8:00:58 AM7/19/21
to TopBraid Suite Users
Hi everyone!

I am using GraphQL to get Taxonomy data within a taxonomy, but now I would like to get the available list of taxonomies. I am not sure what is the endpoint I can use in this case, if it is possible at all. Does it have any endpoints above level Taxonomy where I can get all taxonomies with GraphQL?

Thanks in advance!

Holger Knublauch

unread,
Jul 19, 2021, 6:01:59 PM7/19/21
to TopBraid Suite Users
This is possible by using the _ endpoint. You can navigate there from the Admin page (Query TopBraid Platform API using GraphQL) or by directly entering tbl/graphql/_

The query for what you need is probably

{
    label
    id
  }
}

HTH
Holger

Andras

unread,
Jul 21, 2021, 7:01:45 AM7/21/21
to TopBraid Suite Users

Thanks a lot! It worked! :)
Reply all
Reply to author
Forward
0 new messages