Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/200/?format=api
{ "id": 200, "name": "Wednesday, Jul 6 2022", "details": "https://api.beluga.insectai.org/api/v2/events/200/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-07-06T21:05:12", "end": "2022-07-06T23:09:20", "day": "2022-07-06", "date_label": "Jul 6 2022", "duration": "7448.0", "duration_label": "2 hours 4 min", "captures_count": 1733, "detections_count": 11, "occurrences_count": 4, "stats": { "detections_max_count": 11, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=200&ordering=timestamp", "first_capture": { "id": 808583, "details": "https://api.beluga.insectai.org/api/v2/captures/808583/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_06/20220706210512-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-06T21:05:12", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM" ], "y": [ 4 ], "ticktext": [ "11:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 1, 1, 2 ], "y": [ "Crambus agitatellus", "Crambidia pallida", "Psychomorpha epimenis", "Ancylis muricana", "Lacinipolia renigera", "Crambus albellus", "Cenopis pettitana", "Malacosoma disstria", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:12:53.926181", "updated_at": "2024-07-23T18:55:39.824623", "user_permissions": [] }