Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2738/?format=api
{ "id": 2738, "name": "Wednesday, Jun 28-29 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2738/?format=api", "deployment": { "id": 12, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api", "user_permissions": [] }, "start": "2023-06-28T22:05:02", "end": "2023-06-29T04:04:15", "day": "2023-06-28", "date_label": "Jun 28-29 2023", "duration": "21553.0", "duration_label": "5 hours 59 min", "captures_count": 8111, "detections_count": 273, "occurrences_count": 126, "stats": { "detections_max_count": 12, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2738&ordering=timestamp", "first_capture": { "id": 5624203, "details": "https://api.beluga.insectai.org/api/v2/captures/5624203/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/01-20230628220502-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-06-28T22:05:02", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 3, 9, 23, 28, 31, 32 ], "ticktext": [ "10:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 3, 3, 3, 4, 4, 5, 6, 6, 9 ], "y": [ "Archips argyrospila", "Choristoneura pinus", "Olethreutes schulziana", "Choristoneura fumiferana", "Chrysoesthia sexguttella", "Lomographa vestaliata", "Episimus argutana", "Dyseriocrania griseocapitella", "Archips rosana", "Choristoneura rosaceana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-02-20T15:25:22.514321", "updated_at": "2024-11-13T15:49:39.331923", "user_permissions": [] }