Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2615/?format=api
{ "id": 2615, "name": "Sunday, Nov 12-13 2023", "details": "https://api.beluga.insectai.org/api/v2/events/2615/?format=api", "deployment": { "id": 61, "name": "AMI BEF510C3", "details": "https://api.beluga.insectai.org/api/v2/deployments/61/?format=api", "user_permissions": [] }, "start": "2023-11-12T18:00:09", "end": "2023-11-13T06:29:29", "day": "2023-11-12", "date_label": "Nov 12-13 2023", "duration": "44960.0", "duration_label": "12 hours 29 min", "captures_count": 4491, "detections_count": 2926, "occurrences_count": 771, "stats": { "detections_max_count": 41, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2615&ordering=timestamp", "first_capture": { "id": 4737871, "details": "https://api.beluga.insectai.org/api/v2/captures/4737871/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/Panama/BEF510C3/20231112180009-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2023-11-12T18:00:09", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "6:00 PM", "7:00 PM", "8:00 PM", "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM", "5:00 AM", "6:00 AM" ], "y": [ 36, 90, 58, 53, 91, 70, 166, 95, 95, 138, 39, 53, 8 ], "ticktext": [ "6:00 PM:00", "6:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 29, 29, 38, 43, 43, 45, 71, 73, 100, 131 ], "y": [ "Ascalapha odorata", "Lobocleta ossularia", "Perigramma vicina", "Rhescyntis hippodamia", "Moth", "Pleuroprucha insulsaria", "Samea ecclesialis", "Syngamia florella", "Pilocrocis ramentalis", "Herpetogramma phaeopteralis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-12-06T20:35:00.179217", "updated_at": "2023-12-07T00:48:34.258913", "user_permissions": [] }