API endpoint that allows events to be viewed or edited.

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

{
    "id": 3054,
    "name": "Friday, Aug 18-19 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3054/?format=api",
    "deployment": {
        "id": 104,
        "name": "Pymoor pos",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/104/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-18T21:01:08",
    "end": "2023-08-19T03:59:59",
    "day": "2023-08-18",
    "date_label": "Aug 18-19 2023",
    "duration": "25131.0",
    "duration_label": "6 hours 58 min",
    "captures_count": 5852,
    "detections_count": 41,
    "occurrences_count": 5,
    "stats": {
        "detections_max_count": 16,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3054&ordering=timestamp",
    "first_capture": {
        "id": 6707103,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6707103/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000013/motion_images/20230818210108-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-18T21:01:08",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    5,
                    2,
                    4
                ],
                "ticktext": [
                    "1:00 AM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    2,
                    2,
                    5
                ],
                "y": [
                    "Coleophora mayrella",
                    "Coleophora trifolii",
                    "Calybites phasianipennella",
                    "Caloptilia rufipennella",
                    "Chiasmia clathrata",
                    "Noctua janthe",
                    "Catoptria falsella",
                    "Lacanobia oleracea",
                    "Diachrysia chrysitis",
                    "Mythimna pallens"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-25T10:42:26.116351",
    "updated_at": "2024-04-26T01:16:54.388091",
    "user_permissions": []
}