Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5185/?format=api
{ "id": 5185, "name": "Wednesday, Jul 3 2024", "details": "https://api.beluga.insectai.org/api/v2/events/5185/?format=api", "deployment": { "id": 241, "name": "J_AMI_Unit 1 Pasadena", "details": "https://api.beluga.insectai.org/api/v2/deployments/241/?format=api", "user_permissions": [] }, "start": "2024-07-03T00:00:00", "end": "2024-07-03T02:39:07", "day": "2024-07-03", "date_label": "Jul 3 2024", "duration": "9547.0", "duration_label": "2 hours 39 min", "captures_count": 160, "detections_count": 12, "occurrences_count": 11, "stats": { "detections_max_count": 3, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5185&ordering=timestamp", "first_capture": { "id": 17993091, "details": "https://api.beluga.insectai.org/api/v2/captures/17993091/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/newfoundland/J_AMI_Unit_Pasadena/20240703000000.JPG", "width": 6080, "height": 3420, "timestamp": "2024-07-03T00:00:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "1:00 AM", "2:00 AM" ], "y": [ 1, 10 ], "ticktext": [ "1:00 AM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 2, 2, 4 ], "y": [ "Leucoma salicis", "Elophila gyralis", "Cnephasia asseclana", "Idia rotundalis", "Crambus unistriatellus", "Crambus leachellus" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-11-13T17:32:57.496107", "updated_at": "2024-11-20T17:28:50.275704", "user_permissions": [] }