Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2610/?format=api
{ "id": 2610, "name": "Thursday, Nov 9-10 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2610/?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-09T18:00:20", "end": "2023-11-10T05:29:50", "day": "2023-11-09", "date_label": "Nov 9-10 2023", "duration": "41370.0", "duration_label": "11 hours 29 min", "captures_count": 4138, "detections_count": 14366, "occurrences_count": 5705, "stats": { "detections_max_count": 44, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2610&ordering=timestamp", "first_capture": { "id": 4716701, "details": "https://api.beluga.insectai.org/api/v2/captures/4716701/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/Panama/E43B615A/01-20231109180020-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-11-09T18:00:20", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "6:00 PM", "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" ], "y": [ 66, 551, 525, 623, 517, 293, 447, 546, 381, 581, 840, 334 ], "ticktext": [ "6:00 PM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 132, 151, 155, 155, 184, 214, 274, 531, 871, 967 ], "y": [ "Sosxetra grata", "Syngamia florella", "Paragonia cruraria", "Moth", "Agrius cingulata", "Mocis disseverans", "Ascalapha odorata", "Samea ecclesialis", "Herpetogramma phaeopteralis", "Pilocrocis ramentalis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-12-06T20:32:10.491994", "updated_at": "2024-05-20T21:37:46.834236", "user_permissions": [] }