Update custom metrics
POST
api/v2/talkwalker/p/:project_id/custom_metrics/updateChanging the name or the type is not allowed.
Path Parameters
- project_id string requiredExample: {{project_id}}
- application/json
Request Body
- object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status_code": "0",
"status_message": "OK",
"request": "POST /api/v2/talkwalker/p/a1ab1abc-a123-123a-123a-abcd12ab1a12/custom_metrics/update?access_token=abcd_1234_abcd",
"request_id": "#rxl54hs4q8pm#",
"result_custom_metrics": {
"data": [
{
"custom_metric": {
"name": "metric1",
"title": "1st metric",
"description": "",
"display_in_ui": false,
"update_ts": 1689000497379,
"format": {
"name": "INTEGER"
}
},
"success": true
},
{
"custom_metric": {
"name": "metric2",
"title": "Category",
"description": "",
"display_in_ui": true,
"update_ts": 1689000497386,
"format": {
"name": "TEXT"
}
},
"success": true
}
]
}
}
Loading...