API endpoint that allows events to be viewed or edited.

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

{
    "id": 4706,
    "name": "Tuesday, Jun 14-15 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4706/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-14T21:06:38",
    "end": "2022-06-15T00:39:12",
    "day": "2022-06-14",
    "date_label": "Jun 14-15 2022",
    "duration": "12754.0",
    "duration_label": "3 hours 32 min",
    "captures_count": 3867,
    "detections_count": 80,
    "occurrences_count": 25,
    "stats": {
        "detections_max_count": 18,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4706&ordering=timestamp",
    "first_capture": {
        "id": 15940040,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15940040/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_14/20220614210638-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-14T21:06:38",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    3,
                    12,
                    17
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1,
                    1,
                    1,
                    1,
                    2,
                    2,
                    2,
                    2,
                    6,
                    8
                ],
                "y": [
                    "Hypagyrtis piniata",
                    "Clepsis persicana",
                    "Hyperstrotia pervertens",
                    "Adela caeruleella",
                    "Choristoneura rosaceana",
                    "Campaea margaritaria",
                    "Pandemis limitata",
                    "Hypagyrtis unipunctata",
                    "Clepsis melaleucanus",
                    "Campaea perlata"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:32.308002",
    "updated_at": "2024-10-10T19:41:06.607742",
    "user_permissions": []
}