API endpoint that allows events to be viewed or edited.

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

{
    "id": 4634,
    "name": "Friday, May 27 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4634/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-27T20:41:04",
    "end": "2022-05-27T22:34:17",
    "day": "2022-05-27",
    "date_label": "May 27 2022",
    "duration": "6793.0",
    "duration_label": "1 hours 53 min",
    "captures_count": 468,
    "detections_count": 19,
    "occurrences_count": 2,
    "stats": {
        "detections_max_count": 4,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=4634&ordering=timestamp",
    "first_capture": {
        "id": 15888658,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15888658/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_27/20220527204104-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-27T20:41:04",
        "detections_count": 1,
        "detections": [
            {
                "id": 222160,
                "details": "https://api.beluga.insectai.org/api/v2/detections/222160/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/detections/85/2022-05-27/20220527204104-00-01_detection_222160.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    3858.0,
                    1358.0,
                    3949.0,
                    1462.0
                ],
                "occurrence": {
                    "id": 197116,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/197116/?format=api",
                    "determination": {
                        "id": 3543,
                        "name": "Coleophora mayrella",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/3543/?format=api",
                        "gbif_taxon_key": 5120675,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.357787549495697,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=222160",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "9:00 PM",
                    "10:00 PM"
                ],
                "y": [
                    1,
                    2
                ],
                "ticktext": [
                    "9:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1
                ],
                "y": [
                    "Cosmopterix pulchrimella",
                    "Coleophora deauratella",
                    "Thyridopteryx ephemeraeformis",
                    "Amydria effrentella",
                    "Podosesia syringae",
                    "Hellinsia inquinatus",
                    "Emmelina monodactyla",
                    "Coleophora mayrella",
                    "Synanthedon pictipes",
                    "Eucopina tocullionana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:24.054905",
    "updated_at": "2024-10-10T19:40:44.243597",
    "user_permissions": []
}