Compare commits

...

1 Commits

Author SHA1 Message Date
sdk-team
d5c4d3d92a Update ScreenChestCT. 2021-03-03 02:43:48 +00:00
21 changed files with 151 additions and 71 deletions

View File

@@ -1,3 +1,6 @@
2021-03-03 Version: patch
- Update ScreenChestCT.
2021-03-02 Version: patch
- Update default endpoints.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="imageprocess" visibility="Public" akProvenStatus="Disable" version="2020-03-20" keepClientResourceOwnerId="false" name="DetectCovid19Cad" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="success=false,code,errorMessage,httpCode"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="prod-key" timeout="10000" protocol="http" httpHost="http://viapi_shanghai_online/viapi/k8s/imageprocess#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sourceIp" tagName="SourceIp" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignatureSecretKey" tagName="IspSignatureSecretKey" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="version" tagName="Version" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="eagleEyeTraceId" tagName="eagleEyeTraceId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="signatureNonce" tagName="SignatureNonce" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="urlList" tagName="URLList" type="RepeatList" required="true" tagPosition="Body" checkRepeatListAll="false" maxNumber="600" invokeDataType="Json" visibility="Public"><Parameters><Parameter name="url" tagName="URL" type="String" required="true" checkRepeatListAll="false" checkBlank="false" visibility="Public"/></Parameters></Parameter><Parameter name="async" tagName="Async" type="Boolean" required="false" tagPosition="Body" docRequired="true" checkBlank="false" defaultValue="true" visibility="Private"/><Parameter name="ip" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="DataFormat" tagName="DataFormat" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="OrgName" tagName="OrgName" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="OrgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="1" apiDefault="3" /><PreIspProtocol sign="true" signKeyName="prod-key" timeout="10000" protocol="http" httpHost="http://viapi_shanghai_pre/viapi/k8s/imageprocess#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Struct tagName="Data" visibility="Public" name="data" nullToEmpty="false"><Member tagName="NewProbability" visibility="Public" type="String" name="NewProbability" nullToEmpty="false"/><Member tagName="NormalProbability" visibility="Public" type="String" name="NormalProbability"/><Member tagName="OtherProbability" visibility="Public" type="String" name="OtherProbability"/><Member tagName="LesionRatio" visibility="Public" type="String" name="LesionRatio"/><Member tagName="Mask" visibility="Public" type="String" name="Mask"/></Struct></ResultMapping></Api>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?xml version='1.0' encoding='UTF-8'?><Api fileTransfer="true" responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="imageprocess" visibility="Public" akProvenStatus="Disable" version="2020-03-20" keepClientResourceOwnerId="false" name="DetectSkinDisease" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping exceptionExpress="success=false,code,errorMessage,httpCode"><ErrorCodes><ErrorCode code="AuthFailed" errorCode="AuthFailed" type="user" httpCode="403" extendedErrorCode="" errorMessage="An error occurred while performing authorization. Please check your RAM configuration." /><ErrorCode code="ParameterError" errorCode="ParameterError" type="user" httpCode="400" extendedErrorCode="" errorMessage="The parameter is invalid. Please check again." /><ErrorCode code="ServiceUnavailable" errorCode="ServiceUnavailable" type="user" httpCode="503" extendedErrorCode="" errorMessage="The service is unavailable." /><ErrorCode code="Timeout" errorCode="Timeout" type="user" httpCode="408" extendedErrorCode="" errorMessage="The request has timed out." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="prod-key" timeout="10000" protocol="http" httpHost="http://viapi_shanghai_online/viapi/k8s/imageprocess#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sourceIp" tagName="SourceIp" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignatureSecretKey" tagName="IspSignatureSecretKey" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="version" tagName="Version" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="eagleEyeTraceId" tagName="eagleEyeTraceId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="signatureNonce" tagName="SignatureNonce" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ip" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="url" tagName="Url" type="String" required="true" fileOssUrl="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="orgName" tagName="OrgName" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="11" apiDefault="11" special="commonSpecials" /><PreIspProtocol sign="true" signKeyName="pre_key" timeout="10000" protocol="http" httpHost="http://viapi_shanghai_pre/viapi/k8s/imageprocess#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Struct tagName="Data" visibility="Public" name="data" nullToEmpty="false"><Member tagName="Results" visibility="Public" type="Map" name="results" nullToEmpty="false"/></Struct></ResultMapping></Api>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="imageprocess" controlPolicy="black_list" visibility="Public" akProvenStatus="Disable" version="2020-03-20" keepClientResourceOwnerId="false" name="GetAsyncJobResult" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="success=false,code,errorMessage,httpCode"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="prod-key" timeout="10000" protocol="http" httpHost="http://viapi_shanghai_online/viapi/k8s/imageprocess#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sourceIp" tagName="SourceIp" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignatureSecretKey" tagName="IspSignatureSecretKey" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="version" tagName="Version" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="eagleEyeTraceId" tagName="eagleEyeTraceId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="signatureNonce" tagName="SignatureNonce" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="async" tagName="Async" type="Boolean" required="false" tagPosition="Body" docRequired="true" checkBlank="false" defaultValue="true" visibility="Private"/><Parameter name="jobId" tagName="JobId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="1000" apiDefault="1000" /><PreIspProtocol sign="true" signKeyName="prod-key" timeout="10000" protocol="http" httpHost="http://viapi_shanghai_pre/viapi/k8s/imageprocess#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Struct tagName="Data" visibility="Public" name="data" nullToEmpty="false"><Member tagName="JobId" visibility="Public" type="String" name="jobId" nullToEmpty="false"/><Member tagName="Status" visibility="Public" type="String" name="status" nullToEmpty="false"/><Member tagName="Result" visibility="Public" type="String" name="result" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMessage" nullToEmpty="false"/></Struct></ResultMapping></Api>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="imageprocess" visibility="Public" akProvenStatus="Disable" version="2020-03-20" keepClientResourceOwnerId="false" name="RunMedQA" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping exceptionExpress="success=false,code,errorMessage,httpCode"><ErrorCodes><ErrorCode code="AuthFailed" errorCode="AuthFailed" type="user" httpCode="403" extendedErrorCode="" errorMessage="An error occurred while performing authorization. Please check your RAM configuration." /><ErrorCode code="ParameterError" errorCode="ParameterError" type="user" httpCode="400" extendedErrorCode="" errorMessage="The parameter is invalid. Please check again." /><ErrorCode code="ServiceUnavailable" errorCode="ServiceUnavailable" type="user" httpCode="503" extendedErrorCode="" errorMessage="The service is unavailable." /><ErrorCode code="Timeout" errorCode="Timeout" type="user" httpCode="408" extendedErrorCode="" errorMessage="The request has timed out." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="prod-key" timeout="10000" protocol="http" httpHost="http://viapi_shanghai_online/viapi/k8s/imageprocess#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sourceIp" tagName="SourceIp" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignatureSecretKey" tagName="IspSignatureSecretKey" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="version" tagName="Version" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="eagleEyeTraceId" tagName="eagleEyeTraceId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="signatureNonce" tagName="SignatureNonce" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ip" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="question" tagName="Question" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="orgId" tagName="OrgId" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="orgName" tagName="OrgName" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="2" apiDefault="2" special="commonSpecials" /><PreIspProtocol sign="true" signKeyName="pre_key" timeout="10000" protocol="http" httpHost="http://viapi_shanghai_pre/viapi/k8s/imageprocess#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Struct tagName="Data" visibility="Public" name="data" nullToEmpty="false"><Member tagName="Answer" visibility="Public" type="String" name="answer" nullToEmpty="false"/><List tagName="SimilarQuestion" visibility="Public" itemName="SimilarQuestion" name="similarQuestion" nullToEmpty="false" type="String"/></Struct></ResultMapping></Api>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="imageprocess" visibility="Public" akProvenStatus="Disable" version="2020-03-20" keepClientResourceOwnerId="false" name="TranslateMed" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping exceptionExpress="success=false,code,errorMessage,httpCode"><ErrorCodes><ErrorCode code="AuthFailed" errorCode="AuthFailed" type="user" httpCode="403" extendedErrorCode="" errorMessage="An error occurred while performing authorization. Please check your RAM configuration." /><ErrorCode code="ParameterError" errorCode="ParameterError" type="user" httpCode="400" extendedErrorCode="" errorMessage="The parameter is invalid. Please check again." /><ErrorCode code="ServiceUnavailable" errorCode="ServiceUnavailable" type="user" httpCode="503" extendedErrorCode="" errorMessage="The service is unavailable." /><ErrorCode code="Timeout" errorCode="Timeout" type="user" httpCode="408" extendedErrorCode="" errorMessage="The request has timed out." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="prod-key" timeout="10000" protocol="http" httpHost="http://viapi_shanghai_online/viapi/k8s/imageprocess#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sourceIp" tagName="SourceIp" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignatureSecretKey" tagName="IspSignatureSecretKey" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ispSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="action" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="version" tagName="Version" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="eagleEyeTraceId" tagName="eagleEyeTraceId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="signatureNonce" tagName="SignatureNonce" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="akMfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="securityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ip" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="fromLanguage" tagName="FromLanguage" type="String" required="true" fileOssUrl="false" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="toLanguage" tagName="ToLanguage" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="text" tagName="Text" type="String" required="true" tagPosition="Body" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="2" apiDefault="2" special="commonSpecials" /><PreIspProtocol sign="true" signKeyName="pre_key" timeout="10000" protocol="http" httpHost="http://viapi_shanghai_pre/viapi/k8s/imageprocess#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Struct tagName="Data" visibility="Public" name="data" nullToEmpty="false"><Member tagName="Text" visibility="Public" type="String" name="text" nullToEmpty="false"/><Member tagName="Words" visibility="Public" type="Long" name="words" nullToEmpty="false"/></Struct></ResultMapping></Api>

