PT OPS

FIDO: Staffed

Tracks whether a station is currently staffed, and by which staffing type.

Last updated: October 8, 2026
GET /fido/staffed Authentication required

Returns staffing status for all stations as an array ([] if none).

[ { "_id": "665f...", "stationCode": "SK", "staffingType": "dispatcher", "staffed": true, "__v": 0 } ]
GET /fido/staffed/:stationCode Authentication required

Returns the staffing object for a single station (same shape as one element of GET /fido/staffed), or 404 with { "error": "Staffed data not found for this station" }.

POST /fido/staffed Authentication required
{ "stationCode": "SK", "staffingType": "coss" }
PATCH /fido/staffed/:stationCode Authentication required
{ "staffed": true }

Sets the station's staffed boolean to the supplied value.

PUT /fido/staffed/:stationCode Authentication required
{ "staffingType": "coss", "staffed": true }

Replaces both fields for a station's staffing record.

DELETE /fido/staffed/:stationCode Authentication required

Removes a station's staffing record.