Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3124/?format=api
{ "id": 3124, "name": "Friday, Aug 4-5 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3124/?format=api", "deployment": { "id": 95, "name": "Ox Agri neg", "details": "https://api.beluga.insectai.org/api/v2/deployments/95/?format=api", "user_permissions": [] }, "start": "2023-08-04T21:10:00", "end": "2023-08-05T04:29:59", "day": "2023-08-04", "date_label": "Aug 4-5 2023", "duration": "26399.0", "duration_label": "7 hours 19 min", "captures_count": 4721, "detections_count": 19, "occurrences_count": 8, "stats": { "detections_max_count": 7, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3124&ordering=timestamp", "first_capture": { "id": 8144126, "details": "https://api.beluga.insectai.org/api/v2/captures/8144126/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000004/snapshot_images/20230804211000-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-08-04T21:10:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "3:00 AM", "4:00 AM" ], "y": [ 7, 3 ], "ticktext": [ "3:00 AM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 1, 1, 1, 3, 4 ], "y": [ "Celypha striana", "Dichrorampha petiverella", "Ptycholoma lecheana", "Mesoligia furuncula", "Lozotaeniodes formosana", "Thyridopteryx ephemeraeformis", "Pammene aurita", "Agriphila straminella", "Ditula angustiorana", "Colocasia coryli" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-29T13:51:53.880757", "updated_at": "2024-04-29T13:52:17.968151", "user_permissions": [] }