PUT /v1/projects/{projectOrProductUID}/monitors/{monitorUID}
Changed onUpdate Monitor
Request
- Base URLhttps://api.notefile.net
- URLhttps://api.notefile.net/v1/projects/{projectOrProductUID}/monitors/{monitorUID}
- AuthHTTP bearer
Path parameters
Request body
Example request
{
"aggregate_window": "10m or 5h30m40s",
"alert_routes": [
{
"email": "example@blues.com"
}
],
"routing_cooldown_period": "10m or 5h30m40s",
"source_selector": "temperature"
}Response
Successful operation
Example response
{
"aggregate_window": "10m or 5h30m40s",
"alert_routes": [
{
"email": "example@blues.com"
}
],
"routing_cooldown_period": "10m or 5h30m40s",
"source_selector": "temperature"
}Changes
- breaking
the
response's property type changed fromintegertonumber, and format fromint32todoublefor status - warning
changed the pattern of the request property
from^[0-9]+[smh]$to^(([0-9]+[.]?[0-9]*|[.][0-9]+)(ns|us|µs|ms|s|m|h))+$ - warning
changed the pattern of the request property
from^[0-9]+[smh]$to^(([0-9]+[.]?[0-9]*|[.][0-9]+)(ns|us|µs|ms|s|m|h))+$ - info
the
request property type was generalized fromintegertonumber, and format fromint32todouble - info
the
response's property pattern was changed from^[0-9]+[smh]$to^(([0-9]+[.]?[0-9]*|[.][0-9]+)(ns|us|µs|ms|s|m|h))+$for the status - info
the
response's property pattern was changed from^[0-9]+[smh]$to^(([0-9]+[.]?[0-9]*|[.][0-9]+)(ns|us|µs|ms|s|m|h))+$for the status
- breaking
- breaking
removed the enum value
averageof the request property - breaking
removed the enum value
countof the request property - breaking
removed the enum value
deviceof the request property - warning
added the new
avgenum value to theresponse property for the response status - warning
added the new
countenum value to theresponse property for the response status - info
added the new
avgenum value to the request property - info
added the new
countenum value to the request property - info
removed the
averageenum value from theresponse property for the response status - info
removed the
countenum value from theresponse property for the response status - info
removed the
deviceenum value from theresponse property for the response status
- breaking