Closed LewisPringle closed 2 years ago
maybe better to have separate fetch API: /api/v1/devices[list of addes] = return aggregateSummaryOnly? Or do that for a single devie and get list of aggregates info for that device?
Point is - this info not needed in UI except when you expand or look at details and can be large. So esp dont want to fetch each time. maybe have optional returnAggregateInfo to return that section for each listed device and default false.
AggregateInfoType = {agID, everTime, ???} and return sorted by everTime?
DID
> add to devices/networks query optional parameter ids=[] (so /id equiv of ids=[thatid] except for returning in array format)
implemented first draft for devices - now todo for networks and cleanup
Done - did networks (no point in tracking network interfaces cuz we have another ticket to fully implement that like networks etc roughly)
On 'aggregated reversibly' - add extra 'map' in devices response mapping that id to 'info' including EverSeen (and eventually source). And sort list by everseen (at leastin GUI). and show that everseen in GUI.