{"base_path":"/","components":null,"consumes":"","definitions":{"BasicObjectQueryViewDTO":{"properties":{"className":{"description":"**参数解释:**\n\n类名。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"createTime":{"description":"**参数解释:**\n\n创建时间。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"creator":{"description":"**参数解释:**\n\n创建者。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"id":{"description":"**参数解释:**\n\n唯一标识。\n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"lastUpdateTime":{"description":"**参数解释:**\n\n最后的修改时间。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"modifier":{"description":"**参数解释:**\n\n修改人。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"rdmExtensionType":{"description":"**参数解释:**\n\n扩展类型。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"tenant":{"$ref":"#/definitions/TenantViewDTO","description":"**参数解释:**\n\n租户信息。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n"}},"type":"object"},"PageInfoViewDTO":{"properties":{"curPage":{"description":"**参数解释:**\n\n当前页。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":1,"type":"integer"},"pageSize":{"description":"**参数解释:**\n\n每页大小。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":1000,"type":"integer"},"totalPages":{"description":"**参数解释:**\n\n总页数。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":1,"type":"integer"},"totalRows":{"description":"**参数解释:**\n\n总行数。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":1,"type":"integer"}},"type":"object"},"PersistObjectIdDTO":{"properties":{"id":{"description":"**参数解释:**\n\n数据实例ID。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","example":"616949021809840128","type":"string"}},"required":["id"],"type":"object"},"QueryRelatedObjectsResp":{"properties":{"data":{"description":"**参数解释:**\n\n请求数据。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":[],"items":{"$ref":"#/definitions/BasicObjectQueryViewDTO"},"type":"array"},"errors":{"$ref":"#/definitions/errors"},"pageInfo":{"$ref":"#/definitions/PageInfoViewDTO","description":"**参数解释:**\n\n分页信息。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"object"},"result":{"$ref":"#/definitions/result"}},"type":"object"},"RDMParamVOPersistObjectIdDTO":{"properties":{"applicationId":{"description":"**参数解释**:\n\n应用ID。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n由英文字母和数字组成,且长度为32个字符。\n\n**默认取值**:\n\n不涉及。","example":"b3f9b7523a6141f4b2d76b92d6595281","type":"string"},"params":{"$ref":"#/definitions/PersistObjectIdDTO","description":"**参数解释:**\n\n请求参数对象。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。"}},"required":["params"],"type":"object"},"TenantViewDTO":{"properties":{"className":{"description":"**参数解释:**\n\n类名。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"Tenant","type":"string"},"code":{"description":"**参数解释:**\n\n租户编码。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"basicTenant","type":"string"},"createTime":{"description":"**参数解释:**\n\n创建时间。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"2023-12-02T03:03:07.695+0000","type":"string"},"creator":{"description":"**参数解释:**\n\n创建者。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"test1","type":"string"},"dataSource":{"description":"**参数解释:**\n\n租户使用的数据源名称。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"DefaultDataSource","type":"string"},"description":{"description":"**参数解释:**\n\n描述信息。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"默认租户","type":"string"},"disableFlag":{"description":"**参数解释:**\n\n失效标识。 \n\n**取值范围:**\n\n- true:失效。 \n- false:未失效。\n\n**默认取值:**\n\nfalse。\n","example":false,"type":"boolean"},"id":{"description":"**参数解释:**\n\n唯一标识。 \n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","example":"-1","type":"string"},"kiaguid":{"description":"**参数解释:**\n\nKIA密级。 \n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"lastUpdateTime":{"description":"**参数解释:**\n\n最后更新时间。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","type":"string"},"modifier":{"description":"**参数解释:**\n\n修改人。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"test1","type":"string"},"name":{"description":"**参数解释:**\n\n中文名称。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"basicTenant","type":"string"},"rdmDeleteFlag":{"description":"**参数解释:**\n\n软删除标识。\n\n**取值范围:**\n\n- 0:表示未删除。\n- 1:表示已删除。\n\n**默认取值:**\n\n0。\n","example":0,"format":"int32","type":"integer"},"rdmExtensionType":{"description":"**参数解释:**\n\n扩展类型。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"Tenant","type":"string"},"rdmVersion":{"description":"**参数解释:**\n\n系统版本。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":1,"format":"int32","type":"integer"},"securityLevel":{"description":"**参数解释:**\n\n安全密级。\n\n**取值范围:**\n\n- INTERNAL:内部公开。\n- SECRET:秘密。\n- CONFIDENTIAL:机密。\n- TOP_SECRET:绝密。\n\n**默认取值:**\n\n不涉及。\n","example":"INTERNAL","type":"string"},"tenant":{"$ref":"#/definitions/TenantViewDTO","description":"**参数解释:**\n\n租户信息。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n"}},"required":["code","dataSource"],"type":"object"},"errors":{"description":"**参数解释:**\n\n异常信息。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":[],"items":{"type":"string"},"type":"array"},"result":{"description":"**参数解释:**\n\n请求结果。\n\n**取值范围:**\n\n- SUCCESS:请求成功。\n- FAIL:请求失败。\n\n**默认取值:**\n\n不涉及。\n","example":"SUCCESS","type":"string"}},"description":null,"group_id":"ab5eda63b51647d6a950ceef4eccd859","host":"dme.cn-north-4.huaweicloud.com","id":"367a3fc92eed45278ad60913a5c18c58","info_version":"v1","method":"post","name":"ShowGetRoot","parameters":{"X-Auth-Token":{"description":"**参数解释:**\n\nIAM用户的token。\n\n获取方法请参见[获取IAM用户Token](https://support.huaweicloud.com/api-iam/iam_30_0001.html)。\n\n**约束限制:** \n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:** \n\n不涉及。\n","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXX..."},"identifier":{"description":"**参数解释:**\n\n应用唯一标识。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n由英文字母和数字组成,且长度为32个字符。\n\n**默认取值:**\n\n不涉及。\n","in":"path","name":"identifier","required":true,"type":"string","x-example":"b3f9b7523a6141f4b2d76b92d6595281"}},"paths":{"/rdm_{identifier}_app/publicservices/api/{modelName}/getRoot":{"post":{"consumes":["application/json"],"description":"调用该接口获取指定数据实例的根节点。在调用该接口前请确保数据模型具有“树形结构”功能。","operationId":"ShowGetRoot","parameters":[{"$ref":"#/parameters/X-Auth-Token"},{"$ref":"#/parameters/identifier"},{"description":"**参数解释:**\n\n数据模型的英文名称。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n大写字母开头,只能包含字母、数字、“_”,且长度为[1-60]个字符。\n\n**默认取值:**\n\n不涉及。\n","in":"path","name":"modelName","required":true,"type":"string","x-example":"TreeableModel"},{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/RDMParamVOPersistObjectIdDTO"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","examples":{"application/json":{"data":[{"className":"TreeableModel","createTime":"2024-04-03T02:54:57.413+0000","creator":"xdmAdmin","id":"616948972547739648","lastUpdateTime":"2024-04-03T02:54:57.413+0000","modifier":"xdmAdmin","rdmExtensionType":"TreeableModel","tenant":{"className":"Tenant","code":"basicTenant","createTime":"2023-12-01T01:25:21.000+0000","creator":"xdmAdmin","dataSource":"DefaultDataSource","description":"默认租户","disableFlag":false,"id":"-1","lastUpdateTime":"2023-12-01T01:25:21.000+0000","modifier":"xdmAdmin","name":"basicTenant","rdmExtensionType":"Tenant","tenant":null}}],"errors":[],"result":"SUCCESS"}},"schema":{"$ref":"#/definitions/QueryRelatedObjectsResp"}}},"summary":"获取根节点","tags":["树形结构"],"x-constraint":"功能列表勾选了树形结构的模型可以使用该接口。","x-is-registered":"Y","x-request-examples-1":{"params":{"id":"616949021809840128"}},"x-request-examples-text-1":{"params":{"id":"616949021809840128"}},"x-request-examples-url-1":"POST https://dme.cn-north-4.huaweicloud.com/rdm_b3f9b7523a6141f4b2d76b92d6595281_app/publicservices/api/TreeableModel/getRoot","x-support-sdk":"Y","x-version":"v1"}}},"product_short":"iDMEClassicAPI","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"获取根节点","tags":"树形结构","uri":null,"version":"2.0"}