public class WxCpOaWeDriveServiceImpl extends Object implements WxCpOaWeDriveService
| 构造器和说明 | 
|---|
| WxCpOaWeDriveServiceImpl() | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| WxCpBaseResp | fileAclAdd(@NonNull WxCpFileAclAddRequest request)新增指定人
 该接口用于对指定文件添加指定人/部门。 | 
| WxCpBaseResp | fileAclDel(@NonNull WxCpFileAclDelRequest request)删除指定人
 该接口用于删除指定文件的指定人/部门。 | 
| WxCpFileCreate | fileCreate(@NonNull String spaceId,
          @NonNull String fatherId,
          @NonNull Integer fileType,
          @NonNull String fileName)新建文件夹/文档
 该接口用于在微盘指定位置新建文件夹、文档(更多文档接口能力可见文档API接口说明)。 | 
| WxCpBaseResp | fileDelete(@NonNull List<String> fileIds)删除文件
 该接口用于删除指定文件。 | 
| WxCpFileDownload | fileDownload(@NonNull String userId,
            @NonNull String fileId)下载文件
 该接口用于下载文件,请求的userid需有下载权限。 | 
| WxCpFileInfo | fileInfo(@NonNull String fileId)文件信息
 该接口用于获取指定文件的信息。 | 
| WxCpFileList | fileList(@NonNull WxCpFileListRequest request)获取文件列表
 该接口用于获取指定地址下的文件列表。 | 
| WxCpFileMove | fileMove(@NonNull WxCpFileMoveRequest request)移动文件
 该接口用于将文件移动到指定位置。 | 
| WxCpFileRename | fileRename(@NonNull String fileId,
          @NonNull String newName)重命名文件
 该接口用于对指定文件进行重命名。 | 
| WxCpBaseResp | fileSetting(@NonNull String userId,
           @NonNull String fileId,
           @NonNull Integer authScope,
           Integer auth)分享设置
 该接口用于文件的分享设置。 | 
| WxCpFileShare | fileShare(@NonNull String userId,
         @NonNull String fileId)获取分享链接
 该接口用于获取文件的分享链接。 | 
| 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) 请求地址: ...
spaceCreate 在接口中 WxCpOaWeDriveServicerequest - 新建空间对应请求参数WxErrorException - the wx error exceptionpublic WxCpBaseResp spaceRename(@NonNull @NonNull WxCpSpaceRenameRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
spaceRename 在接口中 WxCpOaWeDriveServicerequest - 重命名空间的请求参数WxErrorException - the wx error exceptionpublic WxCpBaseResp spaceDismiss(@NonNull @NonNull String userId, @NonNull @NonNull String spaceId) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
spaceDismiss 在接口中 WxCpOaWeDriveServiceuserId - the user idspaceId - the space idWxErrorException - the wx error exceptionpublic WxCpSpaceInfo spaceInfo(@NonNull @NonNull String userId, @NonNull @NonNull String spaceId) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
spaceInfo 在接口中 WxCpOaWeDriveServiceuserId - the user idspaceId - the space idWxErrorException - the wx error exceptionpublic WxCpBaseResp spaceAclAdd(@NonNull @NonNull WxCpSpaceAclAddRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
spaceAclAdd 在接口中 WxCpOaWeDriveServicerequest - 添加成员/部门请求参数WxErrorException - the wx error exceptionpublic WxCpBaseResp spaceAclDel(@NonNull @NonNull WxCpSpaceAclDelRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
spaceAclDel 在接口中 WxCpOaWeDriveServicerequest - 移除成员/部门请求参数WxErrorException - the wx error exceptionpublic WxCpBaseResp spaceSetting(@NonNull @NonNull WxCpSpaceSettingRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
spaceSetting 在接口中 WxCpOaWeDriveServicerequest - 权限管理请求参数WxErrorException - the wx error exceptionpublic WxCpSpaceShare spaceShare(@NonNull @NonNull String userId, @NonNull @NonNull String spaceId) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
spaceShare 在接口中 WxCpOaWeDriveServiceuserId - the user idspaceId - the space idWxErrorException - the wx error exceptionpublic WxCpFileList fileList(@NonNull @NonNull WxCpFileListRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileList 在接口中 WxCpOaWeDriveServicerequest - 获取文件列表请求参数WxErrorException - the wx error exceptionpublic WxCpFileUpload fileUpload(@NonNull @NonNull WxCpFileUploadRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileUpload 在接口中 WxCpOaWeDriveServicerequest - 上传文件请求参数WxErrorException - the wx error exceptionpublic WxCpFileDownload fileDownload(@NonNull @NonNull String userId, @NonNull @NonNull String fileId) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileDownload 在接口中 WxCpOaWeDriveServiceuserId - 文件fileid(只支持下载普通文件,不支持下载文件夹或微文档)fileId - 微盘和文件选择器jsapi返回的selectedTicket。若填此参数,则不需要填fileid。WxErrorException - the wx error exceptionpublic WxCpFileRename fileRename(@NonNull @NonNull String fileId, @NonNull @NonNull String newName) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileRename 在接口中 WxCpOaWeDriveServicefileId - the file idnewName - the new nameWxErrorException - the wx error exceptionpublic WxCpFileCreate fileCreate(@NonNull @NonNull String spaceId, @NonNull @NonNull String fatherId, @NonNull @NonNull Integer fileType, @NonNull @NonNull String fileName) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileCreate 在接口中 WxCpOaWeDriveServicespaceId - 空间spaceidfatherId - 父目录fileid, 在根目录时为空间spaceidfileType - 文件类型, 1:文件夹 3:文档(文档) 4:文档(表格)fileName - 文件名字(注意:文件名最多填255个字符, 英文算1个, 汉字算2个)WxErrorException - the wx error exceptionpublic WxCpFileMove fileMove(@NonNull @NonNull WxCpFileMoveRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileMove 在接口中 WxCpOaWeDriveServicerequest - 移动文件的请求参数WxErrorException - the wx error exceptionpublic WxCpBaseResp fileDelete(@NonNull @NonNull List<String> fileIds) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileDelete 在接口中 WxCpOaWeDriveServicefileIds - 文件fileid列表WxErrorException - the wx error exceptionpublic WxCpBaseResp fileAclAdd(@NonNull @NonNull WxCpFileAclAddRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileAclAdd 在接口中 WxCpOaWeDriveServicerequest - 新增指定人请求参数WxErrorException - the wx error exceptionpublic WxCpBaseResp fileAclDel(@NonNull @NonNull WxCpFileAclDelRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileAclDel 在接口中 WxCpOaWeDriveServicerequest - 请求参数WxErrorException - the wx error exceptionpublic WxCpBaseResp fileSetting(@NonNull @NonNull String userId, @NonNull @NonNull String fileId, @NonNull @NonNull Integer authScope, Integer auth) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileSetting 在接口中 WxCpOaWeDriveServiceuserId - the user idfileId - the file idauthScope - the auth scopeauth - the authWxErrorException - the wx error exceptionpublic WxCpFileShare fileShare(@NonNull @NonNull String userId, @NonNull @NonNull String fileId) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileShare 在接口中 WxCpOaWeDriveServiceuserId - the user idfileId - the file idWxErrorException - the wx error exceptionpublic WxCpFileInfo fileInfo(@NonNull @NonNull String fileId) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: ...
fileInfo 在接口中 WxCpOaWeDriveServicefileId - the file idWxErrorException - the wx error exceptionCopyright © 2024. All rights reserved.