Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2522/?format=api
{ "id": 2522, "name": "Thursday, Jun 23-24 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2522/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-06-23T20:05:00", "end": "2022-06-24T05:31:31", "day": "2022-06-23", "date_label": "Jun 23-24 2022", "duration": "33991.0", "duration_label": "9 hours 26 min", "captures_count": 9266, "detections_count": 672, "occurrences_count": 153, "stats": { "detections_max_count": 22, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2522&ordering=timestamp", "first_capture": { "id": 5072945, "details": "https://api.beluga.insectai.org/api/v2/captures/5072945/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_06_23_snapshots/20220623200500-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-06-23T20:05:00", "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", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM", "5:00 AM" ], "y": [ 2, 7, 12, 13, 33, 29, 34, 47, 13 ], "ticktext": [ "9:00 PM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 4, 5, 5, 6, 8, 9, 16, 29, 29, 34 ], "y": [ "Platynota idaeusalis", "Archips packardiana", "Cnephasia stephensiana", "Hydrelia inornata", "Macaria notata", "Tortricidia testacea", "Raphia frater", "Campaea perlata", "Iridopsis larvaria", "Metanema inatomaria" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T22:22:43.095967", "updated_at": "2024-09-05T00:17:59.290771", "user_permissions": [] }