API endpoint that allows events to be viewed or edited.

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

{
    "id": 2929,
    "name": "Wednesday, Aug 30-31 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/2929/?format=api",
    "deployment": {
        "id": 105,
        "name": "Pymoor neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/105/?format=api",
        "user_permissions": []
    },
    "start": "2023-08-30T21:10:00",
    "end": "2023-08-31T04:00:00",
    "day": "2023-08-30",
    "date_label": "Aug 30-31 2023",
    "duration": "24600.0",
    "duration_label": "6 hours 50 min",
    "captures_count": 330,
    "detections_count": 3,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 2,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2929&ordering=timestamp",
    "first_capture": {
        "id": 6757009,
        "details": "https://api.beluga.insectai.org/api/v2/captures/6757009/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000014/snapshot_images/01-20230830211000-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-08-30T21:10:00",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "4:00 AM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "4:00 AM:00",
                    "4:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    1
                ],
                "y": [
                    "Macroglossum stellatarum",
                    "Crambus pascuella",
                    "Crambus pratella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-25T10:37:48.292727",
    "updated_at": "2024-04-26T01:17:10.399315",
    "user_permissions": []
}