Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5246/?format=api
{ "id": 5246, "name": "Friday, Aug 16-17 2024", "details": "https://api.beluga.insectai.org/api/v2/events/5246/?format=api", "deployment": { "id": 52, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/52/?format=api", "user_permissions": [] }, "start": "2024-08-16T20:58:49", "end": "2024-08-17T03:58:59", "day": "2024-08-16", "date_label": "Aug 16-17 2024", "duration": "25210.0", "duration_label": "7 hours 0 min", "captures_count": 2522, "detections_count": 71, "occurrences_count": 71, "stats": { "detections_max_count": 17, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5246&ordering=timestamp", "first_capture": { "id": 19189854, "details": "https://api.beluga.insectai.org/api/v2/captures/19189854/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/01-20240816205849-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2024-08-16T20:58:49", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM" ], "y": [ 2, 7, 14, 34 ], "ticktext": [ "12:00 AM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 1, 2, 2, 3, 10, 34 ], "y": [ "Pseudeustrotia carneola", "Haematopis grataria", "Macaria transitaria", "Phragmatobia fuliginosa", "Cyclophora pendulinaria", "Nematocampa resistaria", "Hypoprepia fucosa", "Hypagyrtis unipunctata", "Campaea perlata", "Not a Moth" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2025-01-14T21:49:00.901361", "updated_at": "2025-01-15T19:04:43.822161", "user_permissions": [] }