View File

@@ -40,6 +40,8 @@ namespace AlibabaCloud
ScreenChestCTRequest();
~ScreenChestCTRequest();
std::string getOrgName()const;
void setOrgName(const std::string& orgName);
std::string getDataFormat()const;
void setDataFormat(const std::string& dataFormat);
std::vector<URLList> getURLList()const;
@@ -48,15 +50,13 @@ namespace AlibabaCloud
void setOrgId(const std::string& orgId);
bool getAsync()const;
void setAsync(bool async);
std::string getOrgName()const;
void setOrgName(const std::string& orgName);
private:
std::string orgName_;
std::string dataFormat_;
std::vector<URLList> uRLList_;
std::string orgId_;
bool async_;
std::string orgName_;
};
}

View File

@@ -34,6 +34,19 @@ namespace AlibabaCloud
public:
struct Data
{
struct Covid
{
std::string newProbability;
std::string otherProbability;
std::string normalProbability;
std::string mask;
std::string lesionRatio;
};
struct CACS
{
std::string score;
std::string resultUrl;
};
struct LungNodule
{
struct Serie
@@ -42,13 +55,13 @@ namespace AlibabaCloud
{
float imageZ;
float imageY;
std::string lobe;
float imageX;
std::string lobe;
std::string category;
std::string lung;
float meanValue;
float confidence;
float volume;
float confidence;
float x;
float y;
float z;
@@ -63,34 +76,41 @@ namespace AlibabaCloud
};
std::vector<Serie> series;
};
struct CACS
struct DetectRibFracture
{
std::string score;
std::string resultUrl;
struct DetectionsItem
{
long fractureCategory;
float fractureConfidence;
std::vector<std::string> coordinateImage;
std::vector<std::string> coordinates;
long fractureId;
};
std::vector<std::string> origin1;
std::vector<std::string> spacing2;
std::vector<DetectionsItem> detections;
std::string resultURL;
};
struct Covid
{
std::string newProbability;
std::string otherProbability;
std::string normalProbability;
std::string mask;
std::string lesionRatio;
};
LungNodule lungNodule;
CACS cACS;
Covid covid;
CACS cACS;
LungNodule lungNodule;
DetectRibFracture detectRibFracture;
};
ScreenChestCTResult();
explicit ScreenChestCTResult(const std::string &payload);
~ScreenChestCTResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}

