Insight Mutate
Last updated
PATCH https://api.logsnag.com/v1/insight
This endpoint allows you to change (mutate) existing numerical insights.
Content-Type
String
application/json
Authorization
String
Bearer <TOKEN>
project*
String
Project name
title*
String
Insight title
value*
Mutation
See example below
icon
Emoji
Single emoji as the insight icon
{
// Response
}The increment mutation changes a numerical value by increasing or decreasing it. It can be applied to an existing insight or 0 if no insight exists. The mutation can be performed using either positive or negative numbers.
Last updated
{
"project": "makershq",
"title": "Online Users",
"value": {
"$inc": 1
},
"icon": "🔴"
}