Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2533/?format=api
{ "id": 2533, "name": "Monday, Jul 4-5 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2533/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-07-04T20:05:00", "end": "2022-07-05T00:49:00", "day": "2022-07-04", "date_label": "Jul 4-5 2022", "duration": "17040.0", "duration_label": "4 hours 44 min", "captures_count": 3896, "detections_count": 259, "occurrences_count": 233, "stats": { "detections_max_count": 14, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2533&ordering=timestamp", "first_capture": { "id": 5073270, "details": "https://api.beluga.insectai.org/api/v2/captures/5073270/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_04_snapshots/20220704200500-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-04T20:05: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" ], "y": [ 3, 12, 31, 28 ], "ticktext": [ "9:00 PM:00", "12:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 2, 2, 2, 2, 3, 3, 5, 19, 19 ], "y": [ "Pyrausta acrionalis", "Lophocampa caryae", "Choristoneura fumiferana", "Chamyris cerintha", "Cnephasia asseclana", "Chrysoteuchia topiarius", "Cnephasia stephensiana", "Not a Moth", "Hydrelia inornata", "Dryocampa rubicunda" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-12T23:31:28.334868", "updated_at": "2024-09-05T00:18:03.862606", "user_permissions": [] }