public class WxCpOaWeDriveServiceImpl extends Object implements WxCpOaWeDriveService
| 构造器和说明 |
|---|
WxCpOaWeDriveServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
WxCpFileList |
fileList(@NonNull WxCpFileListRequest request)
获取文件列表
该接口用于获取指定地址下的文件列表。
|
WxCpFileUpload |
fileUpload(@NonNull WxCpFileUploadRequest request)
上传文件
该接口用于向微盘中的指定位置上传文件。
|
WxCpBaseResp |
spaceAclAdd(@NonNull WxCpSpaceAclAddRequest request)
添加成员/部门
该接口用于对指定空间添加成员/部门,可一次性添加多个。
|
WxCpBaseResp |
spaceAclDel(@NonNull WxCpSpaceAclDelRequest request)
移除成员/部门
该接口用于对指定空间移除成员/部门,操作者需要有移除权限。
|
WxCpSpaceCreateData |
spaceCreate(@NonNull WxCpSpaceCreateRequest request)
新建空间
该接口用于在微盘内新建空间,可以指定人创建空间。
|
WxCpBaseResp |
spaceDismiss(@NonNull String userId,
@NonNull String spaceId)
解散空间
该接口用于解散已有空间,需要以空间管理员身份来解散。
|
WxCpSpaceInfo |
spaceInfo(@NonNull String userId,
@NonNull String spaceId)
获取空间信息
该接口用于获取空间成员列表、信息、权限等信息。
|
WxCpBaseResp |
spaceRename(@NonNull WxCpSpaceRenameRequest request)
重命名空间
该接口用于重命名已有空间,接收userid参数,以空间管理员身份来重命名。
|
WxCpBaseResp |
spaceSetting(@NonNull WxCpSpaceSettingRequest request)
权限管理
该接口用于修改空间权限,需要传入userid,修改权限范围继承传入用户的权限范围。
|
WxCpSpaceShare |
spaceShare(@NonNull String userId,
@NonNull String spaceId)
获取邀请链接
该接口用于获取空间邀请分享链接。
|
public WxCpSpaceCreateData spaceCreate(@NonNull @NonNull WxCpSpaceCreateRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_create?access_token=ACCESS_TOKEN
spaceCreate 在接口中 WxCpOaWeDriveServicerequest - 新建空间对应请求参数WxErrorExceptionpublic WxCpBaseResp spaceRename(@NonNull @NonNull WxCpSpaceRenameRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_rename?access_token=ACCESS_TOKEN
spaceRename 在接口中 WxCpOaWeDriveServicerequest - 重命名空间的请求参数WxErrorExceptionpublic WxCpBaseResp spaceDismiss(@NonNull @NonNull String userId, @NonNull @NonNull String spaceId) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_dismiss?access_token=ACCESS_TOKEN
spaceDismiss 在接口中 WxCpOaWeDriveServiceWxErrorExceptionpublic WxCpSpaceInfo spaceInfo(@NonNull @NonNull String userId, @NonNull @NonNull String spaceId) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_info?access_token=ACCESS_TOKEN
spaceInfo 在接口中 WxCpOaWeDriveServiceWxErrorExceptionpublic WxCpBaseResp spaceAclAdd(@NonNull @NonNull WxCpSpaceAclAddRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_acl_add?access_token=ACCESS_TOKEN
spaceAclAdd 在接口中 WxCpOaWeDriveServicerequest - 添加成员/部门请求参数WxErrorExceptionpublic WxCpBaseResp spaceAclDel(@NonNull @NonNull WxCpSpaceAclDelRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_acl_del?access_token=ACCESS_TOKEN
spaceAclDel 在接口中 WxCpOaWeDriveServicerequest - 移除成员/部门请求参数WxErrorExceptionpublic WxCpBaseResp spaceSetting(@NonNull @NonNull WxCpSpaceSettingRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_setting?access_token=ACCESS_TOKEN
spaceSetting 在接口中 WxCpOaWeDriveServicerequest - 权限管理请求参数WxErrorExceptionpublic WxCpSpaceShare spaceShare(@NonNull @NonNull String userId, @NonNull @NonNull String spaceId) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_share?access_token=ACCESS_TOKEN
spaceShare 在接口中 WxCpOaWeDriveServiceWxErrorExceptionpublic WxCpFileList fileList(@NonNull @NonNull WxCpFileListRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_list?access_token=ACCESS_TOKEN
fileList 在接口中 WxCpOaWeDriveServicerequest - 获取文件列表请求参数WxErrorExceptionpublic WxCpFileUpload fileUpload(@NonNull @NonNull WxCpFileUploadRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_upload?access_token=ACCESS_TOKEN
fileUpload 在接口中 WxCpOaWeDriveServicerequest - 上传文件请求参数WxErrorExceptionCopyright © 2022. All rights reserved.