Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/5018/?format=api
{ "id": 5018, "name": "Sunday, Aug 28-29 2022", "details": "https://api.beluga.insectai.org/api/v2/events/5018/?format=api", "deployment": { "id": 237, "name": "Mothra", "details": "https://api.beluga.insectai.org/api/v2/deployments/237/?format=api", "user_permissions": [] }, "start": "2022-08-28T20:06:58", "end": "2022-08-29T03:48:50", "day": "2022-08-28", "date_label": "Aug 28-29 2022", "duration": "27712.0", "duration_label": "7 hours 41 min", "captures_count": 5843, "detections_count": 176, "occurrences_count": 29, "stats": { "detections_max_count": 11, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5018&ordering=timestamp", "first_capture": { "id": 17115036, "details": "https://api.beluga.insectai.org/api/v2/captures/17115036/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/movement/2022_08_28/20220828200658-00-01.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-28T20:06:58", "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": [ 7, 4, 2, 11, 10, 4, 6, 5 ], "ticktext": [ "8:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 2, 2, 2, 2, 2, 3, 4, 7, 16 ], "y": [ "Epirrhoe alternata", "Scoparia biplagialis", "Eusarca confusaria", "Plutella xylostella", "Amydria effrentella", "Thyris maculata", "Choristoneura rosaceana", "Virbia laeta", "Microcrambus elegans", "Campaea perlata" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-26T00:01:26.916383", "updated_at": "2024-10-10T19:41:56.948218", "user_permissions": [] }