patch https://api.raptormaps.com/v2/solar_farms/anomalies
Update lifecycle status and/or priority of an anomaly or collection of anomalies.
This route is documented in Raptor Maps public Postman Collection found here
PATCH Farm Anomalies allows you to update the status and/or priority of one or more anomalies in one call. For example, you might want to batch update anomaly states after verifying anomalies against internal data.
The example below demonstrates a payload that updates anomaly with ID "123" to lifecycle status 2 ("Verified"), and priority 2 ("Medium") as well as updating the lifecycle status of anomaly "456" to 1 or "Detected".
[
{
"anomaly_id": 123,
"life_cycle_status_id": 2,
"priority": 2
},
{
"anomaly_id": 456 ,
"life_cycle_status_id": 1
}
]
A list of possible lifecycle status ID values is on this glossary page ; priority values in this section of the glossary.