Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2664/?format=api
{ "id": 2664, "name": "Saturday, Aug 27-28 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2664/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-08-27T20:03:59", "end": "2022-08-28T00:50:00", "day": "2022-08-27", "date_label": "Aug 27-28 2022", "duration": "17161.0", "duration_label": "4 hours 46 min", "captures_count": 1207, "detections_count": 150, "occurrences_count": 150, "stats": { "detections_max_count": 12, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2664&ordering=timestamp", "first_capture": { "id": 5074725, "details": "https://api.beluga.insectai.org/api/v2/captures/5074725/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_27_snapshots/20220827200359-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-27T20:03:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM" ], "y": [ 5, 8, 21, 13 ], "ticktext": [ "9:00 PM:00", "12:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 2, 3, 3, 4, 4, 5, 20 ], "y": [ "Catocala ilia", "Ecdytolopha insiticiana", "Horisme intestinata", "Paleacrita vernata", "Scoparia biplagialis", "Idia americalis", "Xanthorhoe labradorensis", "Not a Moth", "Eudonia strigalis", "Campaea perlata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-01-24T17:25:26.861190", "updated_at": "2024-09-05T00:18:24.686339", "user_permissions": [] }