Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4868/?format=api
{ "id": 4868, "name": "Tuesday, Jul 12-13 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4868/?format=api", "deployment": { "id": 237, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/237/?format=api", "user_permissions": [] }, "start": "2022-07-12T20:10:00", "end": "2022-07-13T04:00:01", "day": "2022-07-12", "date_label": "Jul 12-13 2022", "duration": "28201.0", "duration_label": "7 hours 50 min", "captures_count": 5769, "detections_count": 171, "occurrences_count": 31, "stats": { "detections_max_count": 13, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4868&ordering=timestamp", "first_capture": { "id": 17233938, "details": "https://api.beluga.insectai.org/api/v2/captures/17233938/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/snapshots/2022_06-07_27-13_snapshots/20220712201000-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-12T20:10:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "8:00 PM", "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 1, 1, 13, 8, 2, 4, 4, 11 ], "ticktext": [ "8:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 2, 2, 3, 3, 3, 4, 4, 5 ], "y": [ "Archips cerasivorana", "Not Lepidoptera", "Olethreutes nigranum", "Endothenia hebesana", "Olethreutes fasciatana", "Metalectra discalis", "Pandemis lamprosana", "Crambus saltuellus", "Hypagyrtis piniata", "Argyrotaenia velutinana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:00:57.876019", "updated_at": "2024-10-10T19:41:04.965095", "user_permissions": [] }