Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2647/?format=api
{ "id": 2647, "name": "Saturday, Aug 6-7 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2647/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-08-06T20:05:00", "end": "2022-08-07T01:12:29", "day": "2022-08-06", "date_label": "Aug 6-7 2022", "duration": "18449.0", "duration_label": "5 hours 7 min", "captures_count": 4067, "detections_count": 319, "occurrences_count": 319, "stats": { "detections_max_count": 27, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2647&ordering=timestamp", "first_capture": { "id": 5074259, "details": "https://api.beluga.insectai.org/api/v2/captures/5074259/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_06_snapshots/20220806200500-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-06T20:05: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" ], "y": [ 1, 3, 9, 5, 27, 29 ], "ticktext": [ "8:00 PM:00", "1:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 2, 3, 3, 3, 4, 7, 9, 13 ], "y": [ "Eudryas unio", "Macaria pinistrobata", "Nemoria bistriaria", "Platynota exasperatana", "Pandemis lamprosana", "Speranza pustularia", "Campaea perlata", "Drepana arcuata", "Hypoprepia fucosa", "Not a Moth" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-01-24T16:27:00.676580", "updated_at": "2024-09-05T00:18:19.497106", "user_permissions": [] }