Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3254/?format=api
{ "id": 3254, "name": "Wednesday, Oct 25-26 2023", "details": "https://api.beluga.insectai.org/api/v2/events/3254/?format=api", "deployment": { "id": 97, "name": "Dorset Cont neg", "details": "https://api.beluga.insectai.org/api/v2/deployments/97/?format=api", "user_permissions": [] }, "start": "2023-10-25T20:59:59", "end": "2023-10-26T04:29:59", "day": "2023-10-25", "date_label": "Oct 25-26 2023", "duration": "27000.0", "duration_label": "7 hours 30 min", "captures_count": 878, "detections_count": 6, "occurrences_count": 1, "stats": { "detections_max_count": 3, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3254&ordering=timestamp", "first_capture": { "id": 8795519, "details": "https://api.beluga.insectai.org/api/v2/captures/8795519/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000005/snapshot_images/20231025205959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-10-25T20:59:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "1:00 AM" ], "y": [ 2 ], "ticktext": [ "1:00 AM:00", "1:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1 ], "y": [ "Tholera cespitis", "Macroglossum stellatarum", "Epiphyas postvittana", "Amblyptilia acanthadactyla", "Nematopogon adansoniella Vill.", "Aporophyla nigra" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-04-30T10:29:47.932299", "updated_at": "2024-04-30T10:29:48.037477", "user_permissions": [] }