API endpoint that allows events to be viewed or edited.

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

{
    "id": 581,
    "name": "Tuesday, Jun 28-29 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/581/?format=api",
    "deployment": {
        "id": 18,
        "name": "Vermont - Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/18/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-28T20:44:01",
    "end": "2022-06-29T03:57:35",
    "day": "2022-06-28",
    "date_label": "Jun 28-29 2022",
    "duration": "26014.0",
    "duration_label": "7 hours 13 min",
    "captures_count": 4879,
    "detections_count": 7,
    "occurrences_count": 1,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=581&ordering=timestamp",
    "first_capture": {
        "id": 2345262,
        "details": "https://api.beluga.insectai.org/api/v2/captures/2345262/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/vermont/RawImages2022VT/Mothra_movement/2022_06_28/20220628204401-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-28T20:44:01",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    1,
                    1
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    1,
                    1
                ],
                "y": [
                    "Macaria signaria",
                    "Crambus albellus",
                    "Archips packardiana",
                    "Nematocampa resistaria",
                    "Hypagyrtis unipunctata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-09-04T02:29:54.073587",
    "updated_at": "2023-12-07T01:07:53.637254",
    "user_permissions": []
}