Station List
Station Management API
Full CRUD operations for railway stations.
**GET /stations/** - List all stations
**POST /stations/** - Create new station
**GET /stations/{id}/** - Get station details
**PUT /stations/{id}/** - Update station
**DELETE /stations/{id}/** - Delete station
**Custom Actions:**
- GET /stations/{id}/cameras/ - Get cameras at station
- GET /stations/{id}/dustbins/ - Get dustbins at station
- GET /stations/{id}/summary/ - Get dashboard statistics
GET /api/v1/stations/?format=api&ordering=code
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 1,
"name": "Kamlapur Railway Station",
"code": "KPS",
"district": "Dhaka",
"is_active": true,
"total_cameras": 1
}
]
}