API endpoint that allows events to be viewed or edited.

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

{
    "id": 35,
    "name": "Sunday, Jul 24 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/35/?format=api",
    "deployment": {
        "id": 9,
        "name": "Quebec - Moth Week 2022",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/9/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-24T21:22:24",
    "end": "2022-07-24T22:38:57",
    "day": "2022-07-24",
    "date_label": "Jul 24 2022",
    "duration": "4593.0",
    "duration_label": "1 hours 16 min",
    "captures_count": 39,
    "detections_count": 28,
    "occurrences_count": 5,
    "stats": {
        "detections_max_count": 28,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=35&ordering=timestamp",
    "first_capture": {
        "id": 47128,
        "details": "https://api.beluga.insectai.org/api/v2/captures/47128/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/quebec/mothweek2022/2022_07_24/20220724212224-00-04.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-24T21:22:24",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM"
                ],
                "y": [
                    7
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    3
                ],
                "y": [
                    "Capua semiferana",
                    "Choristoneura rosaceana",
                    "Chrysoteuchia topiarius",
                    "Catoptria oregonicus",
                    "Caloptilia stigmatella",
                    "Cenopis pettitana",
                    "Lepidoptera",
                    "Cirrhophanus triangulifer",
                    "Cenopis reticulatana",
                    "Hypoprepia fucosa"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T04:59:36.864725",
    "updated_at": "2024-06-24T11:35:37.013865",
    "user_permissions": []
}