API endpoint that allows events to be viewed or edited.

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

{
    "id": 778,
    "name": "Saturday, Jul 30-31 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/778/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-30T20:45:21",
    "end": "2022-07-31T01:02:09",
    "day": "2022-07-30",
    "date_label": "Jul 30-31 2022",
    "duration": "15408.0",
    "duration_label": "4 hours 16 min",
    "captures_count": 4102,
    "detections_count": 27,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 13,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=778&ordering=timestamp",
    "first_capture": {
        "id": 3713227,
        "details": "https://api.beluga.insectai.org/api/v2/captures/3713227/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_07_30/20220730204521-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-30T20:45:21",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM"
                ],
                "y": [
                    3,
                    1
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Gymnandrosoma punctidiscanum",
                    "Fissicrambus mutabilis",
                    "Endothenia hebesana",
                    "Dyseriocrania griseocapitella",
                    "Clostera strigosa",
                    "Clostera apicalis",
                    "Hydrelia inornata",
                    "Platynota idaeusalis",
                    "Eudonia strigalis",
                    "Hypoprepia fucosa"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-06T23:26:25.865087",
    "updated_at": "2023-12-07T01:09:33.109932",
    "user_permissions": []
}