You can call this operation to apply for the certificate to access a blockchain in Ant Blockchain by uploading the TLS certificate signing request (CSR).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
AntChainId String Yes bDXK6boZ

The ID of the blockchain that you want to access.

UploadReq String Yes LS0tLS1...

The TLS CSR to be uploaded from the local device.

Action String No ApplyAntChainCertificate

The operation that you want to perform. Set the value to ApplyAntChainCertificate.

RegionId String No cn-hangzhou

The ID of the region where Ant Blockchain is used.

Response parameters

Parameter Type Example Description
RequestId String D3FB9E67-0E31-4B8B-8895-3660CCE8CA62

The ID of the request.

Result String success

The result of the operation.

Examples

Sample requests


http(s)://[Endpoint]/? Action=ApplyAntChainCertificate
&<Common request parameters>

Sample success responses

JSON format

{
	"successResponse":true,
	"requestId":"D3FB9E67-0E31-4B8B-8895-3660CCE8CA62",
	"data":{
		"Result":"success",
		"RequestId":"D3FB9E67-0E31-4B8B-8895-3660CCE8CA62"
	},
	"code":"200"
}

Error codes

For a list of error codes, visit the API Error Center.