Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2616/?format=api
{ "id": 2616, "name": "Sunday, Nov 12-13 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2616/?format=api", "deployment": { "id": 60, "name": "AMI E43B615A", "details": "https://api.beluga.insectai.org/api/v2/deployments/60/?format=api", "user_permissions": [] }, "start": "2023-11-12T19:20:55", "end": "2023-11-13T06:29:39", "day": "2023-11-12", "date_label": "Nov 12-13 2023", "duration": "40124.0", "duration_label": "11 hours 8 min", "captures_count": 8026, "detections_count": 12865, "occurrences_count": 4082, "stats": { "detections_max_count": 49, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2616&ordering=timestamp", "first_capture": { "id": 4745102, "details": "https://api.beluga.insectai.org/api/v2/captures/4745102/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/Panama/E43B615A/20231112192055-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-11-12T19:20:55", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "7:00 PM", "8:00 PM", "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM", "5:00 AM", "6:00 AM" ], "y": [ 60, 255, 389, 540, 673, 702, 566, 635, 472, 499, 355, 85 ], "ticktext": [ "7:00 PM:00", "6:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 86, 135, 150, 168, 187, 194, 278, 383, 944, 1357 ], "y": [ "Pleuroprucha insulsaria", "Moth", "Megalopyge tharops", "Spilomela perspicata", "Agrius cingulata", "Lobocleta ossularia", "Samea ecclesialis", "Ascalapha odorata", "Pilocrocis ramentalis", "Herpetogramma phaeopteralis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-12-06T20:35:49.841676", "updated_at": "2024-05-20T21:37:48.344746", "user_permissions": [] }