|
|
@@ -1,6501 +0,0 @@
|
|
|
-{
|
|
|
- "jaxrs": [
|
|
|
- {
|
|
|
- "name": "Attachment2Action",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.Attachment2Action",
|
|
|
- "description": "附件操作",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "checkFileExist",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionCheckFileExist",
|
|
|
- "description": "根据文件的md5值查找附件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/exist/file/{fileMd5}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "fileMd5",
|
|
|
- "type": "String",
|
|
|
- "description": "附件md5值"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "delete",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionDelete",
|
|
|
- "description": "删除附件.",
|
|
|
- "type": "DELETE",
|
|
|
- "path": "jaxrs/attachment2/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "download",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionDownload",
|
|
|
- "description": "获取附件内容,输出头信息",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/{id}/download",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "downloadImageWidthHeight",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionDownloadImageWidthHeight",
|
|
|
- "description": "下载图片设定宽高后的(png格式).width(0-5000)像素,0代表不限制,height(0-5000)像素,0代表不限制.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/{id}/download/image/width/{width}/height/{height}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "width",
|
|
|
- "type": "Integer",
|
|
|
- "description": "宽度"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "height",
|
|
|
- "type": "Integer",
|
|
|
- "description": "高度"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "downloadStream",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionDownloadStream",
|
|
|
- "description": "获取附件内容.不输出头信息",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/{id}/download/stream",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionGet",
|
|
|
- "description": "获取指定人员共享给我的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "type",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属目录."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "originFile",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "真实文件id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "getBase64",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionGetBase64",
|
|
|
- "description": "获取文件Base64编码后的内容.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/{id}/binary/base64",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "getImageScaleBase64",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionGetImageScaleBase64",
|
|
|
- "description": "获取图片缩放后的base64内容(png格式).scale(0-200)百分比缩放比例.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/{id}/image/scale/{scale}/binary/base64",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "scale",
|
|
|
- "type": "Integer",
|
|
|
- "description": "缩放比例"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "getImageWidthHeightBase64",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionGetImageWidthHeightBase64",
|
|
|
- "description": "获取图片设定宽高后的base64内容(png格式).width(0-5000)像素,0代表不限制,height(0-5000)像素,0代表不限制.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/{id}/image/width/{width}/height/{height}/binary/base64",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "width",
|
|
|
- "type": "Integer",
|
|
|
- "description": "宽度"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "height",
|
|
|
- "type": "Integer",
|
|
|
- "description": "高度"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "getUseCapacity",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionUseCapacity",
|
|
|
- "description": "获取当前用户或指定用户(管理员权限)使用容量.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/user/capacity",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "description": "查询用户"
|
|
|
- }
|
|
|
- ],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "长整型值"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listFileTypePaging",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionListFileTypePaging",
|
|
|
- "description": "按附件类型分页显示.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/attachment2/list/type/{page}/size/{size}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "page",
|
|
|
- "type": "Integer",
|
|
|
- "description": "分页"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "size",
|
|
|
- "type": "Integer",
|
|
|
- "description": "数量"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件分类:图片(image)|文档(office)|音乐(music)|视频(movie)|其它(other)",
|
|
|
- "isBaseType": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "type",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属目录."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "originFile",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "真实文件id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listTop",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionListTop",
|
|
|
- "description": "获取当前人员的顶层文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/list/top",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "type",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属目录."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "originFile",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "真实文件id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listWithEditor",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionListWithEditor",
|
|
|
- "description": "获取指定人员共享给我编辑的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/list/editor/{owner}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "owner",
|
|
|
- "type": "String",
|
|
|
- "description": "文件所有人"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "editorList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "可编辑人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listWithFilter",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionListWithFilter",
|
|
|
- "description": "根据文件名称查找当前用户的附件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/list/filter/{name}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "description": "目录标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "type",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属目录."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "originFile",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "真实文件id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listWithFolder",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionListWithFolder",
|
|
|
- "description": "获取当前人员在指定文件夹下的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/list/folder/{folderId}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "folderId",
|
|
|
- "type": "String",
|
|
|
- "description": "目录标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "type",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属目录."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "originFile",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "真实文件id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listWithShare",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionListWithShare",
|
|
|
- "description": "获取指定人员共享给我的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/list/share/{owner}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "owner",
|
|
|
- "type": "String",
|
|
|
- "description": "文件所有人"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "editorList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "可编辑人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "officePreview",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionOfficePreview",
|
|
|
- "description": "预览文件,输出html或pdf文件头信息,支持word、ppt、excel、pdf类型文件",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment2/{id}/office/preview/type/{type}",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "type",
|
|
|
- "type": "String",
|
|
|
- "description": "输出文件类型:html|pdf"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "postDownload",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionDownload",
|
|
|
- "description": "获取附件内容,输出头信息,,使用POST方法访问.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/attachment2/{id}/download",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": true,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "postDownloadStream",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionDownloadStream",
|
|
|
- "description": "获取附件内容.不输出头信息,使用POST方法访问.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/attachment2/{id}/download/stream",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": true,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "update",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionUpdate",
|
|
|
- "description": "更新Attachment",
|
|
|
- "type": "PUT",
|
|
|
- "path": "jaxrs/attachment2/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属目录.",
|
|
|
- "isBaseType": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "upload",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionUpload",
|
|
|
- "description": "创建Attachment的内容",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/attachment2/upload/folder/{folderId}",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "folderId",
|
|
|
- "type": "String",
|
|
|
- "description": "目录"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileMd5",
|
|
|
- "type": "String",
|
|
|
- "description": "附件md5值"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileName",
|
|
|
- "type": "String",
|
|
|
- "description": "附件名称"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "uploadCallback",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment2.ActionUploadCallback",
|
|
|
- "description": "创建Attachment的内容并返回回调.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/attachment2/upload/folder/{folderId}/callback/{callback}",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "text/html; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "folderId",
|
|
|
- "type": "String",
|
|
|
- "description": "目录"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "callback",
|
|
|
- "type": "String",
|
|
|
- "description": "回调函数名"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileMd5",
|
|
|
- "type": "String",
|
|
|
- "description": "附件md5值"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileName",
|
|
|
- "type": "String",
|
|
|
- "description": "附件名称"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "callbackName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "回调函数名"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "AttachmentAction",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.AttachmentAction",
|
|
|
- "description": "附件操作",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "delete",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionDelete",
|
|
|
- "description": "删除附件.",
|
|
|
- "type": "DELETE",
|
|
|
- "path": "jaxrs/attachment/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "download",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionDownload",
|
|
|
- "description": "获取附件内容,输出头信息",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment/{id}/download",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "downloadStream",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionDownloadStream",
|
|
|
- "description": "获取附件内容.不输出头信息",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment/{id}/download/stream",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionGet",
|
|
|
- "description": "获取指定人员共享给我的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "editorList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "可编辑人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "getBase64",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionGetBase64",
|
|
|
- "description": "获取文件Base64编码后的内容.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment/{id}/binary/base64",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "getImageScaleBase64",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionGetImageScaleBase64",
|
|
|
- "description": "获取图片缩放后的base64内容(png格式).scale(0-200)百分比缩放比例.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment/{id}/image/scale/{scale}/binary/base64",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "scale",
|
|
|
- "type": "Integer",
|
|
|
- "description": "缩放比例"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "getImageWidthHeightBase64",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionGetImageWidthHeightBase64",
|
|
|
- "description": "获取图片设定宽高后的base64内容(png格式).width(0-5000)像素,0代表不限制,height(0-5000)像素,0代表不限制.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment/{id}/image/width/{width}/height/{height}/binary/base64",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "width",
|
|
|
- "type": "Integer",
|
|
|
- "description": "宽度"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "height",
|
|
|
- "type": "Integer",
|
|
|
- "description": "高度"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listTop",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionListTop",
|
|
|
- "description": "获取当前人员的顶层文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment/list/top",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "editorList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "可编辑人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listWithEditor",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionListWithEditor",
|
|
|
- "description": "获取指定人员共享给我编辑的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment/list/editor/{owner}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "owner",
|
|
|
- "type": "String",
|
|
|
- "description": "文件所有人"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "editorList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "可编辑人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listWithFolder",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionListWithFolder",
|
|
|
- "description": "获取当前人员在指定文件夹下的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment/list/folder/{folderId}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "folderId",
|
|
|
- "type": "String",
|
|
|
- "description": "目录标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "editorList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "可编辑人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listWithShare",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionListWithShare",
|
|
|
- "description": "获取指定人员共享给我的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/attachment/list/share/{owner}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "owner",
|
|
|
- "type": "String",
|
|
|
- "description": "文件所有人"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "editorList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "可编辑人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "postDownload",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionDownload",
|
|
|
- "description": "获取附件内容,输出头信息,,使用POST方法访问.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/attachment/{id}/download",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": true,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "postDownloadStream",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionDownloadStream",
|
|
|
- "description": "获取附件内容.不输出头信息,使用POST方法访问.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/attachment/{id}/download/stream",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": true,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "update",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionUpdate",
|
|
|
- "description": "更新Attachment",
|
|
|
- "type": "PUT",
|
|
|
- "path": "jaxrs/attachment/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "editorList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "可编辑人员",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类.",
|
|
|
- "isBaseType": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateContent",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionUpdateContent",
|
|
|
- "description": "更新Attachment的内容",
|
|
|
- "type": "PUT",
|
|
|
- "path": "jaxrs/attachment/{id}/update",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateContentCallback",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionUpdateContentCallback",
|
|
|
- "description": "更新Attachment的内容并返回回调.,使用callback方式,为了与前台兼容使用POST方法",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/attachment/{id}/update/callback/{callback}",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "text/html; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "callback",
|
|
|
- "type": "String",
|
|
|
- "description": "回调函数名"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "callbackName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "回调函数名"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "upload",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionUpload",
|
|
|
- "description": "创建Attachment的内容",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/attachment/upload/folder/{folderId}",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "folderId",
|
|
|
- "type": "String",
|
|
|
- "description": "目录"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileName",
|
|
|
- "type": "String",
|
|
|
- "description": "附件名称"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "uploadCallback",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.attachment.ActionUploadCallback",
|
|
|
- "description": "创建Attachment的内容并返回回调.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/attachment/upload/folder/{folderId}/callback/{callback}",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "text/html; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "folderId",
|
|
|
- "type": "String",
|
|
|
- "description": "目录"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "callback",
|
|
|
- "type": "String",
|
|
|
- "description": "回调函数名"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileName",
|
|
|
- "type": "String",
|
|
|
- "description": "附件名称"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "callbackName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "回调函数名"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "CacheAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.cache.CacheAction",
|
|
|
- "description": "缓存操作",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "configFlush",
|
|
|
- "className": "com.x.base.core.project.jaxrs.cache.ActionConfigFlush",
|
|
|
- "description": "接收config flush 信号.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/cache/config/flush",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "receive",
|
|
|
- "className": "com.x.base.core.project.jaxrs.cache.ActionReceive",
|
|
|
- "description": "接收Cache刷新信息.",
|
|
|
- "type": "PUT",
|
|
|
- "path": "jaxrs/cache",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "nodeName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "节点名",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "className",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类名",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "keys",
|
|
|
- "type": "List\u003cObject\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "关键字",
|
|
|
- "isBaseType": false
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "ComplexAction",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.complex.ComplexAction",
|
|
|
- "description": "复合操作",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "getTop",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.complex.ActionTop",
|
|
|
- "description": "获取指定个人的顶层文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/complex/top",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": []
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "getWithFolderSubDirect",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.complex.ActionFolder",
|
|
|
- "description": "获取个人在指定分类下的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/complex/folder/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "文件夹标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": []
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "EchoAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.echo.EchoAction",
|
|
|
- "description": "响应",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.base.core.project.jaxrs.echo.ActionGet",
|
|
|
- "description": "获取应答.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/echo",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "servletContextName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上下文根"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "serverTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "服务器时间"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "EditorAction",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.editor.EditorAction",
|
|
|
- "description": "编辑",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "list",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.editor.ActionList",
|
|
|
- "description": "获取他人共享给我编辑的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/editor/list",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "值"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "count",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数量"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "FileAction",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.FileAction",
|
|
|
- "description": "File操作",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "copy",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionCopy",
|
|
|
- "description": "将Attachment的附件复制到File中,关联到referenceType和reference.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/copy/attachment/{attachmentId}/referencetype/{referenceType}/reference/{reference}/scale/{scale}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "attachmentId",
|
|
|
- "type": "String",
|
|
|
- "description": "Attachment标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "String",
|
|
|
- "description": "参考类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "description": "参考"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "scale",
|
|
|
- "type": "Integer",
|
|
|
- "description": "缩放"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "delete",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionDelete",
|
|
|
- "description": "根据referenceType和reference删除File.",
|
|
|
- "type": "DELETE",
|
|
|
- "path": "jaxrs/file/referencetype/{referenceType}/reference/{reference}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "String",
|
|
|
- "description": "参考类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "description": "参考"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "download",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionDownload",
|
|
|
- "description": "下载文件,输出contentType头.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/{id}/download",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "文件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "downloadStream",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionDownloadStream",
|
|
|
- "description": "下载文件,以附件方式,不输出contentType头.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/{id}/download/stream",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "文件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionGet",
|
|
|
- "description": "获取指定File.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "ReferenceType",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联类型."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联ID."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastNotExistedTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listNext",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionListNext",
|
|
|
- "description": "列示当前用户下的所有File,下一页.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/list/{id}/next/{count}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "count",
|
|
|
- "type": "Integer",
|
|
|
- "description": "数量"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "rank",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "排序号"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "ReferenceType",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联类型."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联ID."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastNotExistedTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listNextAll",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionListNextAll",
|
|
|
- "description": "列示所有File,下一页.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/list/{id}/next/{count}/all",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "count",
|
|
|
- "type": "Integer",
|
|
|
- "description": "数量"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "rank",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "排序号"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "ReferenceType",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联类型."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联ID."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastNotExistedTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listNextWithReferenceType",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionListNextWithReferenceType",
|
|
|
- "description": "列示当前用户指定referenceType下的所有File,下一页.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/list/{id}/next/{count}/referencetype/{referenceType}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "count",
|
|
|
- "type": "Integer",
|
|
|
- "description": "数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "ReferenceType",
|
|
|
- "description": "参考类型"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "rank",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "排序号"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "ReferenceType",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联类型."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联ID."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastNotExistedTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listPrev",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionListPrev",
|
|
|
- "description": "列示当前用户下的所有File,上一页.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/list/{id}/prev/{count}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "count",
|
|
|
- "type": "Integer",
|
|
|
- "description": "数量"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "rank",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "排序号"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "ReferenceType",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联类型."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联ID."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastNotExistedTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listPrevAll",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionListPrevAll",
|
|
|
- "description": "列示有File,上一页.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/list/{id}/prev/{count}/all",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "count",
|
|
|
- "type": "Integer",
|
|
|
- "description": "数量"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "rank",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "排序号"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "ReferenceType",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联类型."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联ID."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastNotExistedTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listPrevWithReferenceType",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionListPrevWithReferenceType",
|
|
|
- "description": "列示当前用户指定referenceType下的所有File,上一页.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/list/{id}/prev/{count}/referencetype/{referenceType}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "count",
|
|
|
- "type": "Integer",
|
|
|
- "description": "数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "ReferenceType",
|
|
|
- "description": "参考类型"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "rank",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "排序号"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "ReferenceType",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联类型."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联ID."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastNotExistedTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listReference",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionListReferenceType",
|
|
|
- "description": "列示当前用户的ReferenceType.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/list/referencetype",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "值"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "count",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数量"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listWithReferenceTypeWithReference",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionListWithReferenceTypeWithReference",
|
|
|
- "description": "根据指定的referenceType和reference列示所有的File.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/file/list/referencetype/{referenceType}/reference/{reference}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "String",
|
|
|
- "description": "参考类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "description": "参考"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "rank",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "排序号"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "ReferenceType",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联类型."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "关联ID."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "storage",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "存储器的名称,也就是多个存放节点的名字."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastNotExistedTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "deepPath",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "是否使用更深的路径."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "postDownload",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionDownload",
|
|
|
- "description": "下载文件,输出contentType头,使用POST方法访问.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/file/{id}/download",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": true,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "文件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "postDownloadStream",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionDownloadStream",
|
|
|
- "description": "下载文件,以附件方式,不输出contentType头,使用POST方法访问.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/file/{id}/download/stream",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": true,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "文件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "upload",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionUpload",
|
|
|
- "description": "上传文件,并进行压缩,如果文件大小小于指定宽度或者宽度\u003c0,则不进行压缩.",
|
|
|
- "type": "PUT",
|
|
|
- "path": "jaxrs/file/upload/referencetype/{referenceType}/reference/{reference}/scale/{scale}",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "String",
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "description": "关联id"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "scale",
|
|
|
- "type": "Integer",
|
|
|
- "description": "缩放"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "uploadCallback",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionUploadCallback",
|
|
|
- "description": "创建Attachment的内容并返回回调.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/file/upload/referencetype/{referenceType}/reference/{reference}/scale/{scale}/callback/{callback}",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "text/html; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "String",
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "description": "关联id"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "scale",
|
|
|
- "type": "Integer",
|
|
|
- "description": "缩放"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "callback",
|
|
|
- "type": "String",
|
|
|
- "description": "回调函数名"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "callbackName",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "回调函数名"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "uploadPostOctetStream",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.file.ActionUploadOctetStream",
|
|
|
- "description": "上传文件,并进行压缩,如果文件大小小于指定宽度或者宽度\u003c0,则不进行压缩.为了兼容前台增加的POST方法.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/file/upload/referencetype/{referenceType}/reference/{reference}/scale/{scale}",
|
|
|
- "contentType": "application/octet-stream",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "referenceType",
|
|
|
- "type": "String",
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "reference",
|
|
|
- "type": "String",
|
|
|
- "description": "关联id"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "scale",
|
|
|
- "type": "Integer",
|
|
|
- "description": "缩放"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "FireScheduleAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.fireschedule.FireScheduleAction",
|
|
|
- "description": "触发任务",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "execute",
|
|
|
- "className": "com.x.base.core.project.jaxrs.fireschedule.ActionExecute",
|
|
|
- "description": "接受x_program_center发送过来的运行schedule.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/fireschedule/classname/{className}",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "className",
|
|
|
- "type": "String",
|
|
|
- "description": "运行类"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "Folder2Action",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder2.Folder2Action",
|
|
|
- "description": "目录",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "batchDownload",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder2.ActionBatchDownload",
|
|
|
- "description": "打包所有指定的附件或目录下的附件,输出头信息",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/folder2/batch/download",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [
|
|
|
- {
|
|
|
- "name": "attIds",
|
|
|
- "type": "List",
|
|
|
- "description": "附件ID列表"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folderIds",
|
|
|
- "type": "List",
|
|
|
- "description": "目录ID列表"
|
|
|
- }
|
|
|
- ],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "create",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder2.ActionCreate",
|
|
|
- "description": "创建文件夹.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/folder2",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间",
|
|
|
- "isBaseType": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "delete",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder2.ActionDelete",
|
|
|
- "description": "删除分类,同时删除所有下属的文件和文件夹.",
|
|
|
- "type": "DELETE",
|
|
|
- "path": "jaxrs/folder2/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "download",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder2.ActionDownload",
|
|
|
- "description": "获取文件夹所有附件并打包为zip,输出头信息",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/folder2/{id}/download",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "附件标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder2.ActionGet",
|
|
|
- "description": "获取文件夹对象。只能由Folder的所有者进行操作,并返回文件夹的下文件的数量和总字节。",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/folder2/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "attachmentCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "附件数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "size",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节数"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folderCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "目录数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listTop",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder2.ActionListTop",
|
|
|
- "description": "获取当前人员顶层文件夹。",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/folder2/list/top",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "attachmentCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "附件数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "size",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节数"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folderCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "目录数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listWithFolder",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder2.ActionListWithFolder",
|
|
|
- "description": "获取当前人员指定文件夹下的直属文件夹。",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/folder2/list/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "attachmentCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "附件数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "size",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节数"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folderCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "目录数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "put",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder2.ActionUpdate",
|
|
|
- "description": "更新文件夹,不能重名",
|
|
|
- "type": "PUT",
|
|
|
- "path": "jaxrs/folder2/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间",
|
|
|
- "isBaseType": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "FolderAction",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder.FolderAction",
|
|
|
- "description": "目录",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "create",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder.ActionCreate",
|
|
|
- "description": "创建文件夹.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/folder",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。",
|
|
|
- "isBaseType": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "delete",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder.ActionDelete",
|
|
|
- "description": "删除分类,同时删除所有下属的文件和文件夹.",
|
|
|
- "type": "DELETE",
|
|
|
- "path": "jaxrs/folder/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder.ActionGet",
|
|
|
- "description": "获取文件夹对象。只能由Folder的所有者进行操作,并返回文件夹的下文件的数量和总字节。",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/folder/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "attachmentCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "附件数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "size",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节数"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folderCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "目录数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listTop",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder.ActionListTop",
|
|
|
- "description": "获取当前人员顶层文件夹。",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/folder/list/top",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "attachmentCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "附件数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "size",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节数"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folderCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "目录数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listWithFolder",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder.ActionListWithFolder",
|
|
|
- "description": "获取当前人员指定文件夹下的直属文件夹。",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/folder/list/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "attachmentCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "附件数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "size",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节数"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folderCount",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "目录数量"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "put",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.folder.ActionUpdate",
|
|
|
- "description": "更新文件夹,不能重名",
|
|
|
- "type": "PUT",
|
|
|
- "path": "jaxrs/folder/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。",
|
|
|
- "isBaseType": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "LoggerAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.LoggerAction",
|
|
|
- "description": "日志操作",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "debug",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionDebug",
|
|
|
- "description": "设置日志级别为DEBUG.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/debug",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionGet",
|
|
|
- "description": "获取当前日志级别.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字符串值"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "info",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionInfo",
|
|
|
- "description": "设置日志级别为INFO",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/info",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "trace",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionTrace",
|
|
|
- "description": "设置日志级别为TRACE.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/trace",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "warn",
|
|
|
- "className": "com.x.base.core.project.jaxrs.logger.ActionWarn",
|
|
|
- "description": "设置日志级别为WARN",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/logger/warn",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "RecycleAction",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.recycle.RecycleAction",
|
|
|
- "description": "回收站",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "delete",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.recycle.ActionDelete",
|
|
|
- "description": "删除回收站的文件.",
|
|
|
- "type": "DELETE",
|
|
|
- "path": "jaxrs/recycle/{id}/delete",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "empty",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.recycle.ActionEmpty",
|
|
|
- "description": "清空回收站的文件.",
|
|
|
- "type": "DELETE",
|
|
|
- "path": "jaxrs/recycle/empty",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.recycle.ActionGet",
|
|
|
- "description": "获取回收站的文件对象。",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/recycle/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "删除的文件或目录名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件或目录id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "删除的文件类型:文件(attachment)|目录(folder)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "validTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "保存到时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "list",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.recycle.ActionList",
|
|
|
- "description": "获取回收站所有文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/recycle/list",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "删除的文件或目录名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件或目录id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "删除的文件类型:文件(attachment)|目录(folder)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "validTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "保存到时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "resume",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.recycle.ActionResume",
|
|
|
- "description": "从回收站恢复数据",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/recycle/{id}/resume",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "共享文件ID"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "ShareAction",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ShareAction",
|
|
|
- "description": "共享",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "create",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionCreate",
|
|
|
- "description": "分享文件.",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/share",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件或目录名称.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件或目录id.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder).",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享类型:密码分享(password)|指定分享个人或组织(member).",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "password",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享密码.",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "validTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "有效时间",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareOrgList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享组织",
|
|
|
- "isBaseType": true
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shieldUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "屏蔽人员",
|
|
|
- "isBaseType": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "delete",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionDelete",
|
|
|
- "description": "删除分享的文件.",
|
|
|
- "type": "DELETE",
|
|
|
- "path": "jaxrs/share/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "download",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionDownload",
|
|
|
- "description": "获取附件内容,输出头信息.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/download/share/{shareId}/file/{fileId}",
|
|
|
- "contentType": "application/json",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "shareId",
|
|
|
- "type": "String",
|
|
|
- "description": "共享文件ID"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "description": "转存附件ID"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [
|
|
|
- {
|
|
|
- "name": "password",
|
|
|
- "type": "String",
|
|
|
- "description": "共享密码"
|
|
|
- }
|
|
|
- ],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentDisposition",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "说明"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "bytes",
|
|
|
- "type": "byte[]",
|
|
|
- "isCollection": false,
|
|
|
- "description": "字节内容."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "get",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionGet",
|
|
|
- "description": "获取分享的文件对象。",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [
|
|
|
- {
|
|
|
- "name": "password",
|
|
|
- "type": "String",
|
|
|
- "description": "共享密码"
|
|
|
- }
|
|
|
- ],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件或目录名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件或目录id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享类型:密码分享(password)|指定分享个人或组织(member)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "password",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享密码."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "validTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "有效时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareOrgList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享组织"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shieldUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "屏蔽人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "getWithPassword",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionGetWithPassword",
|
|
|
- "description": "根据密码获取分享的文件对象。",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/{id}/password/{password}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "标识"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "password",
|
|
|
- "type": "String",
|
|
|
- "description": "共享密码"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件或目录名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件或目录id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享类型:密码分享(password)|指定分享个人或组织(member)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "password",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享密码."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "validTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "有效时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareOrgList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享组织"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shieldUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "屏蔽人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listAttWithFolder",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionListAttWithFolder",
|
|
|
- "description": "获取共享文件指定文件夹下的附件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/list/att/share/{shareId}/folder/{folderId}/",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "shareId",
|
|
|
- "type": "String",
|
|
|
- "description": "共享文件ID"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folderId",
|
|
|
- "type": "String",
|
|
|
- "description": "目录ID"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "type",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属分类."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folder",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件所属目录."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "originFile",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "真实文件id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdatePerson",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listFolderWithFolder",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionListFolderWithFolder",
|
|
|
- "description": "获取共享文件指定文件夹下的直属文件夹.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/list/folder/share/{shareId}/folder/{folderId}/",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "shareId",
|
|
|
- "type": "String",
|
|
|
- "description": "共享文件ID"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folderId",
|
|
|
- "type": "String",
|
|
|
- "description": "目录ID"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分类名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "superior",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "上级分类ID,为空代表顶级分类。"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "status",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件状态:正常|已删除"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listMyShare",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionListMyShare",
|
|
|
- "description": "获取我共享的文件QueryParam.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/list/my",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [
|
|
|
- {
|
|
|
- "name": "shareType",
|
|
|
- "type": "String",
|
|
|
- "description": "分享类型:密码分享(password)|指定分享(member)"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder)"
|
|
|
- }
|
|
|
- ],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件或目录名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件或目录id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享类型:密码分享(password)|指定分享个人或组织(member)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "validTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "有效时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareOrgList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享组织"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shieldUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "屏蔽人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listMyShare2",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionListMyShare",
|
|
|
- "description": "获取我共享的文件2.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/list/my2/{shareType}/{fileType}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "shareType",
|
|
|
- "type": "String",
|
|
|
- "description": "分享类型:密码分享(password)|指定分享(member)|全部({0})"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder)|全部({0})"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件或目录名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件或目录id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享类型:密码分享(password)|指定分享个人或组织(member)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "validTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "有效时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareOrgList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享组织"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shieldUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "屏蔽人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listShare",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionList",
|
|
|
- "description": "获取他人共享给我的文件V1.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/list",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "名称"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "值"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "count",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数量"
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listShareToMe",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionListShareToMe",
|
|
|
- "description": "获取他人共享给我的文件.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/list/to/me",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder)"
|
|
|
- }
|
|
|
- ],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件或目录名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件或目录id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享类型:密码分享(password)|指定分享个人或组织(member)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "validTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "有效时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareOrgList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享组织"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shieldUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "屏蔽人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "listShareToMe2",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionListShareToMe",
|
|
|
- "description": "获取他人共享给我的文件2.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/list/to/me2/{fileType}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder)|全部({0})"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "contentType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件类型"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "数据库主键,自动生成."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "person",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "所属用户."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "name",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件或目录名称."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件或目录id."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享的文件类型:文件(attachment)|目录(folder)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "extension",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "扩展名,必须要有扩展名的文件才允许上传."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "length",
|
|
|
- "type": "Long",
|
|
|
- "isCollection": false,
|
|
|
- "description": "文件大小."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareType",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "分享类型:密码分享(password)|指定分享个人或组织(member)."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "validTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "有效时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "lastUpdateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "最后更新时间"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shareOrgList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "共享组织"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shieldUserList",
|
|
|
- "type": "List\u003cString\u003e",
|
|
|
- "isCollection": true,
|
|
|
- "description": "屏蔽人员"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "createTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "创建时间,自动生成,索引创建在约束中."
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "updateTime",
|
|
|
- "type": "Date",
|
|
|
- "isCollection": false,
|
|
|
- "description": "修改时间,自动生成,索引创建在约束中."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "saveToFolder",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionSaveToFolder",
|
|
|
- "description": "保存到网盘",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/share/share/{shareId}/file/{fileId}/folder/{folderId}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "shareId",
|
|
|
- "type": "String",
|
|
|
- "description": "共享文件ID"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileId",
|
|
|
- "type": "String",
|
|
|
- "description": "转存文件ID"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "folderId",
|
|
|
- "type": "String",
|
|
|
- "description": "转存目录ID"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "password",
|
|
|
- "type": "String",
|
|
|
- "description": "共享密码"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "shield",
|
|
|
- "className": "com.x.file.assemble.control.jaxrs.share.ActionShield",
|
|
|
- "description": "屏蔽共享给我的文件",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/share/shield/{id}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "description": "共享文件ID"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "id",
|
|
|
- "type": "String",
|
|
|
- "isCollection": false,
|
|
|
- "description": "id"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "SysResourceAction",
|
|
|
- "className": "com.x.base.core.project.jaxrs.sysresource.SysResourceAction",
|
|
|
- "description": "系统资源",
|
|
|
- "methods": [
|
|
|
- {
|
|
|
- "name": "listResource",
|
|
|
- "className": "com.x.base.core.project.jaxrs.sysresource.ActionListResource",
|
|
|
- "description": "获取静态资源信息.",
|
|
|
- "type": "GET",
|
|
|
- "path": "jaxrs/sysresource/filePath/{filePath}",
|
|
|
- "contentType": "application/json",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": false,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "filePath",
|
|
|
- "type": "String",
|
|
|
- "description": "查找路径(根路径:(0))"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": []
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "uploadResource",
|
|
|
- "className": "com.x.base.core.project.jaxrs.sysresource.ActionUploadResource",
|
|
|
- "description": "上传静态资源(仅上传到当前服务器)",
|
|
|
- "type": "POST",
|
|
|
- "path": "jaxrs/sysresource/upload/resource/as/new/{asNew}",
|
|
|
- "contentType": "multipart/form-data",
|
|
|
- "resultContentType": "application/json; charset\u003dUTF-8",
|
|
|
- "useJsonElementParameter": false,
|
|
|
- "useStringParameter": true,
|
|
|
- "pathParameters": [
|
|
|
- {
|
|
|
- "name": "asNew",
|
|
|
- "type": "Boolean",
|
|
|
- "description": "覆盖类型:true删除原文件然后上传,false覆盖原文件"
|
|
|
- }
|
|
|
- ],
|
|
|
- "formParameters": [
|
|
|
- {
|
|
|
- "name": "file",
|
|
|
- "type": "File",
|
|
|
- "description": "上传文件"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "fileName",
|
|
|
- "type": "String",
|
|
|
- "description": "附件名称"
|
|
|
- },
|
|
|
- {
|
|
|
- "name": "filePath",
|
|
|
- "type": "String",
|
|
|
- "description": "附件存放目录(可以为空)"
|
|
|
- }
|
|
|
- ],
|
|
|
- "queryParameters": [],
|
|
|
- "ins": [],
|
|
|
- "outs": [
|
|
|
- {
|
|
|
- "name": "value",
|
|
|
- "type": "Boolean",
|
|
|
- "isCollection": false,
|
|
|
- "description": "布尔值."
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
-}
|