Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/317/?format=api
{ "id": 317, "name": "Friday, Nov 11-12 2022", "details": "https://api.beluga.insectai.org/api/v2/events/317/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-11-11T20:07:13", "end": "2022-11-12T04:32:42", "day": "2022-11-11", "date_label": "Nov 11-12 2022", "duration": "30329.0", "duration_label": "8 hours 25 min", "captures_count": 1982, "detections_count": 2, "occurrences_count": 1, "stats": { "detections_max_count": 2, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=317&ordering=timestamp", "first_capture": { "id": 1009890, "details": "https://api.beluga.insectai.org/api/v2/captures/1009890/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_11_11/20221111200713-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-11-11T20:07:13", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "3:00 AM" ], "y": [ 1 ], "ticktext": [ "3:00 AM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 1 ], "y": [ "Callopistria floridensis", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:13:35.255110", "updated_at": "2024-07-23T18:55:59.237934", "user_permissions": [] }