API endpoint that allows events to be viewed or edited.

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

{
    "id": 563,
    "name": "Friday, May 13-14 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/563/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-13T20:35:42",
    "end": "2022-05-14T04:59:36",
    "day": "2022-05-13",
    "date_label": "May 13-14 2022",
    "duration": "30234.0",
    "duration_label": "8 hours 23 min",
    "captures_count": 3864,
    "detections_count": 12,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 6,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=563&ordering=timestamp",
    "first_capture": {
        "id": 2261520,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2261520/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_05_13/20220513203542-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-13T20:35:42",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "12:00 AM"
                ],
                "y": [
                    2
                ],
                "ticktext": [
                    "12:00 AM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    2
                ],
                "y": [
                    "Holomelina laeta",
                    "Ethmia bipunctella",
                    "Dyseriocrania griseocapitella",
                    "Celypha cespitana",
                    "Archips packardiana",
                    "Argyrotaenia mariana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-04T02:02:52.360863",
    "updated_at": "2023-12-07T01:05:30.885574",
    "user_permissions": []
}