API endpoint that allows events to be viewed or edited.

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

{
    "id": 164,
    "name": "Tuesday, May 31-1 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/164/?format=api",
    "deployment": {
        "id": 13,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/13/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-31T21:18:27",
    "end": "2022-06-01T00:26:03",
    "day": "2022-05-31",
    "date_label": "May 31-1 2022",
    "duration": "11256.0",
    "duration_label": "3 hours 7 min",
    "captures_count": 1855,
    "detections_count": 10,
    "occurrences_count": 6,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=164&ordering=timestamp",
    "first_capture": {
        "id": 723697,
        "details": "https://api.beluga.insectai.org/api/v2/captures/723697/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_31/20220531211827-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-31T21:18:27",
        "detections_count": 1,
        "detections": [
            {
                "id": 571436,
                "details": "https://api.beluga.insectai.org/api/v2/detections/571436/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/detections/23/2022-05-31/20220531211827-00-01_detection_571436.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    3519.0,
                    0.0,
                    3629.0,
                    50.0
                ],
                "occurrence": {
                    "id": 543483,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/543483/?format=api",
                    "determination": {
                        "id": 1377,
                        "name": "Plutella xylostella",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/1377/?format=api",
                        "gbif_taxon_key": 1831136,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.4223031997680664,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=571436",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "10:00 PM",
                    "11:00 PM",
                    "12:00 AM"
                ],
                "y": [
                    2,
                    2,
                    2
                ],
                "ticktext": [
                    "10:00 PM:00",
                    "12:00 AM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Agriphila vulgivagellus",
                    "Eucosma parmatana",
                    "Clepsis melaleucanus",
                    "Plutella xylostella",
                    "Autographa precationis",
                    "Drepana arcuata",
                    "Not Lepidoptera",
                    "Lobophora nivigerata",
                    "Palpita magniferalis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2023-08-20T16:12:41.521359",
    "updated_at": "2024-07-23T18:55:32.149299",
    "user_permissions": []
}