API endpoint that allows events to be viewed or edited.

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

{
    "id": 4753,
    "name": "Friday, Jun 24 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4753/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-24T21:14:15",
    "end": "2022-06-24T23:21:15",
    "day": "2022-06-24",
    "date_label": "Jun 24 2022",
    "duration": "7620.0",
    "duration_label": "2 hours 7 min",
    "captures_count": 1311,
    "detections_count": 13,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4753&ordering=timestamp",
    "first_capture": {
        "id": 16003116,
        "details": "https://api.beluga.insectai.org/api/v2/captures/16003116/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_24/20220624211415-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-24T21:14:15",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM"
                ],
                "y": [
                    3
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "11:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Amydria effrentella",
                    "Yponomeuta padella",
                    "Alsophila pometaria",
                    "Varneria postremella",
                    "Pasiphila rectangulata",
                    "Paranthrene tabaniformis",
                    "Crambus agitatellus",
                    "Parapediasia decorellus",
                    "Choristoneura rosaceana",
                    "Olethreutes fasciatana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:38.130066",
    "updated_at": "2024-10-10T19:41:15.208615",
    "user_permissions": []
}