Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4195/?format=api
{ "id": 4195, "name": "Wednesday, Apr 24-25 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4195/?format=api", "deployment": { "id": 120, "name": "Costa Rica - Garden", "details": "https://api.beluga.insectai.org/api/v2/deployments/120/?format=api", "user_permissions": [] }, "start": "2024-04-24T18:28:30", "end": "2024-04-25T03:58:00", "day": "2024-04-24", "date_label": "Apr 24-25 2024", "duration": "34170.0", "duration_label": "9 hours 29 min", "captures_count": 3418, "detections_count": 31, "occurrences_count": 31, "stats": { "detections_max_count": 20, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4195&ordering=timestamp", "first_capture": { "id": 11891220, "details": "https://api.beluga.insectai.org/api/v2/captures/11891220/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000037/snapshot_images/01-20240424182830-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T161057Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=c446371b922d476a99e1e71d9793ae470aec05d666b58e3d008a7bf73cb9325a", "width": 4096, "height": 2160, "timestamp": "2024-04-24T18:28:30", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "7:00 PM", "10:00 PM" ], "y": [ 5, 20 ], "ticktext": [ "7:00 PM:00", "10:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 1, 1, 1, 1, 3, 18 ], "y": [ "Plutella xylostella", "Heliocheilus lupata", "Diploschizia impigritella", "Tosale oviplagalis", "Enyo lugubris", "Eublemma recta", "Erastria decrepitaria", "Phereoeca uterella", "Not Lepidoptera", "Moth" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:26:36.617056", "updated_at": "2024-09-12T15:26:36.931467", "user_permissions": [] }