API endpoint that allows events to be viewed or edited.

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

{
    "id": 773,
    "name": "Friday, Jul 15-16 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/773/?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-15T20:45:17",
    "end": "2022-07-16T04:00:49",
    "day": "2022-07-15",
    "date_label": "Jul 15-16 2022",
    "duration": "26132.0",
    "duration_label": "7 hours 15 min",
    "captures_count": 5330,
    "detections_count": 21,
    "occurrences_count": 6,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=773&ordering=timestamp",
    "first_capture": {
        "id": 3647040,
        "details": "https://api.beluga.insectai.org/api/v2/captures/3647040/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_07_15/20220715204517-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-15T20:45:17",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM"
                ],
                "y": [
                    3,
                    4
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Crambus bidens",
                    "Chrysoteuchia topiarius",
                    "Choristoneura rosaceana",
                    "Hydrelia inornata",
                    "Eudryas grata",
                    "Raphia frater",
                    "Pandemis lamprosana",
                    "Lithacodia synochitis",
                    "Idia americalis",
                    "Varneria postremella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-06T22:43:52.425926",
    "updated_at": "2023-12-07T01:08:51.963017",
    "user_permissions": []
}