Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/561/?format=api
{ "id": 561, "name": "Monday, Jul 5-6 2021", "details": "https://api.beluga.insectai.org/api/v2/events/561/?format=api", "deployment": { "id": 16, "name": "UK - Wallingford", "details": "https://api.beluga.insectai.org/api/v2/deployments/16/?format=api", "user_permissions": [] }, "start": "2021-07-05T21:29:47", "end": "2021-07-06T06:40:59", "day": "2021-07-05", "date_label": "Jul 5-6 2021", "duration": "33072.0", "duration_label": "9 hours 11 min", "captures_count": 5885, "detections_count": 8, "occurrences_count": 8, "stats": { "detections_max_count": 4, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=561&ordering=timestamp", "first_capture": { "id": 2022916, "details": "https://api.beluga.insectai.org/api/v2/captures/2022916/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/uk/Wallingford/MOTH/07_JULY/05_07_2021/20210705212947-00-01.jpg", "width": 3840, "height": 2160, "timestamp": "2021-07-05T21:29:47", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "6:00 AM" ], "y": [ 2 ], "ticktext": [ "6:00 AM:00", "6:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 2 ], "y": [ "Teulisna tumida", "Pediasia luteella", "Garudinia taioana", "Fissicrambus mutabilis", "Chrysoteuchia culmella", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-28T13:58:34.599398", "updated_at": "2024-02-18T17:03:18.906562", "user_permissions": [] }