Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/558/?format=api
{ "id": 558, "name": "Saturday, Jun 19-20 2021", "details": "https://api.beluga.insectai.org/api/v2/events/558/?format=api", "deployment": { "id": 16, "name": "UK - Wallingford", "details": "https://api.beluga.insectai.org/api/v2/deployments/16/?format=api", "user_permissions": [] }, "start": "2021-06-19T21:27:22", "end": "2021-06-20T06:36:42", "day": "2021-06-19", "date_label": "Jun 19-20 2021", "duration": "32960.0", "duration_label": "9 hours 9 min", "captures_count": 10544, "detections_count": 3, "occurrences_count": 3, "stats": { "detections_max_count": 3, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=558&ordering=timestamp", "first_capture": { "id": 1994323, "details": "https://api.beluga.insectai.org/api/v2/captures/1994323/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/uk/Wallingford/MOTH/06_JUNE/19_06_2021/20210619212722-00-01.jpg", "width": 3840, "height": 2160, "timestamp": "2021-06-19T21:27:22", "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, 2 ], "y": [ "Cydia amplana", "Not Lepidoptera" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-28T13:49:05.412795", "updated_at": "2024-02-18T17:03:17.504171", "user_permissions": [] }