Create or update a batch of topics
POST
api/v2/talkwalker/p/:project_id/topics/importCreate or update a batch of topics
Path Parameters
- project_id string requiredExample: a1ab1abc-a123-123a-123a-abcd12ab1a12
- application/json
Request Body
- object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"request": "POST /api/v2/talkwalker/p/a1ab1abc-a123-123a-123a-abcd12ab1a12/topics/import?access_token=abcd_1234_abcd",
"request_id": "#r8w5k4liu8js#",
"result_topics": {
"filter_categories": [
{
"description": "",
"id": "default_filter",
"query_topics": [
{
"description": "",
"id": "kszspjer_1tucp7xd2omic",
"included_queries": [
"lang:fr "
],
"title": "test ungrouped"
}
],
"title": ""
}
],
"topic_categories": [
{
"description": "",
"id": "default",
"query_topics": [
{
"description": "",
"excluded_queries": [
"(noisecategory:financial_news OR noisecategory:promotions)"
],
"id": "kpnutesu_5imm9mo4lbsj",
"included_queries": [
"tesla AND \"electric car\" AND lang:en"
],
"title": "Tesla"
},
{
"description": "",
"id": "kpnzh6u5_5imm9mo4kozc",
"included_queries": [
"BMW AND electric AND car"
],
"title": "BMW"
}
],
"title": ""
},
{
"description": "",
"id": "l0v16esw_1555byucibc75",
"query_topics": [
{
"description": "This is a topic description",
"id": "l0v16esw_1555byucibc74",
"included_queries": [
"cats"
],
"title": "my new topic"
}
],
"title": "my new group"
}
]
},
"status_code": "0",
"status_message": "OK"
}
Loading...