API endpoint that allows events to be viewed or edited.

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

{
    "id": 749,
    "name": "Saturday, May 21-22 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/749/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-21T20:33:14",
    "end": "2022-05-22T05:00:31",
    "day": "2022-05-21",
    "date_label": "May 21-22 2022",
    "duration": "30437.0",
    "duration_label": "8 hours 27 min",
    "captures_count": 12561,
    "detections_count": 120,
    "occurrences_count": 11,
    "stats": {
        "detections_max_count": 32,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=749&ordering=timestamp",
    "first_capture": {
        "id": 3180236,
        "details": "https://api.beluga.insectai.org/api/v2/captures/3180236/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_05_21/20220521203314-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-21T20:33:14",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "3:00 AM",
                    "4:00 AM"
                ],
                "y": [
                    1,
                    3,
                    9,
                    5
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    1,
                    7
                ],
                "y": [
                    "Lobophora nivigerata",
                    "Hethemia pistasciaria",
                    "Eucopina tocullionana",
                    "Eufidonia notataria",
                    "Palpita magniferalis",
                    "Nyctobia limitaria",
                    "Holomelina laeta",
                    "Epiblema otiosana",
                    "Phalaenophana pyramusalis",
                    "Syndemis afflictana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-06T20:23:49.031138",
    "updated_at": "2023-12-07T01:05:49.201757",
    "user_permissions": []
}