Guide to using topics API
Structure of a topic
How to get the list of topic IDs and their definition (queries)
List without their definition
How to create a new topic
In the category “ungrouped”
How to add a new line in an existing topic query
To add a new into a query in an existing topic, we need to set the field override to FALSE. It will act as if you click on the button “New Line” in the UI:
How to update a query line in the topic
You cannot update only 1 query line. You should update the whole topic by importing multiple topic_lines items in the request body.
How to delete a topic
To delete a topic, you must provide the couple categoryid and topicid.