Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4960/?format=api
{ "id": 4960, "name": "Thursday, Aug 25-26 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4960/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-08-25T20:41:44", "end": "2022-08-26T03:23:21", "day": "2022-08-25", "date_label": "Aug 25-26 2022", "duration": "24097.0", "duration_label": "6 hours 41 min", "captures_count": 6551, "detections_count": 214, "occurrences_count": 112, "stats": { "detections_max_count": 28, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4960&ordering=timestamp", "first_capture": { "id": 17154225, "details": "https://api.beluga.insectai.org/api/v2/captures/17154225/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_08_25/20220825204144-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-25T20:41:44", "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", "3:00 AM" ], "y": [ 6, 7, 14, 29, 30, 39 ], "ticktext": [ "9:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 2, 3, 4, 4, 5, 5, 11, 68 ], "y": [ "Geometridae", "Hypagyrtis unipunctata", "Microcrambus elegans", "Agriphila vulgivagellus", "Hypena edictalis", "Pyrausta acrionalis", "Campaea margaritaria", "Choristoneura rosaceana", "Clemensia albata", "Campaea perlata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:11.699945", "updated_at": "2024-10-10T19:42:02.412464", "user_permissions": [] }