Add new metric values
POST
/metricAdds specified fields as metrics into timeseries database
Request
Query Params
api_token
string
optional
Example:
{{api_token}}
Body Params application/json
hive_id
integer
required
fields
object
required
temperature
number
optional
weight
number
optional
Example
{
"hive_id": 0,
"fields": {
"temperature": 0,
"weight": 0
}
}
Request samples
Responses
OK(201)
HTTP Code: 201
Content Type : Rawtext/plain
Example
OK
Last modified: 4 days ago