API endpoint that allows events to be viewed or edited.

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

{
    "id": 3301,
    "name": "Monday, Oct 23-24 2023",
    "details": "https://api.beluga.insectai.org/api/v2/events/3301/?format=api",
    "deployment": {
        "id": 103,
        "name": "North Agri neg",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/103/?format=api",
        "user_permissions": []
    },
    "start": "2023-10-23T20:59:59",
    "end": "2023-10-24T04:19:59",
    "day": "2023-10-23",
    "date_label": "Oct 23-24 2023",
    "duration": "26400.0",
    "duration_label": "7 hours 20 min",
    "captures_count": 579,
    "detections_count": 1,
    "occurrences_count": 0,
    "stats": {
        "detections_max_count": 1,
        "detections_min_count": 0
    },
    "taxa_count": 0,
    "captures": "https://api.beluga.insectai.org/api/v2/captures/?format=api?event=3301&ordering=timestamp",
    "first_capture": {
        "id": 8949360,
        "details": "https://api.beluga.insectai.org/api/v2/captures/8949360/?format=api",
        "url": "https://ami-test-o.s3-ext.jc.rl.ac.uk/dep000012/snapshot_images/01-20231023205959-snapshot.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2023-10-23T20:59:59",
        "detections_count": 1,
        "detections": [
            {
                "id": 83196,
                "details": "https://api.beluga.insectai.org/api/v2/detections/83196/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/crops-dev/0120231023205959snapshot/333-2099-419-2160-1714669496.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    333.0,
                    2099.0,
                    419.0,
                    2160.0
                ],
                "occurrence": {
                    "id": 55665,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/55665/?format=api",
                    "determination": {
                        "id": 2122,
                        "name": "Hemaris fuciformis",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/2122/?format=api",
                        "gbif_taxon_key": 1861797,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.5349361300468445,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=83196",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [
                    "8:00 PM"
                ],
                "y": [
                    1
                ],
                "ticktext": [
                    "8:00 PM:00",
                    "8:00 PM:00"
                ]
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    1
                ],
                "y": [
                    "Hemaris fuciformis"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-04-30T10:31:18.495732",
    "updated_at": "2024-04-30T10:31:18.569485",
    "user_permissions": []
}