Deployment Instance
A model viewset that uses different serializers for the list and detail views.
GET /api/v2/deployments/107/?format=api
{ "id": 107, "name": "Monkswood", "details": "https://api.beluga.insectai.org/api/v2/deployments/107/?format=api", "image": null, "events": [], "occurrences": "https://api.beluga.insectai.org/api/v2/occurrences/?format=api?deployment=107", "events_count": 0, "captures_count": 0, "occurrences_count": 0, "taxa_count": 0, "project": { "id": 44, "name": "AgZero+", "image": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/projects/agzerologo.JPG", "details": "https://api.beluga.insectai.org/api/v2/projects/44/?format=api", "user_permissions": [] }, "created_at": "2024-04-25T09:41:26.573815", "updated_at": "2025-10-08T21:19:53.862738", "latitude": 52.39882849, "longitude": -0.243439078, "first_date": null, "last_date": null, "device": null, "research_site": null, "jobs": [ { "id": 636, "details": "https://api.beluga.insectai.org/api/v2/jobs/636/?format=api", "status": "FAILURE", "job_type": { "name": "Unknown", "key": "unknown" }, "created_at": "2024-04-30T10:27:43.503115", "updated_at": "2024-11-13T17:15:34.204864", "user_permissions": [] } ], "data_source": { "id": 22, "name": "United Kingdom data", "details": "https://api.beluga.insectai.org/api/v2/storage/22/?format=api", "user_permissions": [], "uri": "s3://gbr/dep000016/" }, "data_source_uri": "s3://gbr/dep000016/", "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": "dep000016", "data_source_regex": null, "description": "Monkswood - dep000016", "example_captures": [], "manually_uploaded_captures": [], "user_permissions": [] }