API endpoint that allows events to be viewed or edited.

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

{
    "id": 159,
    "name": "Wednesday, May 25 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/159/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?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": 1,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=159&ordering=timestamp",
    "first_capture": {
        "id": 717454,
        "details": "https://api.beluga.insectai.org/api/v2/captures/717454/?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": [
            {
                "id": 570098,
                "details": "https://api.beluga.insectai.org/api/v2/detections/570098/?format=api",
                "url": null,
                "width": null,
                "height": null,
                "bbox": null,
                "occurrence": {
                    "id": 542140,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/542140/?format=api",
                    "determination": null,
                    "determination_score": null,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=570098",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "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": "2023-08-20T16:12:40.571116",
    "updated_at": "2024-07-23T18:55:31.332750",
    "user_permissions": []
}