API endpoint that allows events to be viewed or edited.

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

{
    "id": 4658,
    "name": "Friday, Jun 3 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4658/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-06-03T21:13:36",
    "end": "2022-06-03T22:56:13",
    "day": "2022-06-03",
    "date_label": "Jun 3 2022",
    "duration": "6157.0",
    "duration_label": "1 hours 42 min",
    "captures_count": 1409,
    "detections_count": 17,
    "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=4658&ordering=timestamp",
    "first_capture": {
        "id": 15900605,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15900605/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_06_03/20220603211336-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-06-03T21:13:36",
        "detections_count": 0,
        "detections": [],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM"
                ],
                "y": [
                    5
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    2,
                    2
                ],
                "y": [
                    "Petrophora chlorosata",
                    "Opogona omoscopa",
                    "Microtheoris ophionalis",
                    "Gnorimoschema gallaesolidaginis",
                    "Coleophora deauratella",
                    "Esperia sulphurella",
                    "Eriocrania semipurpurella",
                    "Tetracis cachexiata",
                    "Adela caeruleella",
                    "Eucopina tocullionana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:26.782438",
    "updated_at": "2024-10-10T19:40:52.932537",
    "user_permissions": []
}