獲取一條螞蟻區塊鏈相關證書下載地址(僅適用于阿里云國內站)。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

請求參數

名稱 類型 是否必選 示例值 描述
Action String DescribeAntChainDownloadPathsV2

系統規定參數。取值:DescribeAntChainDownloadPathsV2

RegionId String cn-hangzhou

地域ID,限制cn-hangzhou

AntChainId String 8bd720bde18c4b37b0f4a1c7834db163

區塊鏈ID

ConsortiumId String M8GaMEyX

聯盟ID

返回數據

名稱 類型 示例值 描述
HttpStatusCode String 200

請求返回碼

RequestId String D68D66B6-1964-4073-8714-B49F5EF1AEFC

請求ID

Success Boolean true

結果狀態

ResultMessage String OK

結果消息

Code String OK

返回碼

Message String OK

請求消息

ResultCode String OK

結果碼

Result Object

請求結果

SdkUrl String http://***

SDK下載鏈接

CaCrtUrl String http://***ca.crt

ca.crt下載鏈接

ClientCrtUrl String http://***client.crt

client.crt下載鏈接

TrustCaUrl String http://***trustCa

trust.CA下載鏈接

示例

請求示例

http(s)://[Endpoint]/?Action=DescribeAntChainDownloadPathsV2
&<公共請求參數>

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<RequestId>3213170D-59A5-44CE-8837-37313317690A</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Code>OK</Code>
<ResultCode>OK</ResultCode>
<Success>true</Success>
<Result>
    <SdkUrl>http://bestwisewords.com/document_detail/154544.html?spm=5176.11638311.0.0.75d54a924Ptnt9</SdkUrl>
    <TrustCaUrl>https://mychain-baas-oss.oss-cn-shanghai.aliyuncs.com/mvp_8bd720bde18c4b37b0f4a1c7834db163_mychain010/trustCa?Expires=1609989075&amp;OSSAccessKeyId=XXXXXXXXX&amp;Signature=13q9CULCT4kG%2FkJPTA%2Fn3GlYzLc%3D&amp;response-content-disposition=attachment%3B%20filename%3DtrustCa</TrustCaUrl>
    <CaCrtUrl>https://mychain-baas-oss.oss-cn-shanghai.aliyuncs.com/mvp_8bd720bde18c4b37b0f4a1c7834db163_mychain010/ca.crt?Expires=1609989075&amp;OSSAccessKeyId=XXXXXXXXX&amp;Signature=8drsyeYi8wQmiVvnLNZ2%2FnuYdRs%3D&amp;response-content-disposition=attachment%3B%20filename%3Dca.crt</CaCrtUrl>
    <ClientCrtUrl>https://mychain-baas-oss.oss-cn-shanghai.aliyuncs.com/aliyun_8bd720bde18c4b37b0f4a1c7834db163_mychain010/certificate/3a6bd8d8dec087aff737e3b92dfac034b35c63c87d3d226e0977f94679615df2.crt?Expires=1609989075&amp;OSSAccessKeyId=XXXXXXXXX&amp;Signature=rHkv2TBclPssp69kHmCVZ53OU0k%3D&amp;response-content-disposition=attachment%3B%20filename%3Dclient.crt</ClientCrtUrl>
</Result>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "3213170D-59A5-44CE-8837-37313317690A",
  "HttpStatusCode" : "200",
  "Code" : "OK",
  "ResultCode" : "OK",
  "Success" : true,
  "Result" : {
    "SdkUrl" : "http://bestwisewords.com/document_detail/154544.html?spm=5176.11638311.0.0.75d54a924Ptnt9",
    "TrustCaUrl" : "https://mychain-baas-oss.oss-cn-shanghai.aliyuncs.com/mvp_8bd720bde18c4b37b0f4a1c7834db163_mychain010/trustCa?Expires=1609989075&OSSAccessKeyId=XXXXXXXXX&Signature=13q9CULCT4kG%2FkJPTA%2Fn3GlYzLc%3D&response-content-disposition=attachment%3B%20filename%3DtrustCa",
    "CaCrtUrl" : "https://mychain-baas-oss.oss-cn-shanghai.aliyuncs.com/mvp_8bd720bde18c4b37b0f4a1c7834db163_mychain010/ca.crt?Expires=1609989075&OSSAccessKeyId=XXXXXXXXX&Signature=8drsyeYi8wQmiVvnLNZ2%2FnuYdRs%3D&response-content-disposition=attachment%3B%20filename%3Dca.crt",
    "ClientCrtUrl" : "https://mychain-baas-oss.oss-cn-shanghai.aliyuncs.com/aliyun_8bd720bde18c4b37b0f4a1c7834db163_mychain010/certificate/3a6bd8d8dec087aff737e3b92dfac034b35c63c87d3d226e0977f94679615df2.crt?Expires=1609989075&OSSAccessKeyId=XXXXXXXXX&Signature=rHkv2TBclPssp69kHmCVZ53OU0k%3D&response-content-disposition=attachment%3B%20filename%3Dclient.crt"
  }
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。