Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2535/?format=api
{ "id": 2535, "name": "Wednesday, Jul 6-7 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2535/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-07-06T20:07:00", "end": "2022-07-07T03:22:55", "day": "2022-07-06", "date_label": "Jul 6-7 2022", "duration": "26155.0", "duration_label": "7 hours 15 min", "captures_count": 5015, "detections_count": 381, "occurrences_count": 53, "stats": { "detections_max_count": 16, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2535&ordering=timestamp", "first_capture": { "id": 5073340, "details": "https://api.beluga.insectai.org/api/v2/captures/5073340/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_06_snapshots/20220706200700-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-06T20:07:00", "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" ], "y": [ 2, 4, 30, 9, 7, 6, 9 ], "ticktext": [ "9:00 PM:00", "3:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 3, 3, 3, 3, 4, 5, 7, 7, 7 ], "y": [ "Argyria nivalis", "Spilosoma virginica", "Plutella xylostella", "Spilosoma congrua", "Campaea perlata", "Caenurgina erechtea", "Platynota idaeusalis", "Hydrelia inornata", "Calledapteryx dryopterata", "Sparganothis unifasciana" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T23:54:53.840704", "updated_at": "2024-09-05T00:18:04.820315", "user_permissions": [] }