{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"ExportDesignModelsResult":{"description":"Success,导出接口结果。","example":{"data":{"uuid":"fd653968-864b-45f6-9842-2b125d2dbfb9"}},"properties":{"data":{"description":"返回的数据信息。","properties":{"uuid":{"description":"导入接口返回的唯一标识。","example":"fd653968-864b-45f6-9842-2b125d2dbfb8","type":"string"}},"type":"object"}},"type":"object"},"ExportParam":{"example":{"asyn":false,"biz_catalog_id":1160236484595425282,"biz_catalog_id_list":[1160236484595425283,1160236484595425284],"directory_id":1160236484595425280,"ids":[1160236484595425279,1160236484595425281],"model_id":1160236484595425285,"type":"TABLE_MODEL"},"properties":{"asyn":{"description":"是否是异步操作导出,true:异步,false:同步。","type":"boolean"},"biz_catalog_id":{"description":"所属业务分层的ID,填写String类型替代Long类型。","type":"string"},"biz_catalog_id_list":{"description":"所属的业务分层的ID列表。","items":{"description":"所属业务分层的ID,填写String类型替代Long类型。","type":"string"},"minItems":1,"type":"array"},"directory_id":{"description":"所属目录ID,填写String类型替代Long类型。","type":"string"},"ids":{"description":"导出对象ID的列表,如:某几个逻辑模型的ID,填写String类型替代Long类型。","items":{"type":"string"},"type":"array","uniqueItems":true},"model_id":{"description":"所属关系建模的模型ID,导出关系模型需要此参数,填写String类型替代Long类型。","type":"string"},"type":{"description":"导出的业务类型:ER(关系建模),Directory_CodeTable(码表目录),Directory_Standard(标准目录),DIM(维度建模),codeTable(码表);dataStandard 数据标准;directory_id导出指定目录下的码表/数据标准;model_id,biz_catalog_id导出指定模型,目录下的业务表,import_bizcatalog导出流程架构,import_bizmetric导出业务指标。","type":"string"}},"type":"object"}},"description":null,"group_id":"23bb69798aaf409da161a43a90617121","host":"dayu.cn-north-4.myhuaweicloud.com","id":"2059ae3d1a8042bfa811d2dcbb07607b","info_version":"v1","method":"post","name":"ExportDesignModels","parameters":{"contextTypeParam":{"description":"默认值:application/json;charset=UTF-8\n可选,有Body体的情况下必选,没有Body体则无需填写和校验。","in":"header","maxLength":64,"minLength":3,"name":"Content-Type","required":false,"type":"string"},"tenantIdParam":{"description":"项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。","in":"path","maxLength":64,"minLength":3,"name":"project_id","required":true,"type":"string"},"tenantXIdParam":{"description":"项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。\n\n多project场景采用AK/SK认证的接口请求,则该字段必选。","in":"header","maxLength":64,"minLength":3,"name":"X-Project-Id","required":false,"type":"string"},"tokenParam":{"description":"IAM Token,通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)\n使用Token认证时必选。","in":"header","maxLength":4096,"minLength":0,"name":"X-Auth-Token","required":true,"type":"string"},"workspaceParam":{"description":"工作空间ID,获取方法请参见[实例ID和工作空间ID](dataartsstudio_02_0350.xml)。","in":"header","maxLength":64,"minLength":3,"name":"workspace","required":true,"type":"string"}},"paths":{"/v2/{project_id}/design/export-model":{"post":{"description":"根据请求参数,导出业务数据,可以导出:码表、数据标准、原子指标、衍生指标、复合指标、汇总表、业务指标、主题、流程、逻辑模型、物理模型、维度、事实表。","operationId":"ExportDesignModels","parameters":[{"$ref":"#/parameters/tokenParam"},{"$ref":"#/parameters/workspaceParam"},{"$ref":"#/parameters/tenantIdParam"},{"$ref":"#/parameters/tenantXIdParam"},{"$ref":"#/parameters/contextTypeParam"},{"description":"导出参数。","in":"body","name":"ExportDesignModelsRequestBody","required":true,"schema":{"$ref":"#/definitions/ExportParam"}}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ExportDesignModelsResult"}},"400":{"$ref":"#/responses/400"},"401":{"$ref":"#/responses/401"},"403":{"$ref":"#/responses/403"}},"summary":"导出业务数据","tags":["导入导出接口"],"x-api-type":"doc-open","x-is-registered":"Y","x-request-examples-1":{"asyn":"true","ids":["1226583503525818368","1217121407599800322"],"model_id":"1213499006739791872","type":"ER"},"x-request-examples-description-1":"导出关系建模中,模型ID为1213499006739791872,表ID为1226583503525818368、1217121407599800322的业务数据。","x-request-examples-url-1":"POST https://{endpoint}/v2/{project_id}/design/export-model","x-support-sdk":"Y"}}},"product_short":"DataArtsStudio","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"导出业务数据","tags":"导入导出接口","uri":null,"version":"2.0"}