Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2496/?format=api
{ "id": 2496, "name": "Saturday, Aug 19-20 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2496/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-08-19T21:09:59", "end": "2023-08-20T03:59:59", "day": "2023-08-19", "date_label": "Aug 19-20 2023", "duration": "24600.0", "duration_label": "6 hours 50 min", "captures_count": 42, "detections_count": 93, "occurrences_count": 93, "stats": { "detections_max_count": 7, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2496&ordering=timestamp", "first_capture": { "id": 4272718, "details": "https://api.beluga.insectai.org/api/v2/captures/4272718/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230819210959-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-19T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 2, 1, 10, 3, 3, 10 ], "ticktext": [ "9:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 1, 1, 5, 5, 8 ], "y": [ "Platynota exasperatana", "Argyrotaenia quadrifasciana", "Herpetogramma pertextalis", "Choristoneura rosaceana", "Adoxophyes negundana", "Drepana arcuata", "Pandemis lamprosana", "Campaea perlata", "Not a Moth", "Idia americalis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T22:00:16.897934", "updated_at": "2025-01-15T19:04:35.385199", "user_permissions": [] }