API endpoint that allows events to be viewed or edited.

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

{
    "id": 797,
    "name": "Wednesday, Aug 9-10 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/797/?format=api",
    "deployment": {
        "id": 24,
        "name": "UK - East Hendred (-)",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/24/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-09T21:18:29",
    "end": "2023-08-10T04:29:31",
    "day": "2023-08-09",
    "date_label": "Aug 9-10 2023",
    "duration": "25862.0",
    "duration_label": "7 hours 11 min",
    "captures_count": 4121,
    "detections_count": 11,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 11,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=797&ordering=timestamp",
    "first_capture": {
        "id": 3967938,
        "details": "https://api.beluga.insectai.org/api/v2/captures/3967938/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/uk/Ag0+/east_hendred/negative/2023_08_09/20230809211829-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-09T21:18:29",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "4:00 AM"
                ],
                "y": [
                    2
                ],
                "ticktext": [
                    "4:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1
                ],
                "y": [
                    "Agriphila vulgivagellus",
                    "Patalene olyzonaria",
                    "Lithacodia albidula",
                    "Ennomos magnaria",
                    "Catocala ultronia",
                    "Bedellia somnulentella",
                    "Argyrotaenia quercifoliana",
                    "Amydria effrentella",
                    "Phragmatobia fuliginosa",
                    "Acleris forsskaleana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-20T13:55:04.028587",
    "updated_at": "2023-12-07T00:58:19.479524",
    "user_permissions": []
}