Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/301/?format=api
{ "id": 301, "name": "Monday, Oct 24-25 2022", "details": "https://api.beluga.insectai.org/api/v2/events/301/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-10-24T00:24:07", "end": "2022-10-25T03:53:07", "day": "2022-10-24", "date_label": "Oct 24-25 2022", "duration": "98940.0", "duration_label": "1 days 3 hours", "captures_count": 2296, "detections_count": 5, "occurrences_count": 3, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=301&ordering=timestamp", "first_capture": { "id": 998163, "details": "https://api.beluga.insectai.org/api/v2/captures/998163/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_10_24/20221024002407-00-02.jpg", "width": 4096, "height": 2160, "timestamp": "2022-10-24T00:24:07", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "2:00 AM" ], "y": [ 3 ], "ticktext": [ "2:00 AM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 1, 2 ], "y": [ "Martyringa latipennis", "Loxostege cereralis", "Hypena scabra", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:13:29.280403", "updated_at": "2024-07-23T18:55:57.306203", "user_permissions": [] }