Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5065/?format=api
{ "id": 5065, "name": "Wednesday, Sep 14-15 2022", "details": "https://api.beluga.insectai.org/api/v2/events/5065/?format=api", "deployment": { "id": 237, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/237/?format=api", "user_permissions": [] }, "start": "2022-09-14T19:09:59", "end": "2022-09-15T04:00:38", "day": "2022-09-14", "date_label": "Sep 14-15 2022", "duration": "31839.0", "duration_label": "8 hours 50 min", "captures_count": 3166, "detections_count": 93, "occurrences_count": 26, "stats": { "detections_max_count": 5, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5065&ordering=timestamp", "first_capture": { "id": 17235526, "details": "https://api.beluga.insectai.org/api/v2/captures/17235526/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/snapshots/2022_8_29-10_7_snapshots/20220914190959-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-09-14T19:09:59", "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, 5, 6, 4, 5, 3, 8, 5 ], "ticktext": [ "8:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 2, 3, 3, 4, 4, 4, 9 ], "y": [ "Choristoneura rosaceana", "Not Identifiable", "Lymantria dispar", "Microcrambus elegans", "Palthis angulalis", "Eudonia strigalis", "Agriphila vulgivagellus", "Idia americalis", "Sparganothis sulfureana", "Campaea perlata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:33.343803", "updated_at": "2024-10-10T19:42:06.285491", "user_permissions": [] }