Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2454/?format=api
{ "id": 2454, "name": "Wednesday, Jun 7-8 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2454/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2023-06-07T21:09:59", "end": "2023-06-08T04:00:00", "day": "2023-06-07", "date_label": "Jun 7-8 2023", "duration": "24601.0", "duration_label": "6 hours 50 min", "captures_count": 585, "detections_count": 66, "occurrences_count": 65, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2454&ordering=timestamp", "first_capture": { "id": 4270457, "details": "https://api.beluga.insectai.org/api/v2/captures/4270457/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2023/20230607210959-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-06-07T21:09:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 5, 2, 4, 15, 13, 1 ], "ticktext": [ "10:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 2, 2, 3, 3, 4, 4, 18 ], "y": [ "Protorthodes oviduca", "Hydrelia inornata", "Adela caeruleella", "Phalaenophana pyramusalis", "Xanthorhoe labradorensis", "Not a Moth", "Eucopina tocullionana", "Moth", "Emmelina monodactyla", "Lobophora nivigerata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T21:59:56.690734", "updated_at": "2025-01-15T19:04:21.623605", "user_permissions": [] }