课堂控制接口.md 2.51 KB

env.url: https://api[api-online.test].boxfish.cn

notes:

  • 默认所有接口都要携带token access_token

全能思维课课堂控制接口

连线用户

  • URL {env.url}/omnipotent/thinking/clazz/room/connection
  • PUT Method
  • path 参数:
  • request 参数:

    参数名 类型 必填 说明 示例
    user_id Long Y 用户id
    clazz_id String Y 课堂id
    clazz_small_id Long Y 学生班级ID classSmallId
  • response: http code 200

下线用户

  • URL {env.url}/omnipotent/thinking/clazz/room/connection
  • DELETE Method
  • path 参数:
  • request 参数:
  • 参数名 类型 必填 说明 示例
    user_id Long Y 用户id
    clazz_id String Y 课堂id
  • response: http code 200

禁言用户

  • URL {env.url}/omnipotent/thinking/clazz/room/silence
  • PUT Method
  • path 参数:
  • request 参数:

    参数名 类型 必填 说明 示例
    user_id Long Y 用户id
    clazz_id String Y 课堂id
  • response: http code 200

解禁用户

  • URL {env.url}/omnipotent/thinking/clazz/room/silence
  • DELETE Method
  • path 参数:
  • request 参数:

    参数名 类型 必填 说明 示例
    user_id Long Y 用户id
    clazz_id String Y 课堂id
  • response: http code 200

禁用用户摄像头

  • URL {env.url}/omnipotent/thinking/clazz/room/disable/camera
  • PUT Method
  • path 参数:
  • request 参数:

    参数名 类型 必填 说明 示例
    user_id Long Y 用户id
    clazz_id String Y 课堂id
  • response: http code 200

解禁用户摄像头

  • URL {env.url}/omnipotent/thinking/clazz/room/disable/camera
  • DELETE Method
  • path 参数:
  • request 参数:

    参数名 类型 必填 说明 示例
    user_id Long Y 用户id
    clazz_id String Y 课堂id
  • response: http code 200