Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4866/?format=api
{ "id": 4866, "name": "Thursday, Jul 21 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4866/?format=api", "deployment": { "id": 236, "name": "Rigaud", "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api", "user_permissions": [] }, "start": "2022-07-21T20:39:38", "end": "2022-07-21T22:13:31", "day": "2022-07-21", "date_label": "Jul 21 2022", "duration": "5633.0", "duration_label": "1 hours 33 min", "captures_count": 1162, "detections_count": 87, "occurrences_count": 7, "stats": { "detections_max_count": 20, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4866&ordering=timestamp", "first_capture": { "id": 16295233, "details": "https://api.beluga.insectai.org/api/v2/captures/16295233/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_21/20220721203938-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-21T20:39:38", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM" ], "y": [ 9, 3 ], "ticktext": [ "9:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 1, 1, 1, 1, 1, 1, 1, 2, 3 ], "y": [ "Archips argyrospila", "Mathildana newmanella", "Not Lepidoptera", "Crambus", "Parapoynx maculalis", "Olethreutes nigranum", "Nemoria bistriaria", "Platynota exasperatana", "Idia aemula", "Crambus agitatellus" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:57.814423", "updated_at": "2024-10-10T19:41:37.154921", "user_permissions": [] }