A model viewset that uses different serializers for the list and detail views.

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

{
    "id": 148,
    "name": "JLG",
    "details": "https://api.beluga.insectai.org/api/v2/deployments/148/?format=api",
    "image": null,
    "events": [],
    "occurrences": "https://api.beluga.insectai.org/api/v2/occurrences/?format=api?deployment=148",
    "events_count": 0,
    "captures_count": 0,
    "occurrences_count": 0,
    "taxa_count": 0,
    "project": {
        "id": 67,
        "name": "AMBER - Singapore",
        "image": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/projects/alan-turing-institute9245.logowik.com_Tv23tdP_zC1VQln.png",
        "details": "https://api.beluga.insectai.org/api/v2/projects/67/?format=api",
        "user_permissions": []
    },
    "created_at": "2024-06-05T10:44:01.027852",
    "updated_at": "2025-10-08T21:19:53.725385",
    "latitude": 0.0,
    "longitude": 0.0,
    "first_date": null,
    "last_date": null,
    "device": null,
    "research_site": null,
    "jobs": [],
    "data_source": null,
    "data_source_uri": null,
    "data_source_total_files": 0,
    "data_source_total_size": null,
    "data_source_total_size_display": "0 bytes",
    "data_source_last_checked": null,
    "data_source_subdir": "null",
    "data_source_regex": "null",
    "description": "",
    "example_captures": [],
    "manually_uploaded_captures": [],
    "user_permissions": []
}