Event Instance
API endpoint that allows events to be viewed or edited.
GET /api/v2/events/4118/?format=api
{ "id": 4118, "name": "Monday, Apr 29-30 2024", "details": "https://api.beluga.insectai.org/api/v2/events/4118/?format=api", "deployment": { "id": 116, "name": "Costa Rica - Swamp", "details": "https://api.beluga.insectai.org/api/v2/deployments/116/?format=api", "user_permissions": [] }, "start": "2024-04-29T18:30:40", "end": "2024-04-30T04:01:00", "day": "2024-04-29", "date_label": "Apr 29-30 2024", "duration": "34220.0", "duration_label": "9 hours 30 min", "captures_count": 3423, "detections_count": 74, "occurrences_count": 74, "stats": { "detections_max_count": 40, "detections_min_count": 0 }, "taxa_count": 0, "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4118&ordering=timestamp", "first_capture": { "id": 11932336, "details": "https://api.beluga.insectai.org/api/v2/captures/11932336/?format=api", "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000033/snapshot_images/01-20240429183040-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260412%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260412T003448Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=cbdd873d442d5a348b621eba75af901d12fd7cd2a20bd39787a13c5cb3ba0257", "width": 4096, "height": 2160, "timestamp": "2024-04-29T18:30:40", "detections_count": 0, "detections": [], "user_permissions": [] }, "summary_data": [ { "title": "Detections per hour", "data": { "x": [ "10:00 PM", "11:00 PM" ], "y": [ 17, 14 ], "ticktext": [ "10:00 PM:00", "11:00 PM:00" ] }, "type": "bar" }, { "title": "Top species", "data": { "x": [ 1, 1, 1, 2, 2, 2, 2, 2, 3, 3 ], "y": [ "Cryptographis nitidalis", "Eublemma minima", "Erastria decrepitaria", "Mocis texana", "Samea baccatalis", "Not Lepidoptera", "Phereoeca uterella", "Enyo lugubris", "Pyrausta phoenicealis", "Moth" ] }, "type": "bar", "orientation": "h" } ], "capture_page_offset": null, "created_at": "2024-09-12T15:24:52.294333", "updated_at": "2024-09-12T15:24:52.549620", "user_permissions": [] }