/v1/people/rosters
Rosters with their shifts; week = the roster's Monday. A staff-role member gets only their own shifts
operationId listRostersAuth
Member token+Tenant headerParameters
- outletin querystringoptionalpattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
- weekin querystring (date)optional
- limitin queryintegeroptional
- cursorin querystringoptionalpattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Response 200
- itemsarray of objectrequired
- week_startstring (date)requiredpattern ^(?:(?:[0-9][0-9][2468][048]|[0-9][0-9][13579][26]|[0-9][0-9]0[48]|[02468][048]00|[13579][26]00)-02-29|[0-9]{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12][0-9]|3[01])|(?:0[469]|11)-(?:0[1-9]|[12][0-9]|30)|(?:02)-(?:0[1-9]|1[0-9]|2[0-8])))$
- statusenum (2)required
activecancelled - shiftsarray of objectrequired
- role_keystringrequired
- statusenum (2)required
scheduledcancelled
Errors
- 400Bad requestError
- 401UnauthenticatedError
- 403Not allowedError
- 404Not foundError
- 422Validation failedError
Every error body carries a code, a message and, where it applies, a reason_code. All error and reason codes.