text.updateTag
Give feedback by updating a tag that is incorrect.
Request Parameters
| collection_id | int (required) |
Define what text.
May also use ext_text_id.| ext_text_id | int (required) |
| original_tag | String (required) |
The tag you want to update.
| updated_tag | String (required) |
If you are changing the tag word provide the new tag.
| updated_category | String (required) |
If you are changing the tag category provide the new category.
| updated_relevance | decimal (required) |
If you are changing the relevance provide the new relevance.
Response Parameters
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
}
}