Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2577/?format=api
{ "id": 2577, "name": "Thursday, Aug 4-5 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2577/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-08-04T20:03:00", "end": "2022-08-05T04:02:15", "day": "2022-08-04", "date_label": "Aug 4-5 2022", "duration": "28755.0", "duration_label": "7 hours 59 min", "captures_count": 6951, "detections_count": 889, "occurrences_count": 839, "stats": { "detections_max_count": 24, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2577&ordering=timestamp", "first_capture": { "id": 5074187, "details": "https://api.beluga.insectai.org/api/v2/captures/5074187/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_04_snapshots/20220804200300-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-04T20:03: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" ], "y": [ 1, 4, 5, 11, 43, 35, 75, 86 ], "ticktext": [ "8:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 4, 4, 5, 8, 13, 16, 28, 40, 42, 61 ], "y": [ "Speranza pustularia", "Platynota exasperatana", "Campaea perlata", "Microcrambus elegans", "Eudonia strigalis", "Cycnia tenera", "Pandemis lamprosana", "Not a Moth", "Drepana arcuata", "Hypoprepia fucosa" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-13T12:11:05.343865", "updated_at": "2024-09-05T00:18:18.460620", "user_permissions": [] }