API endpoint that allows events to be viewed or edited.

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

{
    "id": 565,
    "name": "Sunday, May 15-16 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/565/?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-15T20:28:45",
    "end": "2022-05-16T04:52:15",
    "day": "2022-05-15",
    "date_label": "May 15-16 2022",
    "duration": "30210.0",
    "duration_label": "8 hours 23 min",
    "captures_count": 3983,
    "detections_count": 16,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 9,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=565&ordering=timestamp",
    "first_capture": {
        "id": 2268894,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2268894/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_05_15/20220515202845-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-15T20:28:45",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM"
                ],
                "y": [
                    3
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    2
                ],
                "y": [
                    "Endothenia hebesana",
                    "Grapholita interstinctana",
                    "Proteoteras aesculana",
                    "Platynota flavedana",
                    "Alcis porcelaria",
                    "Syndemis afflictana",
                    "Argyrotaenia mariana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-04T02:03:29.091657",
    "updated_at": "2023-12-07T01:05:39.281167",
    "user_permissions": []
}