You can call this operation to query the download URLs of certificate files for a blockchain in Ant Blockchain.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
AntChainId | String | Yes | 1q8B5R9p |
The ID of the blockchain whose certificate download URLs are to be queried. |
Action | String | No | DescribeAntChainDownloadPaths |
The operation that you want to perform. Set the value to DescribeAntChainDownloadPaths. |
RegionId | String | No | cn-hangzhou |
The ID of the region where Ant Blockchain is used. |
Response parameters
Parameter | Type | Example | Description |
RequestId | String | E6F487D4-8606-41B5-B289-46D5EFBD3417 |
The ID of the request. |
Result |
The result of the operation. |
||
CaCrtUrl | String | http://***ca.crt |
The URL used to download the ca.crt file. |
ClientCrtUrl | String | http://***client.crt |
The URL used to download the client.crt file. |
SdkUrl | String | http://*** |
The URL used to download the SDK. |
TrustCaUrl | String | http://***trustCa |
The URL used to download the trustCA file. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeAntChainDownloadPaths
&<Common request parameters>
Sample success responses
JSON
format
{
"successResponse":true,
"requestId":"E6F487D4-8606-41B5-B289-46D5EFBD3417",
"data":{
"Result":{
"SdkUrl":"http://***",
"TrustCaUrl":"http://***trustCa",
"CaCrtUrl":"http://***a.crt",
"ClientCrtUrl":"http://***client.crt"
},
"RequestId":"E6F487D4-8606-41B5-B289-46D5EFBD3417"
},
"code":"200"
}
Error codes
For a list of error codes, visit the API Error Center.