Deployment Instance
A model viewset that uses different serializers for the list and detail views.
GET /api/v2/deployments/176/?format=api
{ "id": 176, "name": "LEPS-Test", "details": "https://api.beluga.insectai.org/api/v2/deployments/176/?format=api", "image": null, "events": [ { "id": 4247, "name": "Saturday, Jun 18 2022", "details": "https://api.beluga.insectai.org/api/v2/events/4247/?format=api", "occurrences_count": 7, "taxa_count": 0, "user_permissions": [] } ], "occurrences": "https://api.beluga.insectai.org/api/v2/occurrences/?format=api?deployment=176", "events_count": 1, "captures_count": 1, "occurrences_count": 0, "taxa_count": 0, "project": { "id": 84, "name": "Pennsylvania Tebufenozide Impacts Study", "image": "https://object-arbutus.cloud.computecanada.ca/ami-media-staging/uploads/projects/20240513_164521.jpg", "details": "https://api.beluga.insectai.org/api/v2/projects/84/?format=api", "user_permissions": [] }, "created_at": "2024-09-12T19:30:29.785423", "updated_at": "2025-10-08T21:19:53.846453", "latitude": 40.96999, "longitude": -77.72788, "first_date": "2022-06-18", "last_date": "2022-06-18", "device": null, "research_site": null, "jobs": [ { "id": 850, "details": "https://api.beluga.insectai.org/api/v2/jobs/850/?format=api", "status": "SUCCESS", "job_type": { "name": "Data storage sync", "key": "data_storage_sync" }, "created_at": "2024-09-12T19:30:41.427953", "updated_at": "2024-11-13T17:15:33.756517", "user_permissions": [] } ], "data_source": { "id": 38, "name": "Shared Object Store - Pennsylvania Tebufenozide Impacts", "details": "https://api.beluga.insectai.org/api/v2/storage/38/?format=api", "user_permissions": [], "uri": "s3://ami-trapdata/pennsylvania/tebufenozide/test-deployment/?regex=null" }, "data_source_uri": "s3://ami-trapdata/pennsylvania/tebufenozide/test-deployment/?regex=null", "data_source_total_files": 1, "data_source_total_size": 348554, "data_source_total_size_display": "340.4 KB", "data_source_last_checked": "2024-09-12T19:30:42.085812", "data_source_subdir": "test-deployment", "data_source_regex": "null", "description": "", "example_captures": [ { "id": 13513155, "details": "https://api.beluga.insectai.org/api/v2/captures/13513155/?format=api", "url": "https://object-arbutus.cloud.computecanada.ca/ami-trapdata/pennsylvania/tebufenozide/test-deployment/2022-06-18/snapLV1_20220618014000-92-snapshot.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f196f151de3a4b73ad87c0ee6263c173%2F20260403%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260403T143208Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=cfee7789eb7df09bdee686b25a2428b3278306a04c645a548aef53943cbd806e", "width": 3840, "height": 2160, "timestamp": "2022-06-18T01:40:00", "event": { "id": 4247, "details": "https://api.beluga.insectai.org/api/v2/events/4247/?format=api", "user_permissions": [] }, "user_permissions": [] } ], "manually_uploaded_captures": [], "user_permissions": [] }