Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/75/?format=api
{ "id": 75, "name": "Thursday, Aug 25-26 2022", "details": "https://api.beluga.insectai.org/api/v2/events/75/?format=api", "deployment": { "id": 12, "name": "Newfoundland - Unit 2", "details": "https://api.beluga.insectai.org/api/v2/deployments/12/?format=api", "user_permissions": [] }, "start": "2022-08-25T22:16:22", "end": "2022-08-26T04:59:57", "day": "2022-08-25", "date_label": "Aug 25-26 2022", "duration": "24215.0", "duration_label": "6 hours 43 min", "captures_count": 4362, "detections_count": 214, "occurrences_count": 119, "stats": { "detections_max_count": 17, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=75&ordering=timestamp", "first_capture": { "id": 116013, "details": "https://api.beluga.insectai.org/api/v2/captures/116013/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Aug 25/20220825221622-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-25T22:16:22", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 1, 3, 20, 27, 27, 41 ], "ticktext": [ "11:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 3, 4, 4, 4, 4, 4, 4, 4, 4, 6 ], "y": [ "Choristoneura fumiferana", "Moth", "Archips packardiana", "Spilonota ocellana", "Gymnandrosoma punctidiscanum", "Choristoneura rosaceana", "Sonia constrictana", "Episimus argutana", "Ypsolopha dentella", "Archips argyrospila" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T05:49:37.821259", "updated_at": "2024-11-13T15:49:34.468214", "user_permissions": [] }