세션 시간 변경 (스왑)
미리보기 내 세션의 시간을 변경합니다.
- 새 슬롯이 다른 세션과 충돌하면 409 Conflict
- 미리보기가 만료되면 410 Gone
Authentication
AuthorizationBearer
Send a JWT access token with the Authorization header as Bearer <token>.
Path parameters
generation_id
스케줄 생성 ID (UUID)
session_id
세션 ID (UUID)
Request
This endpoint expects an object.
new_slot
대안 슬롯 Serializer (날짜 포함)
검증 규칙:
- 날짜 (YYYY-MM-DD)
- 유효한 요일
- 시작/종료 시간 (HH:MM, 15분 단위)
Response
세션 스왑 성공
generation_id
trainer_id
week_start_date
status
scheduled_sessions
conflicts
summary
생성 요약 응답 Serializer
algorithm_metadata
알고리즘 메타데이터 응답 Serializer
expires_at
created_at
dry_run
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
410
Gone Error