Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/3954/?format=api
{ "id": 3954, "name": "Friday, Apr 19-20 2024", "details": "https://api.beluga.insectai.org/api/v2/events/3954/?format=api", "deployment": { "id": 115, "name": "Costa Rica - Forest Edge", "details": "https://api.beluga.insectai.org/api/v2/deployments/115/?format=api", "user_permissions": [] }, "start": "2024-04-19T18:30:40", "end": "2024-04-20T04:01:00", "day": "2024-04-19", "date_label": "Apr 19-20 2024", "duration": "34220.0", "duration_label": "9 hours 30 min", "captures_count": 3423, "detections_count": 18, "occurrences_count": 18, "stats": { "detections_max_count": 9, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3954&ordering=timestamp", "first_capture": { "id": 11243096, "details": "https://api.beluga.insectai.org/api/v2/captures/11243096/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000032/snapshot_images/01-20240419183040-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T133001Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ac82824c8b5500f26df038bd99523b13a9dce271ca89821d27ecb1a724965d79", "width": 4096, "height": 2160, "timestamp": "2024-04-19T18:30:40", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "7:00 PM", "8:00 PM", "9:00 PM" ], "y": [ 1, 4, 3 ], "ticktext": [ "7:00 PM:00", "9:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 0, 0, 0, 0, 0, 1, 1, 3, 3 ], "y": [ "Omiodes indicata", "Exelastis pumilio", "Eublemma recta", "Pyrausta bicoloralis", "Erastria decrepitaria", "Megalopyge opercularis", "Isogona snowi", "Not Lepidoptera", "Moth" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:19:41.240244", "updated_at": "2024-09-12T15:19:41.525044", "user_permissions": [] }