日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

InstallFabricChaincode

更新時(shí)間:

調(diào)用InstallFabricChaincode安裝鏈碼。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。

請(qǐng)求參數(shù)

名稱

類型

是否必選

示例值

描述

Action String InstallFabricChaincode

系統(tǒng)規(guī)定參數(shù)。取值:InstallFabricChaincode

OrganizationId String peers-aaaaaa2-1eqnj5o5w9dt3

組織ID

ChaincodeId String chan-channelx-1l1hmckuuisxo

鏈碼ID

Location String cn-hangzhou

位置

返回?cái)?shù)據(jù)

名稱

類型

示例值

描述

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

請(qǐng)求ID

Success Boolean true

是否成功

ErrorCode Integer 200

錯(cuò)誤碼

Result Object

結(jié)果

Type Integer 1

類型:

  • 0:未定義
  • 1:Go
  • 2:Node
  • 4:Java
EndorsePolicy String OR ("perf9141MSP.member")

背書策略

State String Pending

狀態(tài)

CreateTime String 1533025590

創(chuàng)建時(shí)間

ChaincodeId String cc-198jejf8f8chi8

鏈碼ID

ProviderName String prividername

上傳者

Message String ok

信息

ChaincodeName String mychannel

鏈碼名稱

Input String input

輸入

Install Boolean false

是否安裝

ProviderId String providerid

上傳者ID

DeployTime String 1533025590

部署時(shí)間

ChaincodeVersion String 1.0

鏈碼版本

ConsortiumId String consortium-lianmenyumingyi-hc5d1bwlulg7

聯(lián)盟ID

ChannelName String mychannel

通道名

Path String github.com/hyperledger/fabric-samples/chaincode/sacc

路徑

示例

請(qǐng)求示例

http(s)://[Endpoint]/?Action=InstallFabricChaincode
&OrganizationId=peers-aaaaaa2-1eqnj5o5w9dt3
&ChaincodeId=chan-channelx-1l1hmckuuisxo
&Location=cn-hangzhou
&公共請(qǐng)求參數(shù)

正常返回示例

XML格式

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

<InstallFabricChaincodeResponse>
    <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
    <Success>true</Success>
    <ErrorCode>200</ErrorCode>
    <Result>
        <Type>1</Type>
        <EndorsePolicy>OR ("perf9141MSP.member")</EndorsePolicy>
        <State>Pending</State>
        <CreateTime>1533025590</CreateTime>
        <ChaincodeId>cc-198jejf8f8chi8</ChaincodeId>
        <ProviderName>prividername</ProviderName>
        <Message>ok</Message>
        <ChaincodeName>mychannel</ChaincodeName>
        <Input>input</Input>
        <Install>false</Install>
        <ProviderId>providerid</ProviderId>
        <DeployTime>1533025590</DeployTime>
        <ChaincodeVersion>1.0</ChaincodeVersion>
        <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwlulg7</ConsortiumId>
        <ChannelName>mychannel</ChannelName>
        <Path>github.com/hyperledger/fabric-samples/chaincode/sacc</Path>
    </Result>
</InstallFabricChaincodeResponse>

JSON格式

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

{
  "RequestId" : "1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
  "Success" : true,
  "ErrorCode" : 200,
  "Result" : {
    "Type" : 1,
    "EndorsePolicy" : "OR (\"perf9141MSP.member\")",
    "State" : "Pending",
    "CreateTime" : "1533025590",
    "ChaincodeId" : "cc-198jejf8f8chi8",
    "ProviderName" : "prividername",
    "Message" : "ok",
    "ChaincodeName" : "mychannel",
    "Input" : "input",
    "Install" : false,
    "ProviderId" : "providerid",
    "DeployTime" : "1533025590",
    "ChaincodeVersion" : "1.0",
    "ConsortiumId" : "consortium-lianmenyumingyi-hc5d1bwlulg7",
    "ChannelName" : "mychannel",
    "Path" : "github.com/hyperledger/fabric-samples/chaincode/sacc"
  }
}

錯(cuò)誤碼

訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。