Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2567/?format=api
{ "id": 2567, "name": "Monday, Aug 1-2 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2567/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-08-01T20:10:59", "end": "2022-08-02T04:02:12", "day": "2022-08-01", "date_label": "Aug 1-2 2022", "duration": "28273.0", "duration_label": "7 hours 51 min", "captures_count": 8380, "detections_count": 899, "occurrences_count": 881, "stats": { "detections_max_count": 28, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2567&ordering=timestamp", "first_capture": { "id": 5074114, "details": "https://api.beluga.insectai.org/api/v2/captures/5074114/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_08_01_snapshots/20220801201059-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-08-01T20:10:59", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "11:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 9, 16, 29, 64, 90, 53, 43, 5 ], "ticktext": [ "9:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 4, 5, 6, 8, 11, 16, 18, 19, 36, 124 ], "y": [ "Hypagyrtis unipunctata", "Microcrambus elegans", "Campaea perlata", "Pandemis lamprosana", "Speranza pustularia", "Caenurgina erechtea", "Not a Moth", "Platynota exasperatana", "Drepana arcuata", "Hypoprepia fucosa" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-13T08:58:54.240029", "updated_at": "2024-09-05T00:18:17.069067", "user_permissions": [] }