text.updateTag

Give feedback by updating a tag that is incorrect.

Request Parameters

collection_idint (required)
text_idint (required)

Define what text.

May also use ext_text_id.
ext_text_idint (required)
original_tagString (required)

The tag you want to update.

updated_tagString (required)

If you are changing the tag word provide the new tag.

updated_categoryString (required)

If you are changing the tag category provide the new category.

updated_relevancedecimal (required)

If you are changing the relevance provide the new relevance.

Response Parameters

tagString
categoryString
relevancedecimal

Code Examples

JSON

//Request
{
  "method":"text.updateTag",
  "params":{
    "collection_id":607,
    "text_id":3,
    "original_tag":"San Francisco",
    "updated_category":"location",
    "relevance":0.95
  },
  "id":0
}
 
//Response
{
 "id":0,
 "result":{
    "tag":"San Francisco,
    "category":"location",
    "relevance":0.95
  }
}