API endpoint that allows events to be viewed or edited.

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

{
    "id": 4626,
    "name": "Monday, May 23 2022",
    "details": "https://api.beluga.insectai.org/api/v2/events/4626/?format=api",
    "deployment": {
        "id": 236,
        "name": "Rigaud",
        "details": "https://api.beluga.insectai.org/api/v2/deployments/236/?format=api",
        "user_permissions": []
    },
    "start": "2022-05-23T21:16:22",
    "end": "2022-05-23T22:31:09",
    "day": "2022-05-23",
    "date_label": "May 23 2022",
    "duration": "4487.0",
    "duration_label": "1 hours 14 min",
    "captures_count": 75,
    "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=4626&ordering=timestamp",
    "first_capture": {
        "id": 15888342,
        "details": "https://api.beluga.insectai.org/api/v2/captures/15888342/?format=api",
        "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/quebec/insectarium/AMI_A_Rigaud/2022/2022_05_23/20220523211622-00-01.jpg",
        "width": 4096,
        "height": 2160,
        "timestamp": "2022-05-23T21:16:22",
        "detections_count": 1,
        "detections": [
            {
                "id": 229056,
                "details": "https://api.beluga.insectai.org/api/v2/detections/229056/?format=api",
                "url": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/detections/85/2022-05-23/20220523211622-00-01_detection_229056.jpg",
                "width": null,
                "height": null,
                "bbox": [
                    125.0,
                    1873.0,
                    296.0,
                    2014.0
                ],
                "occurrence": {
                    "id": 204012,
                    "details": "https://api.beluga.insectai.org/api/v2/occurrences/204012/?format=api",
                    "determination": {
                        "id": 4769,
                        "name": "Argyrotaenia mariana",
                        "rank": "SPECIES",
                        "details": "https://api.beluga.insectai.org/api/v2/taxa/4769/?format=api",
                        "gbif_taxon_key": 1747160,
                        "fieldguide_id": null,
                        "inat_taxon_id": null,
                        "cover_image_url": null,
                        "cover_image_credit": null,
                        "user_permissions": []
                    },
                    "determination_score": 0.48583972454071045,
                    "user_permissions": []
                },
                "classifications": "https://api.beluga.insectai.org/api/v2/classifications/?format=api?detection=229056",
                "occurrence_meets_criteria": null,
                "user_permissions": []
            }
        ],
        "user_permissions": []
    },
    "summary_data": [
        {
            "title": "Detections per hour",
            "data": {
                "x": [],
                "y": [],
                "ticktext": []
            },
            "type": "bar"
        },
        {
            "title": "Top species",
            "data": {
                "x": [
                    0
                ],
                "y": [
                    "Argyrotaenia mariana"
                ]
            },
            "type": "bar",
            "orientation": "h"
        }
    ],
    "capture_page_offset": null,
    "created_at": "2024-09-26T00:00:23.134918",
    "updated_at": "2024-10-10T19:40:38.567816",
    "user_permissions": []
}