{"base_path":"/","components":null,"consumes":"","definitions":{"RDMParamVOStatisticsPVO":{"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/StatisticsPVO","description":"**参数解释:**\n\n请求参数对象。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。"}},"required":["params"],"type":"object"},"StatisticsHistoryDataResp":{"properties":{"data":{"description":"**参数解释:**\n\n请求数据。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":[],"items":{"$ref":"#/definitions/StatisticsRVO"},"type":"array"},"errors":{"$ref":"#/definitions/errors"},"result":{"$ref":"#/definitions/result"}},"type":"object"},"StatisticsPVO":{"properties":{"endTime":{"description":"**参数解释:**\n\n结束时间。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"2023-12-02T03:03:07.695+0000","type":"string"},"startTime":{"description":"**参数解释:**\n\n开始时间。\n\n**约束限制:**\n\n不涉及。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":"2023-12-02T03:03:07.695+0000","type":"string"}},"required":["endTime","startTime"],"type":"object"},"StatisticsRVO":{"properties":{"createCount":{"description":"**参数解释:**\n\n新增统计记录数。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":1,"format":"int32","type":"integer"},"deleteCount":{"description":"**参数解释:**\n\n删除统计记录数。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":1,"format":"int32","type":"integer"},"logicalDeleteCount":{"description":"**参数解释:**\n\n软删除统计记录数。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":1,"format":"int32","type":"integer"},"updateCount":{"description":"**参数解释:**\n\n更新统计记录数。\n\n**取值范围:**\n\n不涉及。\n\n**默认取值:**\n\n不涉及。\n","example":1,"format":"int32","type":"integer"}},"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":"f68991b3fd484ee3937462be54b5a5b6","info_version":"v1","method":"post","name":"CollectHistoryData","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}/statisticsHistoryData":{"post":{"consumes":["application/json"],"description":"输入指定模型的统计时间区间(开始时间和结束时间),即可获取该模型的统计数据,包含创建实例、删除实例、软删除实例和更新实例的数据。在调用该接口前请确保数据模型具有“系统版本”功能。","operationId":"CollectHistoryData","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":"HistoryDataModel"},{"in":"body","name":"body","required":true,"schema":{"$ref":"#/definitions/RDMParamVOStatisticsPVO"}}],"produces":["application/json"],"responses":{"200":{"description":"OK","examples":{"application/json":{"data":[{"createCount":1,"deleteCount":0,"logicalDeleteCount":0,"updateCount":0}],"errors":[],"result":"SUCCESS"}},"schema":{"$ref":"#/definitions/StatisticsHistoryDataResp"}}},"summary":"获取模型的统计信息","tags":["系统版本"],"x-constraint":"功能列表勾选了系统版本的模型可以使用该接口。","x-is-registered":"Y","x-order":1,"x-request-examples-1":{"applicationId":"b3f9b7523a6141f4b2d76b92d6595281","params":{"endTime":"2024-03-15T11:25:28.000+0000","startTime":"2024-03-13T11:25:28.000+0000"}},"x-request-examples-text-1":{"applicationId":"b3f9b7523a6141f4b2d76b92d6595281","params":{"endTime":"2024-03-15T11:25:28.000+0000","startTime":"2024-03-13T11:25:28.000+0000"}},"x-request-examples-url-1":"POST https://dme.cn-north-4.huaweicloud.com/rdm_b3f9b7523a6141f4b2d76b92d6595281_app/publicservices/api/HistoryDataModel/statisticsHistoryData","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"}