Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/206/?format=api
{ "id": 206, "name": "Tuesday, Jul 12-13 2022", "details": "https://api.beluga.insectai.org/api/v2/events/206/?format=api", "deployment": { "id": 13, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api", "user_permissions": [] }, "start": "2022-07-12T21:10:58", "end": "2022-07-13T05:31:58", "day": "2022-07-12", "date_label": "Jul 12-13 2022", "duration": "30060.0", "duration_label": "8 hours 21 min", "captures_count": 9095, "detections_count": 58, "occurrences_count": 21, "stats": { "detections_max_count": 27, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=206&ordering=timestamp", "first_capture": { "id": 827990, "details": "https://api.beluga.insectai.org/api/v2/captures/827990/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_12/20220712211058-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-12T21:10:58", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "11:00 PM", "12:00 AM", "5:00 AM" ], "y": [ 8, 11, 2 ], "ticktext": [ "11:00 PM:00", "5:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 1, 1, 1, 4, 8 ], "y": [ "Plutella xylostella", "Choristoneura rosaceana", "Macaria pustularia", "Crambus saltuellus", "Palpita aenescentalis", "Chrysoteuchia topiarius", "Hypoprepia fucosa", "Pleuroprucha insulsaria", "Crambus agitatellus", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T16:12:56.155955", "updated_at": "2024-07-23T18:55:41.664772", "user_permissions": [] }