API endpoint that allows events to be viewed or edited.

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

{
    "id": 3410,
    "name": "Monday, Sep 11-12 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3410/?format=api",
    "deployment": {
        "id": 100,
        "name": "North Cont pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/100/?format=api",
        "user_permissions": []
    },
    "start": "2023-09-11T20:59:59",
    "end": "2023-09-12T04:27:21",
    "day": "2023-09-11",
    "date_label": "Sep 11-12 2023",
    "duration": "26842.0",
    "duration_label": "7 hours 27 min",
    "captures_count": 6194,
    "detections_count": 17,
    "occurrences_count": 7,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3410&ordering=timestamp",
    "first_capture": {
        "id": 9114347,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9114347/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000009/snapshot_images/01-20230911205959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-09-11T20:59:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM"
                ],
                "y": [
                    1,
                    1,
                    3,
                    2
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    3
                ],
                "y": [
                    "Nomophila noctuella",
                    "Plodia interpunctella",
                    "Philereme transversata",
                    "Nycteola revayana",
                    "Nonagria typhae",
                    "Ypsolopha parenthesella",
                    "Ennomos fuscantaria",
                    "Biston betularia",
                    "Peribatodes rhomboidaria",
                    "Hypena proboscidalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:36:58.546248",
    "updated_at": "2024-04-30T10:36:58.912656",
    "user_permissions": []
}