Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2649/?format=api
{ "id": 2649, "name": "Monday, Aug 8-9 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2649/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-08-08T20:07:00", "end": "2022-08-09T02:53:59", "day": "2022-08-08", "date_label": "Aug 8-9 2022", "duration": "24419.0", "duration_label": "6 hours 46 min", "captures_count": 6302, "detections_count": 699, "occurrences_count": 699, "stats": { "detections_max_count": 38, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2649&ordering=timestamp", "first_capture": { "id": 5074304, "details": "https://api.beluga.insectai.org/api/v2/captures/5074304/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_08_snapshots/20220808200700-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-08T20:07:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM" ], "y": [ 3, 17, 26, 52, 29, 81 ], "ticktext": [ "9:00 PM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 4, 4, 4, 4, 6, 7, 24, 30, 33, 39 ], "y": [ "Microcrambus elegans", "Eudonia strigalis", "Campaea perlata", "Cyclophora pendulinaria", "Clemensia albata", "Platynota exasperatana", "Hypoprepia fucosa", "Drepana arcuata", "Not a Moth", "Pandemis lamprosana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-01-24T16:32:11.961763", "updated_at": "2024-09-05T00:18:20.360857", "user_permissions": [] }