DANA
  1. 数据资产-资产中心
DANA
  • DS迭代
    • DS5.6
      • jobmanager
        • 列举任务
        • 指标卡数据
      • 元数据-元数据开发-分层管理
        • 列举分层
      • 元数据-元数据开发-编目管理
        • 列举文件夹
        • 删除文件夹
        • 新增/编辑文件夹
      • 元数据-元数据开发-表管理
        • 表模型管理表详情
        • 表模型管理列举表信息
      • 元数据-规范中心-标准管理
        • 列举编目
        • 列举标准
      • 元数据-规范中心-脱敏规则
        • 列举脱敏规则
      • 元数据-敏感管理
        • 敏感等级-列举
        • 敏感识别规则列举
      • 任务运维-实时运维
        • 4.6实时任务运维-实时任务列表
      • 任务运维-周期运维-周期作业
        • 列举周期作业
      • 数据资产-资产概览
        • 获取分层数据总览
      • 数据资产-资产中心
        • 列举文件夹
          POST
        • 资产中心列举表v2
          POST
      • 数据资产-问题数据
        • 模糊搜索问题数据表信息。
      • 数据共享-发布管理-服务监控
        • 列举服务监控列表
      • 数据服务-服务管理
        • 服务列举接口
      • 文件夹管理
        • 文件夹列举
  1. 数据资产-资产中心

列举文件夹

POST
/metadata/devcenter/listdir
默认分层编目如下:
{
  "code": 200,
  "result": [
    {
      "id": "AXJhziuprz6wEAeDoztm",
      "number": 1,
      "order": "ODS",
      "count": 0,
      "name": "开发层",
      "parentname": "",
      "parentid": "",
      "modified": "2020-06-02 15:36:09",
      "created": "2020-06-02 15:36:09",
      "projectname": "Demo",
      "isfourth": false,
        "islower":false
    },
    {
      "id": "AXJhziuprz6wEAeDoztd",
      "number": 2,
      "order": "DWD",
      "count": 0,
      "name": "主题层",
      "parentname": "",
      "parentid": "",
      "modified": "2020-06-02 15:36:09",
      "created": "2020-06-02 15:36:09",
      "projectname": "Demo",
      "isfourth": false,
        "islower":false
    },{
      "id": "AXJhziuprz6wEAeDoztm",
      "number": 3,
      "order": "DM",
      "count": 0,
      "name": "服务层",
      "parentname": "",
      "parentid": "",
      "modified": "2020-06-02 15:36:09",
      "created": "2020-06-02 15:36:09",
      "projectname": "Demo",
      "isfourth": false,
      "islower":false
    }
  ]
}

请求参数

Header 参数
Content-Type
string 
必需
示例值:
application/json
Body 参数application/json
projectid
string 
所属项目标识
必需
dirtype
string 
必需
标识文件夹类型,目前有编目、标签、标准三种,对应值:catalog、tagdir、standarddir
示例
{
  "projectid": "string",
  "dirtype": "string"
}

返回响应

🟢200成功
application/json
Body
code
integer 
必需
状态码200/10001/10003
result
array [object {13}] 
文件夹列表
必需
id
string 
文件夹id
必需
dirtype
string 
必需
标识文件夹类型,目前有编目、标签、标准三种,对应值:catalog、tagdir、standarddir
parentid
string 
上一级文件夹id
必需
parentname
string 
上一级文件夹名称
必需
name
string 
文件夹名称
必需
count
integer 
文件夹包含文件个数
必需
order
string 
编目编号
必需
number
integer 
必需
文件夹实际编号,用于确定相对位置
isfourth
boolean 
是否是第四级文件夹
必需
islower
string 
是否最底层文件夹
必需
projectid
string 
所属项目标识
必需
created
string 
创建时间
必需
modified
string 
修改时间
必需
示例
{
  "code": 0,
  "result": [
    {
      "id": "string",
      "dirtype": "string",
      "parentid": "string",
      "parentname": "string",
      "name": "string",
      "count": 0,
      "order": "string",
      "number": 0,
      "isfourth": true,
      "islower": "string",
      "projectid": "string",
      "created": "string",
      "modified": "string"
    }
  ]
}
修改于 2024-09-25 08:37:21
上一页
获取分层数据总览
下一页
资产中心列举表v2
Built with