API endpoint that allows events to be viewed or edited.

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

{
    "id": 114,
    "name": "Monday, Aug 15-16 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/114/?format=api",
    "deployment": {
        "id": 11,
        "name": "Newfoundland - Unit 1-Pasadena",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/11/?format=api",
        "user_permissions": []
    },
    "start": "2022-08-15T22:11:16",
    "end": "2022-08-16T00:51:08",
    "day": "2022-08-15",
    "date_label": "Aug 15-16 2022",
    "duration": "9592.0",
    "duration_label": "2 hours 39 min",
    "captures_count": 2517,
    "detections_count": 80,
    "occurrences_count": 73,
    "stats": {
        "detections_max_count": 24,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=114&ordering=timestamp",
    "first_capture": {
        "id": 656020,
        "details": "https://api.beluga.insectai.org/api/v2/captures/656020/?format=api",
        "url": "https://static.dev.insectai.org/ami-trapdata/newfoundland/Unit-1/2022_08_15/20220815221116-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-08-15T22:11:16",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    6,
                    48
                ],
                "ticktext": [
                    "11:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    2,
                    2,
                    2,
                    2,
                    3,
                    3,
                    4,
                    5,
                    6
                ],
                "y": [
                    "Acoloithus falsarius",
                    "Bedellia somnulentella",
                    "Catoptria latiradiellus",
                    "Coleophora trifolii",
                    "Oligocentria lignicolor",
                    "Argyrotaenia velutinana",
                    "Endothenia hebesana",
                    "Agriphila vulgivagellus",
                    "Archips argyrospila",
                    "Choristoneura fumiferana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T06:23:28.938573",
    "updated_at": "2024-11-13T15:47:01.063462",
    "user_permissions": []
}