Skip to content
接口名称请求/响应官方文档
创建bucket qiniu.SendAsync<BucketCreateResponse>(new BucketCreateRequest(bucket))七牛开发文档
删除bucket qiniu.SendAsync<BucketRemoveResponse>(new BucketRemoveRequest(bucket))七牛开发文档
获取Bucket列表qiniu.SendAsync<BucketQueryResponse>(new BucketQueryRequest())七牛开发文档
设置bucket访问权限 qiniu.SendAsync<BucketAuthResponse>(new BucketAuthRequest(bucket,0))七牛开发文档
获取 Bucket 空间域名 qiniu.SendAsync<BucketDomainResponse>(new BucketDomainRequest(bucket))七牛开发文档
查看空间标签qiniu.SendAsync<BucketTaggingResponse>(new BucketTaggingRequest(bucket))七牛开发文档
修改文件状态qiniu.SendAsync<ChStatusResponse>(new ChStatusRequest(bucket,key,status))七牛开发文档
修改文件存储类型qiniu.SendAsync<ChTypeResponse>(new ChTypeRequest(bucket,key,status))七牛开发文档
资源元信息查询qiniu.SendAsync<StatResponse>(new StatRequest(bucket,key))七牛开发文档
资源元信息修改qiniu.SendAsync<ChgmResponse>(new ChgmRequest(bucket,key,mimeType,metaKey,metaValue,cond))七牛开发文档
资源移动/重命名qiniu.SendAsync<MoveResponse>(new MoveRequest(bucket,entryUriSrc,entryURIDest))七牛开发文档
资源复制qiniu.SendAsync<CopyResponse>(new CopyRequest(bucket,entryUriSrc,entryURIDest))七牛开发文档
资源删除qiniu.SendAsync<DeleteResponse>(new DeleteRequest(bucket,key))七牛开发文档
资源列举qiniu.SendAsync<ListResponse>(new ListRequest(bucket))七牛开发文档
批量操作qiniu.SendAsync<BatchResponse>(new BatchRequest(bucket,ops))七牛开发文档
直传文件``七牛开发文档
初始化上传任务qiniu.SendAsync<UploadIdResponse>(new UploadIdRequest(bucket,objectName))七牛开发文档
分块上传数据qiniu.SendAsync<UploadPartResponse>(new UploadPartRequest(bucket,objectName,uploadId,partNumber))七牛开发文档
完成文件上传qiniu.SendAsync<UploadCompleteResponse>(new UploadCompleteRequest(bucket,objectName,uploadId))七牛开发文档
终止上传qiniu.SendAsync<UploadAbortResponse>(new UploadAbortRequest(bucket,objectName,uploadId))七牛开发文档
列举已上传分片qiniu.SendAsync<UploadPartListResponse>(new UploadPartListRequest(bucket,objectName, uploadId,maxParts,partNumberMarker))七牛开发文档

数据统计接口

接口名称请求/响应官方文档
获取标准存储的存储量统计``七牛开发文档
获取标准存储的文件数量统计``七牛开发文档

获取上传token
qiniu.GetUploadToken($"{bucket}:{key}",DateTime.Now.AddMinutes(m));