API endpoint that allows events to be viewed or edited.

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

{
    "id": 590,
    "name": "Saturday, Jul 16-17 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/590/?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-16T20:34:28",
    "end": "2022-07-17T01:23:01",
    "day": "2022-07-16",
    "date_label": "Jul 16-17 2022",
    "duration": "17313.0",
    "duration_label": "4 hours 48 min",
    "captures_count": 5921,
    "detections_count": 55,
    "occurrences_count": 4,
    "stats": {
        "detections_max_count": 26,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=590&ordering=timestamp",
    "first_capture": {
        "id": 2382047,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2382047/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_07_16/20220716203428-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-16T20:34:28",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    2,
                    4
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    2,
                    2
                ],
                "y": [
                    "Eudonia strigalis",
                    "Crambus albellus",
                    "Eumacaria madopata",
                    "Celypha cespitana",
                    "Dichomeris ligulella",
                    "Crambus alienellus",
                    "Psychomorpha epimenis",
                    "Hypoprepia fucosa",
                    "Platynota exasperatana",
                    "Pandemis lamprosana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-04T03:01:08.481995",
    "updated_at": "2023-12-07T01:08:54.009152",
    "user_permissions": []
}