API endpoint that allows events to be viewed or edited.

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

{
    "id": 6287,
    "name": "Monday, Sep 2-3 2024",
    "details": "https://api.beluga.insectai.org/api/v2/events/6287/?format=api",
    "deployment": {
        "id": 259,
        "name": "BAMK",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/259/?format=api",
        "user_permissions": []
    },
    "start": "2024-09-02T18:58:00",
    "end": "2024-09-03T03:57:59",
    "day": "2024-09-02",
    "date_label": "Sep 2-3 2024",
    "duration": "32399.0",
    "duration_label": "8 hours 59 min",
    "captures_count": 3241,
    "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=6287&ordering=timestamp",
    "first_capture": {
        "id": 21967820,
        "details": "https://api.beluga.insectai.org/api/v2/captures/21967820/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/sgp/dep000050/snapshot_images/20240902185800-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f75d7a3bc98918fc129f53f0a8f434a5%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T155310Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=597948ee83bc8a7b07472b5cbd97acf79cc69492a3161685aab2d5ce95d4cbb7",
        "width": null,
        "height": null,
        "timestamp": "2024-09-02T18:58:00",
        "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": "2025-01-22T00:32:23.888039",
    "updated_at": "2025-01-22T00:32:25.342527",
    "user_permissions": []
}