Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5040/?format=api
{ "id": 5040, "name": "Monday, Sep 5-6 2022", "details": "https://api.beluga.insectai.org/api/v2/events/5040/?format=api", "deployment": { "id": 237, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/237/?format=api", "user_permissions": [] }, "start": "2022-09-05T20:05:06", "end": "2022-09-06T04:00:43", "day": "2022-09-05", "date_label": "Sep 5-6 2022", "duration": "28537.0", "duration_label": "7 hours 55 min", "captures_count": 7194, "detections_count": 761, "occurrences_count": 52, "stats": { "detections_max_count": 21, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5040&ordering=timestamp", "first_capture": { "id": 17165175, "details": "https://api.beluga.insectai.org/api/v2/captures/17165175/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/movement/2022_09_05/20220905200506-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-09-05T20:05:06", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "8:00 PM", "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 1, 2, 4, 9, 13, 6, 25, 13 ], "ticktext": [ "8:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 3, 3, 3, 4, 4, 5, 5, 20 ], "y": [ "Varneria postremella", "Episimus argutana", "Hedya ochroleucana", "Microtheoris ophionalis", "Microcrambus elegans", "Eusarca confusaria", "Euphyia intermediata", "Idia americalis", "Campaea perlata", "Agriphila vulgivagellus" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:30.041372", "updated_at": "2024-10-10T19:42:03.144382", "user_permissions": [] }