Class CallConferenceController

java.lang.Object
com.bytedesk.call.conference.CallConferenceController

@RestController @RequestMapping("/freeswitch/api/v1/conferences") @ConditionalOnProperty(name="bytedesk.call.freeswitch.enabled", havingValue="true") public class CallConferenceController extends Object
Call会议室管理REST API控制器
  • Field Details

  • Constructor Details

    • CallConferenceController

      public CallConferenceController()
  • Method Details

    • createConference

      @PostMapping public org.springframework.http.ResponseEntity<?> createConference(@RequestBody CallConferenceRequest request)
      创建会议室
    • listConferences

      @GetMapping public org.springframework.http.ResponseEntity<?> listConferences(@RequestParam(defaultValue="0") int page, @RequestParam(defaultValue="20") int size, @RequestParam(defaultValue="createdAt") String sortBy, @RequestParam(defaultValue="desc") String sortDirection, @RequestParam(required=false) String keyword)
      分页查询会议室列表
    • getConference

      @GetMapping("/{id}") public org.springframework.http.ResponseEntity<?> getConference(@PathVariable Long id)
      根据ID获取会议室详情
    • getConferenceByName

      @GetMapping("/by-name/{name}") public org.springframework.http.ResponseEntity<?> getConferenceByName(@PathVariable String name)
      根据名称获取会议室详情
    • updateConference

      @PutMapping("/{id}") public org.springframework.http.ResponseEntity<?> updateConference(@PathVariable Long id, @RequestBody CallConferenceRequest request)
      更新会议室信息
    • deleteConference

      @DeleteMapping("/{id}") public org.springframework.http.ResponseEntity<?> deleteConference(@PathVariable Long id)
      删除会议室
    • toggleConferenceStatus

      @PatchMapping("/{id}/toggle-status") public org.springframework.http.ResponseEntity<?> toggleConferenceStatus(@PathVariable Long id)
      切换会议室状态
    • validateAccess

      @PostMapping("/{name}/validate-access") public org.springframework.http.ResponseEntity<JsonResult<Boolean>> validateAccess(@PathVariable String name, @RequestParam String pin)
      验证会议室访问权限
    • getEnabledConferences

      @GetMapping("/enabled") public org.springframework.http.ResponseEntity<?> getEnabledConferences()
      获取所有启用的会议室
    • getConferencesByCapacity

      @GetMapping("/by-capacity") public org.springframework.http.ResponseEntity<?> getConferencesByCapacity(@RequestParam Integer minCapacity)
      根据最大成员数查询会议室