Topics

Update topic query

Updates an existing topic's query parameters.

post/topics/{topicId}/query/edit

Request

Path parameters

topicIdinteger required

ID of the Topic.

Request body

Example request

{
  "topicQuery": {
    "filter": {
      "filters": [
        {
          "fieldName": "country",
          "op": "notOneOf",
          "value": "[\"ua\"]"
        }
      ]
    }
  }
}

Response

Updated topic.

idinteger

Topic ID.

namestring

Topic name.

samplingnumber nullable

Sampling rate, if sampling is enabled for the topic.

Example response

{
  "topicQuery": {
    "filter": {
      "filters": [
        {
          "fieldName": "country",
          "op": "notOneOf",
          "value": "[\"ua\"]"
        }
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.