Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/528/?format=api
{ "id": 528, "name": "Friday, May 7 2021", "details": "https://api.beluga.insectai.org/api/v2/events/528/?format=api", "deployment": { "id": 16, "name": "UK - Wallingford", "details": "https://api.beluga.insectai.org/api/v2/deployments/16/?format=api", "user_permissions": [] }, "start": "2021-05-07T02:39:00", "end": "2021-05-07T02:48:24", "day": "2021-05-07", "date_label": "May 7 2021", "duration": "564.0", "duration_label": "9 minutes", "captures_count": 24, "detections_count": 1, "occurrences_count": 1, "stats": { "detections_max_count": 1, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=528&ordering=timestamp", "first_capture": { "id": 1904534, "details": "https://api.beluga.insectai.org/api/v2/captures/1904534/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/uk/Wallingford/MOTH/05_MAY/06_05_2021/20210507023900-00-03.jpg", "width": 3840, "height": 2160, "timestamp": "2021-05-07T02:39:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "2:00 AM" ], "y": [ 1 ], "ticktext": [ "2:00 AM:00", "2:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1 ], "y": [ "Diaphora mendica" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-28T13:35:21.596530", "updated_at": "2024-02-18T17:03:12.244529", "user_permissions": [] }