Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/27/?format=api
{ "id": 27, "name": "Saturday, Sep 24-25 2022", "details": "https://api.beluga.insectai.org/api/v2/events/27/?format=api", "deployment": { "id": 5, "name": "Cyprus", "details": "https://api.beluga.insectai.org/api/v2/deployments/5/?format=api", "user_permissions": [] }, "start": "2022-09-24T18:00:00", "end": "2022-09-25T04:30:00", "day": "2022-09-24", "date_label": "Sep 24-25 2022", "duration": "37800.0", "duration_label": "10 hours 30 min", "captures_count": 63, "detections_count": 1, "occurrences_count": 0, "stats": { "detections_max_count": 1, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=27&ordering=timestamp", "first_capture": { "id": 41341, "details": "https://api.beluga.insectai.org/api/v2/captures/41341/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/cyprus/snapshots/2022_09_24/113-20220924180000-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-09-24T18:00:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [], "y": [], "ticktext": [] }, "type": "bar" }, { "title": "Top species", "data": { "x": [], "y": [] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-08-20T04:50:25.648829", "updated_at": "2023-12-07T00:49:02.651619", "user_permissions": [] }