Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5248/?format=api
{ "id": 5248, "name": "Monday, Aug 19-20 2024", "details": "https://api.beluga.insectai.org/api/v2/events/5248/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2024-08-19T20:58:40", "end": "2024-08-20T03:58:00", "day": "2024-08-19", "date_label": "Aug 19-20 2024", "duration": "25160.0", "duration_label": "6 hours 59 min", "captures_count": 2517, "detections_count": 43, "occurrences_count": 43, "stats": { "detections_max_count": 7, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5248&ordering=timestamp", "first_capture": { "id": 19191735, "details": "https://api.beluga.insectai.org/api/v2/captures/19191735/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/01-20240819205840-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2024-08-19T20:58:40", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 11, 7, 6, 8 ], "ticktext": [ "12:00 AM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 1, 2, 5, 6, 10 ], "y": [ "Palthis angulalis", "Larisa subsolana", "Aristotelia roseosuffusella", "Adoxophyes negundana", "Cydia pomonella", "Olethreutes nigranum", "Desmia funeralis", "Microcrambus elegans", "Campaea perlata", "Not a Moth" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2025-01-14T21:49:01.376510", "updated_at": "2025-01-15T19:04:44.331535", "user_permissions": [] }