API endpoint that allows events to be viewed or edited.

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

{
    "id": 629,
    "name": "Sunday, Sep 4-5 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/629/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-04T20:04:26",
    "end": "2022-09-05T04:00:56",
    "day": "2022-09-04",
    "date_label": "Sep 4-5 2022",
    "duration": "28590.0",
    "duration_label": "7 hours 56 min",
    "captures_count": 6687,
    "detections_count": 28,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 12,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=629&ordering=timestamp",
    "first_capture": {
        "id": 2546423,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2546423/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_09_04/20220904200426-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-04T20:04:26",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "1:00 AM",
                    "2:00 AM"
                ],
                "y": [
                    2,
                    1
                ],
                "ticktext": [
                    "1:00 AM:00",
                    "2:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Acleris nivisellana",
                    "Choristoneura pinus",
                    "Choristoneura parallela",
                    "Chalcoela iphitalis",
                    "Catocala amica",
                    "Amorbia humerosana",
                    "Aglossa pinguinalis",
                    "Sparganothis sulfureana",
                    "Campaea perlata",
                    "Microcrambus elegans"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-04T08:09:02.637391",
    "updated_at": "2023-12-07T01:11:38.791474",
    "user_permissions": []
}