API endpoint that allows events to be viewed or edited.

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

{
    "id": 5010,
    "name": "Thursday, Sep 22-23 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5010/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-22T20:43:39",
    "end": "2022-09-23T05:32:15",
    "day": "2022-09-22",
    "date_label": "Sep 22-23 2022",
    "duration": "31716.0",
    "duration_label": "8 hours 48 min",
    "captures_count": 769,
    "detections_count": 8,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5010&ordering=timestamp",
    "first_capture": {
        "id": 17371888,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17371888/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_09_22/20220922204339-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-22T20:43:39",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1
                ],
                "y": [
                    "Ypsolophus ustella",
                    "Nematopogon adansoniella",
                    "Mathildana newmanella",
                    "Fabiola edithella",
                    "Caloptilia stigmatella",
                    "Adela ridingsella",
                    "Adela caeruleella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:25.676989",
    "updated_at": "2024-10-10T19:42:09.931678",
    "user_permissions": []
}