API endpoint that allows events to be viewed or edited.

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

{
    "id": 210,
    "name": "Saturday, Jul 16 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/210/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-07-16T21:04:32",
    "end": "2022-07-16T23:33:15",
    "day": "2022-07-16",
    "date_label": "Jul 16 2022",
    "duration": "8923.0",
    "duration_label": "2 hours 28 min",
    "captures_count": 2847,
    "detections_count": 19,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 19,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=210&ordering=timestamp",
    "first_capture": {
        "id": 844460,
        "details": "https://api.beluga.insectai.org/api/v2/captures/844460/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_07_16/20220716210432-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-07-16T21:04:32",
        "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": [
                    "Pelochrista derelicta",
                    "Olethreutes fasciatana",
                    "Harpyia milhauseri",
                    "Ephestiodes infimella",
                    "Dyseriocrania griseocapitella",
                    "Condica mobilis",
                    "Coloradia pandora",
                    "Acoloithus falsarius",
                    "Condylolomia participialis",
                    "Cenopis pettitana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:12:58.098526",
    "updated_at": "2024-07-23T18:55:42.565088",
    "user_permissions": []
}