Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4528/?format=api
{ "id": 4528, "name": "Monday, Jun 17-18 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4528/?format=api", "deployment": { "id": 144, "name": "SBWR", "details": "https://api.beluga.insectai.org/api/v2/deployments/144/?format=api", "user_permissions": [] }, "start": "2024-06-17T19:00:01", "end": "2024-06-18T03:59:59", "day": "2024-06-17", "date_label": "Jun 17-18 2024", "duration": "32398.0", "duration_label": "8 hours 59 min", "captures_count": 3241, "detections_count": 8, "occurrences_count": 1, "stats": { "detections_max_count": 8, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4528&ordering=timestamp", "first_capture": { "id": 14412225, "details": "https://api.beluga.insectai.org/api/v2/captures/14412225/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000052/snapshot_images/01-20240617190001-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T232526Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d89eddacac09234306bb21ca00c28c3ad3a723b0ea1f2393ed4c60376151204b", "width": 4096, "height": 2160, "timestamp": "2024-06-17T19:00:01", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "12:00 AM" ], "y": [ 1 ], "ticktext": [ "12:00 AM:00", "12:00 AM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 0, 0, 1 ], "y": [ "Tetanolita mynesalis", "Arta statalis", "Strophedra nitidana", "Idia rotundalis", "Hypena subvittalis", "Elasmopalpus lignosella", "Crambidia pallida", "Creatonotos gangis" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-20T06:11:31.899289", "updated_at": "2024-09-20T06:35:47.232531", "user_permissions": [] }