Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2792/?format=api
{ "id": 2792, "name": "Saturday, Jul 8 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2792/?format=api", "deployment": { "id": 74, "name": "PFS_Moth_Wall", "details": "https://api.beluga.insectai.org/api/v2/deployments/74/?format=api", "user_permissions": [] }, "start": "2023-07-08T01:00:00", "end": "2023-07-08T05:45:02", "day": "2023-07-08", "date_label": "Jul 8 2023", "duration": "17102.0", "duration_label": "4 hours 45 min", "captures_count": 12, "detections_count": 16, "occurrences_count": 16, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2792&ordering=timestamp", "first_capture": { "id": 6237932, "details": "https://api.beluga.insectai.org/api/v2/captures/6237932/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/MothWall/Project_20230708010000_4003.JPG", "width": 6080, "height": 3420, "timestamp": "2023-07-08T01:00:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "4:00 AM", "5:00 AM" ], "y": [ 7, 6 ], "ticktext": [ "4:00 AM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 1, 5, 7 ], "y": [ "Not Lepidoptera", "Epelis truncataria", "Biston betularia", "Palpita magniferalis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-03-18T09:52:48.126225", "updated_at": "2024-11-13T15:50:59.140023", "user_permissions": [] }