API endpoint that allows events to be viewed or edited.

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

{
    "id": 4977,
    "name": "Sunday, Sep 4-5 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4977/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-04T20:49:20",
    "end": "2022-09-05T05:29:38",
    "day": "2022-09-04",
    "date_label": "Sep 4-5 2022",
    "duration": "31218.0",
    "duration_label": "8 hours 40 min",
    "captures_count": 794,
    "detections_count": 43,
    "occurrences_count": 28,
    "stats": {
        "detections_max_count": 3,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4977&ordering=timestamp",
    "first_capture": {
        "id": 17296742,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17296742/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_04/20220904204920-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-04T20:49:20",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "2:00 AM",
                    "3:00 AM",
                    "4:00 AM",
                    "5:00 AM"
                ],
                "y": [
                    2,
                    4,
                    18,
                    8
                ],
                "ticktext": [
                    "2:00 AM:00",
                    "5:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    2,
                    28
                ],
                "y": [
                    "Adela caeruleella",
                    "Scythris limbella",
                    "Platynota idaeusalis",
                    "Nematopogon adansoniella",
                    "Coleophora mayrella",
                    "Cisseps fulvicollis",
                    "Nomophila nearctica",
                    "Tinea pellionella",
                    "Campaea margaritaria",
                    "Campaea perlata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:17.219510",
    "updated_at": "2024-10-10T19:42:05.658925",
    "user_permissions": []
}