Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/156/?format=api
{ "id": 156, "name": "Sunday, May 22-23 2022", "details": "https://api.beluga.insectai.org/api/v2/events/156/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-05-22T20:47:33", "end": "2022-05-23T05:26:52", "day": "2022-05-22", "date_label": "May 22-23 2022", "duration": "31159.0", "duration_label": "8 hours 39 min", "captures_count": 1055, "detections_count": 3, "occurrences_count": 3, "stats": { "detections_max_count": 1, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=156&ordering=timestamp", "first_capture": { "id": 716107, "details": "https://api.beluga.insectai.org/api/v2/captures/716107/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_22/20220522204733-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-05-22T20:47:33", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "12:00 AM", "3:00 AM", "5:00 AM" ], "y": [ 1, 1, 1 ], "ticktext": [ "12:00 AM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 3 ], "y": [ "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:12:40.343372", "updated_at": "2024-07-23T18:55:31.100137", "user_permissions": [] }