{"base_path":"/","components":null,"consumes":"","definitions":{"RDMParamVOVersionModelVersionMasterModifierDTO":{"properties":{"applicationId":{"description":"**参数解释**:\n\n应用ID。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n由英文字母和数字组成,且长度为32个字符。\n\n**默认取值**:\n\n不涉及。","example":"04219627d6794f37ae26e8aba250415d","type":"string"},"params":{"$ref":"#/definitions/VersionModelVersionMasterModifierDTO","description":"**参数解释:**\n\n请求参数对象。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。"}},"required":["params"],"type":"object"},"VersionModelDeleteViewDTOResp":{"properties":{"data":{"description":"**参数解释:**\n\n请求数据。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","items":{"format":"int32","type":"integer"},"type":"array"},"errors":{"$ref":"#/definitions/errors"},"result":{"$ref":"#/definitions/result"}},"type":"object"},"VersionModelVersionMasterModifierDTO":{"properties":{"masterId":{"description":"**参数解释:**\n\n父模型ID。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n-9223372036854775808到9223372036854775807的整数。\n\n**默认取值:**\n\n不涉及。\n","example":"602425926667476992","type":"string"},"modifier":{"description":"**参数解释:**\n\n修改人。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"test1","type":"string"},"version":{"description":"**参数解释:**\n\n版本对象。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"A","type":"string"}},"required":["masterId"],"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":"fc1c06a8ce00422db73cd41dae85dd36","info_version":"v1","method":"post","name":"DeleteBranch","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":"04219627d6794f37ae26e8aba250415d"}},"paths":{"/rdm_{identifier}_app/publicservices/api/{modelName}/deleteBranch":{"post":{"consumes":["application/json"],"description":"根据父模型ID和版本对象,删除最新大版本下的所有小版本。请您谨慎使用删除操作,删除后该数据将无法恢复。","operationId":"DeleteBranch","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":"VersionModel"},{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/RDMParamVOVersionModelVersionMasterModifierDTO"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","examples":{"application/json":{"data":[1],"errors":[],"result":"SUCCESS"}},"schema":{"$ref":"#/definitions/VersionModelDeleteViewDTOResp"}}},"summary":"删除最新大版本下的所有小版本","tags":["版本服务"],"x-constraint":"仅MV模型可以使用该接口。","x-is-registered":"Y","x-order":25,"x-request-examples-1":{"applicationId":"04219627d6794f37ae26e8aba250415d","params":{"masterId":602425926667476992,"modifier":"test1","version":"A"}},"x-request-examples-text-1":{"applicationId":"04219627d6794f37ae26e8aba250415d","params":{"masterId":602425926667476992,"modifier":"test1","version":"A"}},"x-request-examples-url-1":"POST https://dme.cn-north-4.huaweicloud.com/rdm_04219627d6794f37ae26e8aba250415d_app/publicservices/api/VersionModel/deleteBranch","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"}