调用DownloadFabricOrganizationSDK下载SDK。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
| 
                                     名称  | 
                                
                                     类型  | 
                                
                                     是否必选  | 
                                
                                     示例值  | 
                                
                                     描述  | 
                            
| Action | String | 是 | DownloadFabricOrganizationSDK | 系统规定参数。取值:DownloadFabricOrganizationSDK。  | 
        
| OrganizationId | String | 是 | peers-aaaaaa2-1eqnj5o5w**** | 组织ID  | 
        
| Username | String | 是 | username | 用户名  | 
        
| Location | String | 否 | cn-hangzhou | 位置  | 
        
返回数据
名称  | 
                                类型  | 
                                示例值  | 
                                描述  | 
                            
| RequestId | String | 1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3 | 请求ID  | 
| Success | Boolean | true | 是否成功  | 
| ErrorCode | Integer | 200 | 错误码  | 
| Result | Array of Result | ||
| Path | String | dir/file | 文件解压后的路径  | 
| Content | String | base64string | base64转码过的文件内容,需要用base64解码才能得到文件原内容  | 
示例
请求示例
http(s)://[Endpoint]/?Action=DownloadFabricOrganizationSDK
&OrganizationId=peers-aaaaaa2-1eqnj5o5w****
&Username=username
&Location=cn-hangzhou
&公共请求参数
                                正常返回示例
XML格式
HTTP/1.1 200 OK
Content-Type:application/xml
<DownloadFabricOrganizationSDKResponse>
    <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
    <Success>true</Success>
    <ErrorCode>200</ErrorCode>
    <Result>
        <Path>dir/file</Path>
        <Content>base64string</Content>
    </Result>
</DownloadFabricOrganizationSDKResponse>
                                        JSON格式
HTTP/1.1 200 OK
Content-Type:application/json
{
  "RequestId" : "1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
  "Success" : true,
  "ErrorCode" : 200,
  "Result" : [ {
    "Path" : "dir/file",
    "Content" : "base64string"
  } ]
}
                    错误码
访问错误中心查看更多错误码。
该文章对您有帮助吗?