API endpoint that allows events to be viewed or edited.

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

{
    "id": 602,
    "name": "Wednesday, Aug 3-4 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/602/?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-03T20:08:35",
    "end": "2022-08-04T04:00:54",
    "day": "2022-08-03",
    "date_label": "Aug 3-4 2022",
    "duration": "28339.0",
    "duration_label": "7 hours 52 min",
    "captures_count": 8209,
    "detections_count": 23,
    "occurrences_count": 6,
    "stats": {
        "detections_max_count": 12,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=602&ordering=timestamp",
    "first_capture": {
        "id": 2438381,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2438381/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_08_03/20220803200835-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-03T20:08:35",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM",
                    "1:00 AM"
                ],
                "y": [
                    3,
                    3
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "1:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    3
                ],
                "y": [
                    "Clelea simplicior",
                    "Archips purpurana",
                    "Dichomeris bilobella",
                    "Albuna fraxini",
                    "Chrysoesthia sexguttella",
                    "Choristoneura fumiferana",
                    "Hypoprepia fucosa",
                    "Macaria aemulataria",
                    "Drepana arcuata",
                    "Platynota exasperatana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-04T04:44:27.474635",
    "updated_at": "2023-12-07T01:09:43.130419",
    "user_permissions": []
}