Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/29/?format=api
{ "id": 29, "name": "Tuesday, Sep 27-28 2022", "details": "https://api.beluga.insectai.org/api/v2/events/29/?format=api", "deployment": { "id": 5, "name": "Cyprus", "details": "https://api.beluga.insectai.org/api/v2/deployments/5/?format=api", "user_permissions": [] }, "start": "2022-09-27T18:09:59", "end": "2022-09-28T04:29:59", "day": "2022-09-27", "date_label": "Sep 27-28 2022", "duration": "37200.0", "duration_label": "10 hours 20 min", "captures_count": 58, "detections_count": 0, "occurrences_count": 0, "stats": { "detections_max_count": 0, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=29&ordering=timestamp", "first_capture": { "id": 41733, "details": "https://api.beluga.insectai.org/api/v2/captures/41733/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/cyprus/snapshots/2022_09_27/397-20220927180959-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-09-27T18:09:59", "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.683120", "updated_at": "2023-12-07T00:49:02.711519", "user_permissions": [] }