Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2548/?format=api
{ "id": 2548, "name": "Tuesday, Jul 19 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2548/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-07-19T20:09:00", "end": "2022-07-19T22:29:01", "day": "2022-07-19", "date_label": "Jul 19 2022", "duration": "8401.0", "duration_label": "2 hours 20 min", "captures_count": 602, "detections_count": 76, "occurrences_count": 13, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2548&ordering=timestamp", "first_capture": { "id": 5073729, "details": "https://api.beluga.insectai.org/api/v2/captures/5073729/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_19_snapshots/20220719200900-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-19T20:09:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM" ], "y": [ 5, 15 ], "ticktext": [ "9:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 1, 1, 1, 1, 1, 2, 2, 2, 9 ], "y": [ "Aristotelia roseosuffusella", "Ostrinia penitalis", "Adela caeruleella", "Herpetogramma pertextalis", "Chrysoteuchia topiarius", "Arta statalis", "Hydrelia inornata", "Pleuroprucha insulsaria", "Platytes vobisne", "Microcrambus minor" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-13T01:59:51.667552", "updated_at": "2024-09-05T00:18:09.936686", "user_permissions": [] }