API endpoint that allows events to be viewed or edited.

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

{
    "id": 2674,
    "name": "Saturday, Sep 10 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/2674/?format=api",
    "deployment": {
        "id": 53,
        "name": "Luna",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/53/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-10T19:11:09",
    "end": "2022-09-10T22:02:15",
    "day": "2022-09-10",
    "date_label": "Sep 10 2022",
    "duration": "10266.0",
    "duration_label": "2 hours 51 min",
    "captures_count": 390,
    "detections_count": 25,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 5,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=2674&ordering=timestamp",
    "first_capture": {
        "id": 5067831,
        "details": "https://api.beluga.insectai.org/api/v2/captures/5067831/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages/LUNA/2022/movement/2022_09_10/20220910191109-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-10T19:11:09",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM",
                    "9:00 PM"
                ],
                "y": [
                    3,
                    2
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "9:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Epimartyria auricrinella",
                    "Eriocrania semipurpurella",
                    "Athetis miranda",
                    "Dichomeris flavocostella",
                    "Dichomeris ligulella",
                    "Psychomorpha epimenis",
                    "Thyridopteryx ephemeraeformis",
                    "Scoparia biplagialis",
                    "Idia americalis",
                    "Crambus leachellus"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-01-24T17:43:14.622885",
    "updated_at": "2024-09-05T00:18:26.590848",
    "user_permissions": []
}