Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/2550/?format=api
{ "id": 2550, "name": "Thursday, Jul 21-22 2022", "details": "https://api.beluga.insectai.org/api/v2/events/2550/?format=api", "deployment": { "id": 53, "name": "Luna", "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api", "user_permissions": [] }, "start": "2022-07-21T20:11:00", "end": "2022-07-22T01:47:31", "day": "2022-07-21", "date_label": "Jul 21-22 2022", "duration": "20191.0", "duration_label": "5 hours 36 min", "captures_count": 4204, "detections_count": 533, "occurrences_count": 479, "stats": { "detections_max_count": 34, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2550&ordering=timestamp", "first_capture": { "id": 5073754, "details": "https://api.beluga.insectai.org/api/v2/captures/5073754/?format=api", "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_21_snapshots/20220721201100-01-snapshot.jpg", "width": 4096, "height": 2160, "timestamp": "2022-07-21T20:11: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" ], "y": [ 1, 1, 13, 33, 51 ], "ticktext": [ "9:00 PM:00", "1:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 2, 4, 5, 5, 5, 6, 7, 9, 11, 20 ], "y": [ "Hypoprepia miniata", "Arta statalis", "Olethreutes fasciatana", "Coleophora mayrella", "Pandemis lamprosana", "Drepana arcuata", "Herpetogramma pertextalis", "Hydrelia inornata", "Not a Moth", "Hypoprepia fucosa" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2023-10-13T02:04:58.397810", "updated_at": "2024-09-05T00:18:10.789483", "user_permissions": [] }