Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/54/?format=api
{ "id": 54, "name": "Friday, Jul 22-23 2022", "details": "https://api.beluga.insectai.org/api/v2/events/54/?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-07-22T22:01:50", "end": "2022-07-23T04:59:47", "day": "2022-07-22", "date_label": "Jul 22-23 2022", "duration": "25077.0", "duration_label": "6 hours 57 min", "captures_count": 11759, "detections_count": 2798, "occurrences_count": 1456, "stats": { "detections_max_count": 119, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=54&ordering=timestamp", "first_capture": { "id": 315633, "details": "https://api.beluga.insectai.org/api/v2/captures/315633/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-2/Jul 22/20220722220150-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-22T22:01:50", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 12, 81, 147, 261, 364, 226, 365 ], "ticktext": [ "10:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 23, 27, 27, 30, 42, 48, 50, 97, 117, 236 ], "y": [ "Sonia constrictana", "Cnephasia stephensiana", "Platynota flavedana", "Choristoneura pinus", "Choristoneura rosaceana", "Cenopis pettitana", "Argyrotaenia velutinana", "Leucoma salicis", "Choristoneura fumiferana", "Archips argyrospila" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T05:49:16.681777", "updated_at": "2024-11-13T15:49:23.243681", "user_permissions": [] }