API endpoint that allows events to be viewed or edited.

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

{
    "id": 780,
    "name": "Thursday, Aug 4-5 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/780/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-04T20:12:58",
    "end": "2022-08-05T04:00:55",
    "day": "2022-08-04",
    "date_label": "Aug 4-5 2022",
    "duration": "28077.0",
    "duration_label": "7 hours 47 min",
    "captures_count": 8812,
    "detections_count": 98,
    "occurrences_count": 12,
    "stats": {
        "detections_max_count": 26,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=780&ordering=timestamp",
    "first_capture": {
        "id": 3738548,
        "details": "https://api.beluga.insectai.org/api/v2/captures/3738548/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_08_04.2/20220804201258-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-04T20:12:58",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "3:00 AM"
                ],
                "y": [
                    1,
                    4,
                    3,
                    1,
                    7
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "3:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    3,
                    5
                ],
                "y": [
                    "Virbia laeta",
                    "Harrisina americana",
                    "Epiblema otiosana",
                    "Choristoneura fumiferana",
                    "Pandemis lamprosana",
                    "Microcrambus elegans",
                    "Hydrelia inornata",
                    "Stenalcidia pampinaria",
                    "Drepana arcuata",
                    "Hypoprepia fucosa"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-06T23:43:46.239431",
    "updated_at": "2023-12-07T01:09:47.647782",
    "user_permissions": []
}