API endpoint that allows events to be viewed or edited.

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

{
    "id": 2543,
    "name": "Thursday, Jul 14-15 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/2543/?format=api",
    "deployment": {
        "id": 53,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-14T20:04:00",
    "end": "2022-07-15T04:01:27",
    "day": "2022-07-14",
    "date_label": "Jul 14-15 2022",
    "duration": "28647.0",
    "duration_label": "7 hours 57 min",
    "captures_count": 3716,
    "detections_count": 584,
    "occurrences_count": 161,
    "stats": {
        "detections_max_count": 21,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2543&ordering=timestamp",
    "first_capture": {
        "id": 5073593,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5073593/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/snapshots/2022_07_14_snapshots/20220714200400-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-14T20:04:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM",
                    "1:00 AM",
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    2,
                    7,
                    15,
                    52,
                    59,
                    30,
                    29,
                    6
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    4,
                    5,
                    5,
                    7,
                    7,
                    8,
                    8,
                    22,
                    25,
                    78
                ],
                "y": [
                    "Eulithis explanata",
                    "Microcrambus minor",
                    "Adela caeruleella",
                    "Nemoria bistriaria",
                    "Alcis porcelaria",
                    "Gymnandrosoma punctidiscanum",
                    "Haploa contigua",
                    "Scopula limboundata",
                    "Malacosoma disstria",
                    "Hydrelia inornata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-10-13T01:12:00.794439",
    "updated_at": "2024-09-05T00:18:07.913958",
    "user_permissions": []
}