package com.red.circle.other.inner.endpoint.tmp.api;

import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.other.inner.tmp.UpdateRoomSettingRestApiCmd;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author pengliang on 2024/1/5
 */
public interface RoomSettingClientRestApi {

  String API_PREFIX = "/room-setting/client/restapi";

  /**
   * 修改房间设置.
   */
  @PostMapping("/updateSetting")
  ResultResponse<Void> updateSetting(@RequestBody @Validated UpdateRoomSettingRestApiCmd cmd);

}
