You can call this operation to download the SDK.

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
Action String Yes DownloadFabricOrganizationSDK

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

OrganizationId String Yes peers-aaaaaa2-1eqnj5o5w****

The ID of the organization.

Username String Yes username

The name of the user.

Location String No cn-hangzhou

The location.

RegionId String No cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
ErrorCode Integer 200

The error code.

RequestId String 1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

The ID of the API request.

Result

The result list of the operation.

Content String base64string

Base64 encoded files can only be decoded with base64 algorithms.

Path String dir/file

The path of the decompressed file.

Success Boolean true

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DownloadFabricOrganizationSDK
&OrganizationId=peers-aaaaaa2-1eqnj5o5w****
&Username=username
&<Common request parameters>

Successful response examples

XML format

<DownloadFabricOrganizationSDKResponse>
	  <Result>
		    <Content>base64string</Content>
		    <Path>dir/file</Path>
	  </Result>
	  <RequestId>7D27692E-C501-4B1D-878C-0B869DD3D9E6</RequestId>
	  <Success>true</Success>
	  <ErrorCode>200</ErrorCode>
</DownloadFabricOrganizationSDKResponse>

JSON format

{
	"Result":{
		"Content":"base64string",
		"Path":"dir/file"
	},
	"RequestId":"7D27692E-C501-4B1D-878C-0B869DD3D9E6",
	"ErrorCode":200,
	"Success":true
}

Error codes

For more information about error codes, see Error codes.