Возвращает рабочий график по id или список графиков по user_id и year.
Требования:
- требуется JWT
- передайте либо
id, либо паруuser_id+year
Security
bearerAuth or jwtCookie
- https://felmee.comhttps://felmee.com/api/calendar/work-schedule
- http://localhost:8080http://localhost:8080/api/calendar/work-schedule
curl -i -X GET \
'https://felmee.com/api/calendar/work-schedule?id=1&user_id=1&year=2026' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Рабочий график успешно получен
One of:
Устаревший camelCase-alias поля error_code; при ошибке оба поля содержат одинаковое значение.
Код ошибки. Для успешных ответов всегда null.
Enum:"invalid_body""unauthorized""not_found""conflict""object_modified_by_another_thread""action_too_late""too_many_request""code_is_gone""forbidden""user_blocked"
Response
{ "success": true, "message": "Work schedule retrieved successfully", "codeError": null, "error_code": null, "data": { "work_schedule": { … } } }