API endpoint that allows events to be viewed or edited.

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

{
    "id": 4629,
    "name": "Wednesday, May 25 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4629/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-25T05:31:12",
    "end": "2022-05-25T05:31:58",
    "day": "2022-05-25",
    "date_label": "May 25 2022",
    "duration": "46.0",
    "duration_label": "0 minutes",
    "captures_count": 24,
    "detections_count": 0,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 0,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4629&ordering=timestamp",
    "first_capture": {
        "id": 15888634,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15888634/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_25/20220525053112-00-24.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-25T05:31:12",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [],
                "y": []
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:23.855815",
    "updated_at": "2024-10-10T19:40:42.534544",
    "user_permissions": []
}