Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2534/?format=api
{ "id": 2534, "name": "Tuesday, Jul 5-6 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2534/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-07-05T20:05:59", "end": "2022-07-06T04:01:53", "day": "2022-07-05", "date_label": "Jul 5-6 2022", "duration": "28554.0", "duration_label": "7 hours 55 min", "captures_count": 6477, "detections_count": 436, "occurrences_count": 56, "stats": { "detections_max_count": 26, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2534&ordering=timestamp", "first_capture": { "id": 5073296, "details": "https://api.beluga.insectai.org/api/v2/captures/5073296/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_05_snapshots/20220705200559-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-05T20:05: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": [ 4, 9, 3, 8, 5, 20, 25, 1 ], "ticktext": [ "9:00 PM:00", "4:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 3, 3, 3, 4, 5, 5, 5, 6, 19 ], "y": [ "Campaea perlata", "Sparganothis unifasciana", "Adela caeruleella", "Hedya chionosema", "Emmelina monodactyla", "Eusarca confusaria", "Thyridopteryx ephemeraeformis", "Euchlaena serrata", "Eudryas grata", "Dryocampa rubicunda" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T23:39:35.709493", "updated_at": "2024-09-05T00:18:04.431314", "user_permissions": [] }