Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2541/?format=api
{ "id": 2541, "name": "Tuesday, Jul 12 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2541/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-07-12T20:13:00", "end": "2022-07-12T22:45:56", "day": "2022-07-12", "date_label": "Jul 12 2022", "duration": "9176.0", "duration_label": "2 hours 32 min", "captures_count": 830, "detections_count": 65, "occurrences_count": 8, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2541&ordering=timestamp", "first_capture": { "id": 5073563, "details": "https://api.beluga.insectai.org/api/v2/captures/5073563/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_12_snapshots/20220712201300-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-12T20:13:00", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "9:00 PM", "10:00 PM" ], "y": [ 6, 3 ], "ticktext": [ "9:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 1, 1, 1, 6 ], "y": [ "Choristoneura fumiferana", "Crambus girardellus", "Coleophora trifolii", "Chrysodeixis includens", "Coleophora mayrella", "Adela caeruleella", "Crambus albellus", "Scopula limboundata", "Eriocrania semipurpurella", "Chytonix palliatricula" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-13T01:03:51.960514", "updated_at": "2024-09-05T00:18:07.233054", "user_permissions": [] }