API endpoint that allows events to be viewed or edited.

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

{
    "id": 3322,
    "name": "Friday, Sep 8-9 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3322/?format=api",
    "deployment": {
        "id": 101,
        "name": "North Cont neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/101/?format=api",
        "user_permissions": []
    },
    "start": "2023-09-08T20:59:59",
    "end": "2023-09-09T04:30:00",
    "day": "2023-09-08",
    "date_label": "Sep 8-9 2023",
    "duration": "27001.0",
    "duration_label": "7 hours 30 min",
    "captures_count": 10176,
    "detections_count": 15,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 9,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3322&ordering=timestamp",
    "first_capture": {
        "id": 9021094,
        "details": "https://api.beluga.insectai.org/api/v2/captures/9021094/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000010/snapshot_images/01-20230908205959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-09-08T20:59:59",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM"
                ],
                "y": [
                    1,
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1
                ],
                "y": [
                    "Spodoptera eridania",
                    "Opostega salaciella",
                    "Odezia atrata",
                    "Mythimna pallens",
                    "Macroglossum stellatarum",
                    "Dyseriocrania subpurpurella",
                    "Chiasmia clathrata",
                    "Aproaerema anthyllidella",
                    "Colostygia pectinataria",
                    "Mythimna impura"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:32:25.276865",
    "updated_at": "2024-04-30T10:32:25.866491",
    "user_permissions": []
}