package http import ( stdhttp "net/http" ) // schedules.go — REST API for /api/hosts/{id}/schedules. // // Stubbed during the P2 redesign data-model rewrite (commit chain). // Phase 2 dropped the fat Schedule shape (paths/excludes/tags/ // retention/manual/kind/options/hooks) — the slim Schedule + source // groups model lives in store/. Phase 3 of the redesign will fill in // these handlers against the new shape. // // Returning 501 here keeps the routes addressable; UI calls will // surface the unimplemented state via the toast component until the // new handlers land. func (s *Server) handleListSchedules(w stdhttp.ResponseWriter, r *stdhttp.Request) { writeJSONError(w, stdhttp.StatusNotImplemented, "redesign_in_progress", "schedule REST API is being rebuilt — see P2 redesign Phase 3") } func (s *Server) handleCreateSchedule(w stdhttp.ResponseWriter, r *stdhttp.Request) { writeJSONError(w, stdhttp.StatusNotImplemented, "redesign_in_progress", "schedule REST API is being rebuilt — see P2 redesign Phase 3") } func (s *Server) handleUpdateSchedule(w stdhttp.ResponseWriter, r *stdhttp.Request) { writeJSONError(w, stdhttp.StatusNotImplemented, "redesign_in_progress", "schedule REST API is being rebuilt — see P2 redesign Phase 3") } func (s *Server) handleDeleteSchedule(w stdhttp.ResponseWriter, r *stdhttp.Request) { writeJSONError(w, stdhttp.StatusNotImplemented, "redesign_in_progress", "schedule REST API is being rebuilt — see P2 redesign Phase 3") }