API endpoint that allows events to be viewed or edited.

GET /api/v2/events/4177/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 4177,
    "name": "Wednesday, Mar 13-14 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/4177/?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-03-13T18:29:40",
    "end": "2024-03-14T04:00:00",
    "day": "2024-03-13",
    "date_label": "Mar 13-14 2024",
    "duration": "34220.0",
    "duration_label": "9 hours 30 min",
    "captures_count": 3423,
    "detections_count": 43,
    "occurrences_count": 43,
    "stats": {
        "detections_max_count": 28,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4177&ordering=timestamp",
    "first_capture": {
        "id": 11605946,
        "details": "https://api.beluga.insectai.org/api/v2/captures/11605946/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/cri/dep000037/snapshot_images/01-20240313182940-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=951e406b7eb1113e1bb05c083ce51481%2F20260411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260411T222218Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=1e92e1590288f69c393958c10a8ba045638243a89fdfa2b261d7beff102a0d6c",
        "width": 4096,
        "height": 2160,
        "timestamp": "2024-03-13T18:29:40",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    7,
                    15
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    2,
                    3,
                    4,
                    7
                ],
                "y": [
                    "Tosale oviplagalis",
                    "Pyrausta bicoloralis",
                    "Hypsopygia binodulalis",
                    "Phobetron hipparchia",
                    "Samea baccatalis",
                    "Clydonopteron sacculana",
                    "Erastria decrepitaria",
                    "Ommatospila narcaeusalis",
                    "Moth",
                    "Not Lepidoptera"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-12T15:26:30.674285",
    "updated_at": "2024-09-12T15:26:30.981212",
    "user_permissions": []
}