Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4807/?format=api
{ "id": 4807, "name": "Thursday, Jul 7 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4807/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-07-07T21:13:22", "end": "2022-07-07T22:41:49", "day": "2022-07-07", "date_label": "Jul 7 2022", "duration": "5307.0", "duration_label": "1 hours 28 min", "captures_count": 727, "detections_count": 37, "occurrences_count": 5, "stats": { "detections_max_count": 10, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4807&ordering=timestamp", "first_capture": { "id": 16126112, "details": "https://api.beluga.insectai.org/api/v2/captures/16126112/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_07/20220707211322-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-07T21:13:22", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM" ], "y": [ 10 ], "ticktext": [ "10:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 2, 2, 3 ], "y": [ "Choristoneura pinus", "Carmenta bassiformis", "Anticlea multiferata", "Catocala grynea", "Crambus agitatellus", "Chrysoteuchia topiarius", "Cenopis pettitana", "Not Lepidoptera", "Blepharomastix ranalis", "Choristoneura fumiferana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:46.943865", "updated_at": "2024-10-10T19:41:24.307994", "user_permissions": [] }