Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2532/?format=api
{ "id": 2532, "name": "Sunday, Jul 3-4 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2532/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-07-03T20:04:00", "end": "2022-07-04T04:01:51", "day": "2022-07-03", "date_label": "Jul 3-4 2022", "duration": "28671.0", "duration_label": "7 hours 57 min", "captures_count": 5283, "detections_count": 197, "occurrences_count": 35, "stats": { "detections_max_count": 11, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2532&ordering=timestamp", "first_capture": { "id": 5073226, "details": "https://api.beluga.insectai.org/api/v2/captures/5073226/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_03_snapshots/20220703200400-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-03T20:04:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM", "12:00 AM", "1:00 AM", "2:00 AM", "3:00 AM", "4:00 AM" ], "y": [ 3, 3, 9, 9, 9, 8, 1 ], "ticktext": [ "9:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 1, 2, 2, 5, 5, 6, 8 ], "y": [ "Archips packardiana", "Cnephasia stephensiana", "Acoloithus falsarius", "Chrysoteuchia topiarius", "Semiothisa fissinotata", "Scopula limboundata", "Lobophora nivigerata", "Campaea perlata", "Adela caeruleella", "Dryocampa rubicunda" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T23:17:51.821954", "updated_at": "2024-09-05T00:18:03.367012", "user_permissions": [] }