View File

@@ -27,6 +27,17 @@ ScreenChestCTRequest::ScreenChestCTRequest() :
ScreenChestCTRequest::~ScreenChestCTRequest()
{}
std::string ScreenChestCTRequest::getOrgName()const
{
return orgName_;
}
void ScreenChestCTRequest::setOrgName(const std::string& orgName)
{
orgName_ = orgName;
setBodyParameter("OrgName", orgName);
}
std::string ScreenChestCTRequest::getDataFormat()const
{
return dataFormat_;
@@ -75,14 +86,3 @@ void ScreenChestCTRequest::setAsync(bool async)
setBodyParameter("Async", async ? "true" : "false");
}
std::string ScreenChestCTRequest::getOrgName()const
{
return orgName_;
}
void ScreenChestCTRequest::setOrgName(const std::string& orgName)
{
orgName_ = orgName;
setBodyParameter("OrgName", orgName);
}

View File

@@ -40,47 +40,63 @@ void ScreenChestCTResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
auto covidNode = dataNode["Covid"];
if(!covidNode["NewProbability"].isNull())
data_.covid.newProbability = covidNode["NewProbability"].asString();
if(!covidNode["OtherProbability"].isNull())
data_.covid.otherProbability = covidNode["OtherProbability"].asString();
if(!covidNode["NormalProbability"].isNull())
data_.covid.normalProbability = covidNode["NormalProbability"].asString();
if(!covidNode["Mask"].isNull())
data_.covid.mask = covidNode["Mask"].asString();
if(!covidNode["LesionRatio"].isNull())
data_.covid.lesionRatio = covidNode["LesionRatio"].asString();
auto cACSNode = dataNode["CACS"];
if(!cACSNode["Score"].isNull())
data_.cACS.score = cACSNode["Score"].asString();
if(!cACSNode["ResultUrl"].isNull())
data_.cACS.resultUrl = cACSNode["ResultUrl"].asString();
auto lungNoduleNode = dataNode["LungNodule"];
auto allSeriesNode = lungNoduleNode["Series"]["Serie"];
for (auto lungNoduleNodeSeriesSerie : allSeriesNode)
{
Data::LungNodule::Serie serieObject;
if(!lungNoduleNodeSeriesSerie["SeriesInstanceUid"].isNull())
serieObject.seriesInstanceUid = lungNoduleNodeSeriesSerie["SeriesInstanceUid"].asString();
if(!lungNoduleNodeSeriesSerie["Report"].isNull())
serieObject.report = lungNoduleNodeSeriesSerie["Report"].asString();
if(!lungNoduleNodeSeriesSerie["SeriesInstanceUid"].isNull())
serieObject.seriesInstanceUid = lungNoduleNodeSeriesSerie["SeriesInstanceUid"].asString();
auto allElementsNode = lungNoduleNodeSeriesSerie["Elements"]["Element"];
for (auto lungNoduleNodeSeriesSerieElementsElement : allElementsNode)
{
Data::LungNodule::Serie::Element elementsObject;
if(!lungNoduleNodeSeriesSerieElementsElement["Category"].isNull())
elementsObject.category = lungNoduleNodeSeriesSerieElementsElement["Category"].asString();
if(!lungNoduleNodeSeriesSerieElementsElement["Confidence"].isNull())
elementsObject.confidence = std::stof(lungNoduleNodeSeriesSerieElementsElement["Confidence"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["Diameter"].isNull())
elementsObject.diameter = std::stof(lungNoduleNodeSeriesSerieElementsElement["Diameter"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["Lobe"].isNull())
elementsObject.lobe = lungNoduleNodeSeriesSerieElementsElement["Lobe"].asString();
if(!lungNoduleNodeSeriesSerieElementsElement["Lung"].isNull())
elementsObject.lung = lungNoduleNodeSeriesSerieElementsElement["Lung"].asString();
if(!lungNoduleNodeSeriesSerieElementsElement["X"].isNull())
elementsObject.x = std::stof(lungNoduleNodeSeriesSerieElementsElement["X"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["Z"].isNull())
elementsObject.z = std::stof(lungNoduleNodeSeriesSerieElementsElement["Z"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["Y"].isNull())
elementsObject.y = std::stof(lungNoduleNodeSeriesSerieElementsElement["Y"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["ImageX"].isNull())
elementsObject.imageX = std::stof(lungNoduleNodeSeriesSerieElementsElement["ImageX"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["ImageY"].isNull())
elementsObject.imageY = std::stof(lungNoduleNodeSeriesSerieElementsElement["ImageY"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["ImageZ"].isNull())
elementsObject.imageZ = std::stof(lungNoduleNodeSeriesSerieElementsElement["ImageZ"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["SOPInstanceUID"].isNull())
elementsObject.sOPInstanceUID = lungNoduleNodeSeriesSerieElementsElement["SOPInstanceUID"].asString();
if(!lungNoduleNodeSeriesSerieElementsElement["Volume"].isNull())
elementsObject.volume = std::stof(lungNoduleNodeSeriesSerieElementsElement["Volume"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["ImageY"].isNull())
elementsObject.imageY = std::stof(lungNoduleNodeSeriesSerieElementsElement["ImageY"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["ImageX"].isNull())
elementsObject.imageX = std::stof(lungNoduleNodeSeriesSerieElementsElement["ImageX"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["Lobe"].isNull())
elementsObject.lobe = lungNoduleNodeSeriesSerieElementsElement["Lobe"].asString();
if(!lungNoduleNodeSeriesSerieElementsElement["Category"].isNull())
elementsObject.category = lungNoduleNodeSeriesSerieElementsElement["Category"].asString();
if(!lungNoduleNodeSeriesSerieElementsElement["Lung"].isNull())
elementsObject.lung = lungNoduleNodeSeriesSerieElementsElement["Lung"].asString();
if(!lungNoduleNodeSeriesSerieElementsElement["MeanValue"].isNull())
elementsObject.meanValue = std::stof(lungNoduleNodeSeriesSerieElementsElement["MeanValue"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["Volume"].isNull())
elementsObject.volume = std::stof(lungNoduleNodeSeriesSerieElementsElement["Volume"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["Confidence"].isNull())
elementsObject.confidence = std::stof(lungNoduleNodeSeriesSerieElementsElement["Confidence"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["X"].isNull())
elementsObject.x = std::stof(lungNoduleNodeSeriesSerieElementsElement["X"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["Y"].isNull())
elementsObject.y = std::stof(lungNoduleNodeSeriesSerieElementsElement["Y"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["Z"].isNull())
elementsObject.z = std::stof(lungNoduleNodeSeriesSerieElementsElement["Z"].asString());
if(!lungNoduleNodeSeriesSerieElementsElement["SOPInstanceUID"].isNull())
elementsObject.sOPInstanceUID = lungNoduleNodeSeriesSerieElementsElement["SOPInstanceUID"].asString();
if(!lungNoduleNodeSeriesSerieElementsElement["Diameter"].isNull())
elementsObject.diameter = std::stof(lungNoduleNodeSeriesSerieElementsElement["Diameter"].asString());
serieObject.elements.push_back(elementsObject);
}
auto allOrigin = value["Origin"]["Origin"];
@@ -91,27 +107,52 @@ void ScreenChestCTResult::parse(const std::string &payload)
serieObject.spacing.push_back(value.asString());
data_.lungNodule.series.push_back(serieObject);
}
auto cACSNode = dataNode["CACS"];
if(!cACSNode["Score"].isNull())
data_.cACS.score = cACSNode["Score"].asString();
if(!cACSNode["ResultUrl"].isNull())
data_.cACS.resultUrl = cACSNode["ResultUrl"].asString();
auto covidNode = dataNode["Covid"];
if(!covidNode["NewProbability"].isNull())
data_.covid.newProbability = covidNode["NewProbability"].asString();
if(!covidNode["NormalProbability"].isNull())
data_.covid.normalProbability = covidNode["NormalProbability"].asString();
if(!covidNode["OtherProbability"].isNull())
data_.covid.otherProbability = covidNode["OtherProbability"].asString();
if(!covidNode["LesionRatio"].isNull())
data_.covid.lesionRatio = covidNode["LesionRatio"].asString();
if(!covidNode["Mask"].isNull())
data_.covid.mask = covidNode["Mask"].asString();
auto detectRibFractureNode = dataNode["DetectRibFracture"];
if(!detectRibFractureNode["ResultURL"].isNull())
data_.detectRibFracture.resultURL = detectRibFractureNode["ResultURL"].asString();
auto allDetectionsNode = detectRibFractureNode["Detections"]["DetectionsItem"];
for (auto detectRibFractureNodeDetectionsDetectionsItem : allDetectionsNode)
{
Data::DetectRibFracture::DetectionsItem detectionsItemObject;
if(!detectRibFractureNodeDetectionsDetectionsItem["FractureCategory"].isNull())
detectionsItemObject.fractureCategory = std::stol(detectRibFractureNodeDetectionsDetectionsItem["FractureCategory"].asString());
if(!detectRibFractureNodeDetectionsDetectionsItem["FractureConfidence"].isNull())
detectionsItemObject.fractureConfidence = std::stof(detectRibFractureNodeDetectionsDetectionsItem["FractureConfidence"].asString());
if(!detectRibFractureNodeDetectionsDetectionsItem["FractureId"].isNull())
detectionsItemObject.fractureId = std::stol(detectRibFractureNodeDetectionsDetectionsItem["FractureId"].asString());
auto allCoordinateImage = value["CoordinateImage"]["CoordinateImage"];
for (auto value : allCoordinateImage)
detectionsItemObject.coordinateImage.push_back(value.asString());
auto allCoordinates = value["Coordinates"]["Coordinates"];
for (auto value : allCoordinates)
detectionsItemObject.coordinates.push_back(value.asString());
data_.detectRibFracture.detections.push_back(detectionsItemObject);
}
auto allOrigin1 = detectRibFractureNode["Origin"]["Origin"];
for (auto value : allOrigin1)
data_.detectRibFracture.origin1.push_back(value.asString());
auto allSpacing2 = detectRibFractureNode["Spacing"]["Spacing"];
for (auto value : allSpacing2)
data_.detectRibFracture.spacing2.push_back(value.asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
}
std::string ScreenChestCTResult::getMessage()const
{
return message_;
}
ScreenChestCTResult::Data ScreenChestCTResult::getData()const
{
return data_;
}
std::string ScreenChestCTResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1 @@
<?xml version='1.0' encoding='UTF-8'?><Version product="imageprocess" apiStyle="RPC" name="2020-03-20" isolationType="outer"><ErrorMapping exceptionExpress=""><ErrorCodes /></ErrorMapping><Apis><Api name="DetectRibFracture" /><Api name="ScreenChestCT" /><Api name="DetectSkinDisease" /><Api name="RunMedQA" /><Api name="DetectKneeKeypointXRay" /><Api name="ClassifyFNF" /><Api name="RunCTRegistration" /><Api name="DetectHipKeypointXRay" /><Api name="CalcCACS" /><Api name="DetectKneeXRay" /><Api name="DetectSpineMRI" /><Api name="TranslateMed" /><Api name="DetectLungNodule" /><Api name="DetectCovid19Cad" /><Api name="GetAsyncJobResult" /></Apis></Version>