Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4702/?format=api
{ "id": 4702, "name": "Monday, Aug 1-2 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4702/?format=api", "deployment": { "id": 235, "name": "Insectarium", "details": "https://api.beluga.insectai.org/api/v2/deployments/235/?format=api", "user_permissions": [] }, "start": "2022-08-01T20:40:00", "end": "2022-08-02T04:23:13", "day": "2022-08-01", "date_label": "Aug 1-2 2022", "duration": "27793.0", "duration_label": "7 hours 43 min", "captures_count": 10791, "detections_count": 2285, "occurrences_count": 223, "stats": { "detections_max_count": 45, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4702&ordering=timestamp", "first_capture": { "id": 17833060, "details": "https://api.beluga.insectai.org/api/v2/captures/17833060/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Insectarium/2022/SnapShot/01-20220801204000-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-01T20:40:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "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" ], "y": [ 1, 15, 31, 38, 29, 31, 23, 31, 24 ], "ticktext": [ "8:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 5, 7, 7, 8, 9, 10, 11, 13, 22, 45 ], "y": [ "Thyridopteryx ephemeraeformis", "Crambini", "Eriocrania semipurpurella", "Hypoprepia fucosa", "Adela caeruleella", "Monopis crocicapitella", "Microcrambus elegans", "Choristoneura rosaceana", "Coleophora mayrella", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:32.215603", "updated_at": "2026-01-27T17:21:39.623621", "user_permissions": [] }