API endpoint that allows events to be viewed or edited.

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

{
    "id": 5076,
    "name": "Tuesday, Sep 20 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/5076/?format=api",
    "deployment": {
        "id": 237,
        "name": "Mothra",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/237/?format=api",
        "user_permissions": []
    },
    "start": "2022-09-20T19:10:00",
    "end": "2022-09-20T22:12:14",
    "day": "2022-09-20",
    "date_label": "Sep 20 2022",
    "duration": "10934.0",
    "duration_label": "3 hours 2 min",
    "captures_count": 1030,
    "detections_count": 49,
    "occurrences_count": 3,
    "stats": {
        "detections_max_count": 7,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=5076&ordering=timestamp",
    "first_capture": {
        "id": 17267975,
        "details": "https://api.beluga.insectai.org/api/v2/captures/17267975/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/vermont/RawImages/MOTHRA/2022/snapshots/2022_8_29-10_7_snapshots/20220920191000-01-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-09-20T19:10:00",
        "detections_count": 1,
        "detections": [
            {
                "id": 228055,
                "details": "https://api.beluga.insectai.org/api/v2/detections/228055/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/detections/85/2022-09-20/20220920191000-01-snapshot_detection_228055.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    2771.0,
                    1985.0,
                    2817.0,
                    2067.0
                ],
                "occurrence": {
                    "id": 203011,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/203011/?format=api",
                    "determination": {
                        "id": 6033,
                        "name": "Galasa nigrinodis",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/6033/?format=api",
                        "gbif_taxon_key": 1871175,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.4101943373680115,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=228055",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "7:00 PM",
                    "8:00 PM",
                    "10:00 PM"
                ],
                "y": [
                    1,
                    3,
                    1
                ],
                "ticktext": [
                    "7:00 PM:00",
                    "10:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    1,
                    1,
                    1,
                    2
                ],
                "y": [
                    "Coleophora mayrella",
                    "Celypha rufana",
                    "Crambidia pallida",
                    "Caloptilia stigmatella",
                    "Clepsis peritana",
                    "Cisseps fulvicollis",
                    "Psychomorpha epimenis",
                    "Not Lepidoptera",
                    "Coryphista meadii",
                    "Plutella xylostella"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:01:35.261761",
    "updated_at": "2024-10-10T19:42:07.425504",
    "user_permissions": []
}