Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4870/?format=api
{ "id": 4870, "name": "Friday, Jul 22 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4870/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-07-22T21:00:23", "end": "2022-07-22T23:08:40", "day": "2022-07-22", "date_label": "Jul 22 2022", "duration": "7697.0", "duration_label": "2 hours 8 min", "captures_count": 2619, "detections_count": 132, "occurrences_count": 22, "stats": { "detections_max_count": 27, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4870&ordering=timestamp", "first_capture": { "id": 16301395, "details": "https://api.beluga.insectai.org/api/v2/captures/16301395/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_22/20220722210023-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-22T21:00:23", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM" ], "y": [ 5, 22 ], "ticktext": [ "9:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 1, 2, 2, 3, 3 ], "y": [ "Acrobasis angusella", "Argyrotaenia quadrifasciana", "Arogalea cristifasciella", "Eudonia strigalis", "Epicallima argenticinctella", "Drepana arcuata", "Microcrambus elegans", "Nemoria bistriaria", "Idia aemula", "Cenopis pettitana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:58.256307", "updated_at": "2024-10-10T19:41:39.022804", "user_permissions": [] }